Ok, so I'm feeling a bit thick at the moment. Tying up loose ends at a school before I leave next week, and I seem to of left my planning head somewhere else.
Anyway, result of the above is that I have set up a new Ubuntu Server at the school (using 10.04 Desktop as they want a GUI interface to manage it as that is what the ICT Coordinator who will be looking after my role temporarily knows) and I meant to RAID1 it, however, I didn't.
It have got the system nicely configured doing all the usual bits and pieces a server should, so instead of starting again with it all, I wondered if there was a way to set up RAID1 without having to reinstall everything all over again.
Thanks from your local dunce in advance! lol ..
I found How To Set Up Software RAID1 On A Running System (Incl. GRUB Configuration) (Debian Etch) | HowtoForge - Linux Howtos and Tutorials on Google, but when I come to the
bit it says:Code:sfdisk -d /dev/sda | sfdisk /dev/sdb
Code:administrator@SERVER-001:~$ sudo sfdisk -d /dev/sda | sfdisk /dev/sdb /dev/sdb: Permission denied sfdisk: cannot open /dev/sdb read-write Warning: extended partition does not start at a cylinder boundary. DOS and Linux will interpret the contents differently.
- Wrap up the old system in a tarball, omitting a few key directories that I can't remember at the moment but could find out if you like.
- Reinstall the OS with RAID.
- Unwrap the tarball over the new installation.
/etc/hostname (although in your case it won't make much difference)
EDIT: I can't find it in my documentation but I think I had to exclude /boot as well (when cloning to a different box in order to avoid references to a disk that doesn't exist).
Last edited by will_; 20th May 2010 at 04:12 PM. Reason: typo; omission
I can see this will be a fun time .. lol ..
I've actually wound up doing a bunch of Ubuntu / Debain VM installs like this - set up on a physical machine and then move over to a VM.Code:cd /mnt/local tar cf /mnt/network/file.tar *
There are currently 1 users browsing this thread. (0 members and 1 guests)