• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Raid'ing mounted partitions in LInux

Netopia

Diamond Member
Hey Ladies and Gents,

I've got an Ubuntu 9.04 machine that boots from a CF->IDE adapter and has a 750GB as an additional drive.

/var
/home
/tmp
/storage
and swap are on the 750GB

I now would like to mirror the 750GB to another 750GB.

I unmounted /storage and created an md device and then hot added the second drive's partition (so that it wouldn't wipe out data). I'm not at all sure I could unmount the others though. Any thoughts would be appreciated.

Joe
 
I've come across an article on how to do exactly this, but I can't remember where, and I can't remember how. Not much help, I know. You might be able to find information scouring googls, but personally I would just use a livecd.
 
AH! A live CD... why didn't I think of that!

What about fstab? I just looked, and it no longer directly refers to devices, but gives a UUID for things.

e.g.:
================================
UUID=51d94079-ccae-40cb-96e6-d995648ac739 / ext2 relatime,erro$
# /boot was on /dev/sdc1 during installation
UUID=bbdba62b-629d-4f7d-b91e-154448666854 /boot ext2 relatime $
# /home was on /dev/sda3 during installation
UUID=36e32cb5-bced-4eb0-bbc1-639d5f8be7f4 /home ext4 relatime $
# /storage was on /dev/sda4 during installation
================================

Where would I get the UUID for the new md devices?

Joe
 
Back
Top