Hi All, I have a home server, it's name is jester. Jester is a behemoth compared to what I actually need. It's a quad-core, 4GB, 2x500GB RAID on LVM with GB ethernet, to serve a few files + CUPS, run a squid proxy, some small MySQL DBs, do some basic DHCP/DNS and poll a weather station and solar inverter pumping the results into cacti. Consequently I've shouted myself a new toy: a QNAP TS-459 Pro (see http://bit.ly/eTKLCq) with 4x2TB in RAID5. Here's the plan:
1. Migrate all the file sharing duties to the QNAP
2. Migrate DHCP to the QNAP (or the router...don't really care)
3. Migrate the DBs to the QNAP (yes it does MySQL!)
4. Move the printer over to the QNAP
5. This leaves DNS, SNMP/Cacti, and Squid on Jester.
Now migrating my remaining setup (#5) to a single 8GB SSD is where I'm a little
stuck.
The QNAP supports both iSCSI and NFS, so I was thinking I could use the SSD for
/boot and the root fs, then mount the rest from NFS and/or iSCSI. The kicker
is; how? How do I migrate this stuff with minimal fuss? I was considering
just creating the iSCSI/NFS mounts, rsync all the data over (permissions and
everything of course), then drop to single user (or busybox etc) and change the
mounts to use the iSCSI/NFS instead of the LVM mirror.
So, now we have all the non-rootFS and non-/boot stuff taken care of. Next I
rsync the rootFS and /boot onto the SSD (yes, they will fit inside 8GB...with
room to spare):
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00-root
15G 604M 15G 4% /
...
/dev/md0 456M 56M 396M 13% /boot
-------------------------------------------------------
TOTAL 660M (onto 8GB SSD)
-------------------------------------------------------
This leaves GRUB and swap. How the heck do I tell GRUB that the SSD is now
"groot=(hd0,0)"?? Or is this not important once I rip out the 2x500GB drives
leaving only the SSD??
Next swap - anyone with experience running swap over iSCSI?? Currently swap
barely gets tickled, and removing file/print/SQL duties should significantly
reduce the memory footprint so I'm not expecting any serious I/O here.
Lastly, iSCSI - anyone feel like pointing me in the direction of a neat
iSCSI-on-Ubuntu primer? (don't say "google", I've done that - just want to know
if there's a kick-butt-doco I missed :)
Thanks in advance and Merry Christmas/New Year to you all!
Cheers,
James
PS - once jester is doing basic snmp/cacti/squid/etc and the QNAP doing the
"heavy-lifting", I intend under-clocking the little dear from 2.66GHz to about
1.6GHz :) Save the planet and all that.
smime.p7s
Description: S/MIME cryptographic signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
