I got into some really bad luck.
Got myself 2 x 1TB hdds to upgrade the existing 500GB RAID-1.
I tried out the adding of hdd via command-line.
Code:
[B]Before doing adding of new hdds[/B]
root@dns323:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1]
md0 : active raid1 sda2[0] sdb2[1]
486544512 blocks [2/2] [UU]
unused devices: <none>
[B]Took out 1x500GB hdd and replace with 1x1TB hdd[/B]
root@dns323:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1]
md0 : active raid1 sda2[0]
486544512 blocks [2/1] [U_]
unused devices: <none>
[B]Try to add 1x1TB hdd into the RAID-1; think cos not formatted that's why unrecognized.[/B]
root@dns323:~# mdadm /dev/md0 -a /dev/sdb2
mdadm: Cannot open /dev/sdb2: No such device or address
Anyway, I proceed to use the browser to do the formatting.
It detects the new 1x1TB hdd so I go ahead to do the formatting.
After 94% of formatting it got stucked and the button to shutdown doesn't work, so I had to "hard reset".
When it rebooted, I was prompt via browser to select the type of hdd config.
Felt funny cos I haven't formatted finished so I mapped to my folder and discover all my data gone.
All the Fun_plug stuff are also gone!!!
Now, I am stuck and don't know if I should:
- Create a new 1TB RAID-1, put the remaining 500GB into a pc and transfer the data over.
Anyone can advise?