6,102 reputation
817
bio website taz.net.au/blog
location Australia
age 47
visits member for 3 years, 2 months
seen Dec 17 '13 at 2:57

Craig Sanders

http://taz.net.au/~cas/


Sep
24
comment Shell scripting to divide numbers inside a file
the trouble with caring about UUoC is that in cat is often just a placeholder for any other command or pipeline that produces output.
Sep
24
answered Open screen process in terminal from script
Sep
23
answered How to monitor average stats of CPU and memory usage of a Solaris server using scripts?
Sep
23
answered Feed GPG with answers
Sep
23
answered Strategies for building distributed computing system with hybrid Mac and Linux systems
Sep
23
comment Swap separation for multiple distributions
BTW based on what I read in the Arch Suspend/Hibernate page I mentioned, it's probably best to add 'noauto' to the /etc/fstab lines for unwanted swap partitions rather than delete them - that should prevent systemd or anything else from automatically re-adding the swap devices if it finds them.
Sep
23
comment Swap separation for multiple distributions
2. if you are using systemd rather than sysvinit or upstart, then it will use all swap devices that it can find by default. As well as editing /etc/fstab you probably also need to configure systemd to only use one of the swap devices. I'm not familiar with systemd so can't give any details on how to do that.
Sep
23
comment Swap separation for multiple distributions
+1, good answer. two more points to be aware of: 1. you need to tell the kernel for each distro which swap device it should use to resume. you can do this in your grub config - e.g. if ubuntu uses /dev/sda3 as swap then add resume=/dev/sda3 to the GRUB_COMMAND_LINE_LINX="..." variable /etc/default/grub (create the line if it doesn't already exist). Do the same for Arch and Fedora (except use their dedicated swap partitions). Arch Linux has, as usual, great documentation at wiki.archlinux.org/index.php/Suspend_and_Hibernate (tailored for Arch but useful for any distro).
Sep
22
comment Helo command rejected: need fully-qualified hostname Error
what makes you think that helo checks enhance security?
Sep
22
comment mdadm with overlaying lvm - remove a hard drive
@psusi: that's a matter of opinion, not fact. by any objective measure, zfs is very well supported on linux - installing a dkms or similar package for any major distro is a trivial exercise. btrfs isn't quite ready for production use in a real server room, but it's good enough for home use. just as with raid, neither zfs nor btrfs is a substitute for regular backups.
Sep
22
comment mdadm with overlaying lvm - remove a hard drive
i didn't read it in there. that's exactly why i felt it was necessary to point out the risk. it's a big enough risk that it deserves a warning.
Sep
22
comment mdadm with overlaying lvm - remove a hard drive
the question was also about ...I'm just evaluating in which way I should configure my hard drives for my home-server... - knowing about other options is useful when deciding what to do. btw, zfs can stripe across multiple disks, it would be pretty useless at its primary job if it couldn't.
Sep
22
comment mdadm with overlaying lvm - remove a hard drive
there is no magic solution, there are just tradeoffs you can choose between. flexibility, error correction, snapshotting etc in zfs or btrfs. or enhanced risk or reduced performance if using partitions as you suggested (which is not a bad solution, it just has some potential issues you need to be aware of)
Sep
22
comment remote desktop connection - similar to team viewer
+1. Remmina at remmina.sourceforge.net is another good alternative.
Sep
22
comment mdadm with overlaying lvm - remove a hard drive
be very careful how you set this up - if your raid5 includes two partitions on the same disk then if/when that disk dies, your raid5 array dies with it. it could work if you had 3 RAID-5 arrays (each made up of 3x1TB partitions) striped together. performance would be pretty bad, though, due to disk head contention between the R5 arrays. overall, not recommended.
Sep
22
answered mdadm with overlaying lvm - remove a hard drive
Sep
22
comment Helo command rejected: need fully-qualified hostname Error
if you've removed the helo checks and your customers still can't send mail then it's most likely some other problem, with a different reject reason in the mail log.
Sep
21
revised Helo command rejected: need fully-qualified hostname Error
edited body
Sep
21
answered Helo command rejected: need fully-qualified hostname Error
Sep
21
revised Pass flags to xargs
spelling, tags