hello everyone,
I am thinking to renew the whole data in current raid1 array md0. My environment is:
raiddev /dev/md0
raid-level 1
persistent-superblock 0
chunk-size 16
nr-raid-disks 2
nr-spare-disks 0
device /dev/hdb1
raid-disk 0
device /dev/hdd1
raid-disk 1
this '/dev/md0' is /home, so I'm not booting from this disk and the other file systems including root and /boot are on /dev/hda.
What I want to do is to renew the whole data in /home.
Is there any way to do this by switching /dev/hdd1 with all new data copied, then sync this new data to the other raid disk (/dev/hdb1) : FROM /dev/hdd1 (the disk just added with new data) TO /dev/hdb1 (currently active raid disk)??
Usually, after switching the HDD to new one, data in /dev/hdb1 is to be copied to /dev/hdd1 for recovery. But in my case, I want to do the opposite.
I would be so appreciated by all your helps,
Thank you,
I am thinking to renew the whole data in current raid1 array md0. My environment is:
raiddev /dev/md0
raid-level 1
persistent-superblock 0
chunk-size 16
nr-raid-disks 2
nr-spare-disks 0
device /dev/hdb1
raid-disk 0
device /dev/hdd1
raid-disk 1
this '/dev/md0' is /home, so I'm not booting from this disk and the other file systems including root and /boot are on /dev/hda.
What I want to do is to renew the whole data in /home.
Is there any way to do this by switching /dev/hdd1 with all new data copied, then sync this new data to the other raid disk (/dev/hdb1) : FROM /dev/hdd1 (the disk just added with new data) TO /dev/hdb1 (currently active raid disk)??
Usually, after switching the HDD to new one, data in /dev/hdb1 is to be copied to /dev/hdd1 for recovery. But in my case, I want to do the opposite.
I would be so appreciated by all your helps,
Thank you,