297 reputation
113
bio website
location Norway
age
visits member for 2 years, 10 months
seen Mar 27 at 18:09

Dec
1
comment FreeBSD restore of /rescue
After some researching, it looks like this could be solved with rsync and its -H flag to preserve hardlinks. Any comments to this?
Feb
14
comment “route add default -iface em1” in rc.conf on FreeBSD
Thanks for the defaultroute_delay-tip! I'll check that one out.
Feb
1
comment “route add default -iface em1” in rc.conf on FreeBSD
@pauska Really?! em0 is considered as default before em1? Sounds like a tempting, easy answer to this nuisance. Anyways, I'd like to know if there's a solution without switching roles of the two NICs.
Dec
27
comment How to access a server via serial port?
@artaxerxe Glad to help! Happy holidays! :-)
Dec
27
comment How to access a server via serial port?
@artaxerxe I can't think of anything that's "based" on the root password, but this is nonetheless an approach for repairing/doing maintenance, and when you've done that, you reboot into normal mode again (single-user mode is not a normal operating mode in which you should be running your server for long term). If you regularly need (shell) access to your server, you should create a user with the privileges you need, so that you f.ex. can login remotely from your client machine... This is pretty Linux/Unix basics; you should read up on this!
Dec
27
comment How to access a server via serial port?
Nothing else than what you manually change will be changed (I think). Just reboot into "normal" mode when you're finished "repairing" :)
Dec
27
comment How to access a server via serial port?
@artaxerxe See my answer below. Other than that, maybe re-tag your question with CentOS rather than Ubuntu, since your question regards your server and not your client machine...
Dec
27
comment How do I set Django to use Python 2.7 instead of Python 2.4?
Please work on your accept rate; accept answers that solve your problems. :)
Dec
27
comment How to access a server via serial port?
Why not solve your problems via a monitor and keyboard connected to your server?
Dec
27
comment How do I make a DNS record for only one subdomain and forward the rest?
I don't understand why using root hints reduces security (your last paragraph), could you please clarify? Other than that, helpful answer :-)
Nov
29
comment How to log every login (SSH) on FreeBSD
Thank you! :-) This is one possible solution. I also found another; PAM scripting -- see my own answer.
Oct
25
comment How do I search by multiple keywords when using awk or grep?
Please work on your accept rate!
Oct
9
comment GELI / ELI at FreeBSD - changing passphrase
Thank you, that's it. Tested, and it works -- at least for me in this test-instance.
Oct
9
comment GELI / ELI at FreeBSD - changing passphrase
Hmmmm, I hope there's another answer out there, because that's rather timeconsuming with big volumes. But thanks anyway.
Oct
8
comment ZFS - setting physical disk start point of pool/filesystem
Yes, thank you. Once I understood that zfs accepts block devices other than just entire disks, it opened up a lot more flexibility to me :-)
Oct
8
comment ZFS - setting physical disk start point of pool/filesystem
I tried that now - it works! Thank you :-)
Oct
8
comment ZFS - setting physical disk start point of pool/filesystem
Ah, so I create disk slices in the OS first, and then a ZFS using these slices? I thought ZFS pools had to be placed on top of entire disks.
Oct
7
comment FreeBSD vinum striped (RAID0) volume - performance issues
Thanks a lot! gstat is a useful tool I didn't know about. I found that ad26+ad28 performs fast in a 2-disk striped volume. About 120MB/s write and 80-90 MB/s read (strange with write>read?). In that setup ad26 is 20% busy, ad28 30%; according to gstat. I suppose this is because of the controller; 3 vs 6 Gb/s. I'll experiment further with single disks and test the controllers...
Oct
7
comment FreeBSD vinum striped (RAID0) volume - performance issues
@MikeyB I suppose that's better :-) Now I've edited my post with more info.
Oct
7
comment FreeBSD vinum striped (RAID0) volume - performance issues
@MikeyB In fact, I haven't tested them as single disks yet, but if the fact is that they're slow, couldn't I at least expect faster speeds with an array of 4 green disks than an array of 2 green disks; both arrays striped?