Move software raid to new machine
Dear all,
I would like to move our software raid array (mdadm) to a new hardware.
Currently, I have one disk for the system etc. and two 'identical disks'
that serve as software raid 1.
Can I just move the two discs to the new machine? Do I have to take care
that they retain their names as /dev/hdb and /dev/hdd? Is there a way to
rename them to say /dev/hda and /dev/hdb?
Note: the new machine has one sata disk, so /dev/hda will become known
as /dev/sda.
Thanks,
Johannes
From my /etc/fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda6 /diskathene ext3 defaults 0 2
/dev/hda7 /tmp ext3 defaults 0 2
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# raid
/dev/md0 /atheneraid ext3 defaults 0 2
otto:~# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.01
Creation Time : Tue Dec 14 17:45:47 2004
Raid Level : raid1
Array Size : 244198464 (232.89 GiB 250.06 GB)
Device Size : 244198464 (232.89 GiB 250.06 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Fri Dec 9 19:01:58 2005
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 5bae6206:a5ff2ae4:6e23bd35:64921979
Events : 0.1755201
Number Major Minor RaidDevice State
0 3 64 0 active sync /dev/hdb
1 22 64 1 active sync /dev/hdd
Reply to: