Dear all:
I want to upgrade the PATA harddisk to SATA.
OLD Config:
PATA 250GB X2 in Raid 1
NEW Config:
SATA 500GB X2 in Raid 1
Main Board ASROCK P4i65
I follow the info
http://wiki.contribs.org/Raid 1. Shut down and install larger drive in system.
2. Boot up and manage raid to add new (larger) drive to system.
3. Wait for raid to fully sync.
4. Repeat steps 1-3 until all drives in system are upgraded to
larger capacity.
5. Ensure all drives have been replace with larger drives and array
is in sync and redundant!
6. Issue the following commands:
Shutdown , install the Sata 500GB X1 , remove PATA 250GB X1
System remain PATA X1 & SATA X1
Start with the PATA. OK & normal.
manage raid redundancy & wait. OK & normal.
Shutdown , install the second SATA 500GB. Remove last PATA 250GB.
System remain SATA X2 & one of them is fully sync.
Start the server with the SATA which is synced complete.
The problem is here. Start the server & then stopped here with this
message.
Activating logical volumes
Volume group "main" not found
ERROR: /bin/lvm exited abnormally! (pid 443)
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!
I also find some message running so fast but I catch is the SATA Drive
should be /dev/sda & /dev/sdb but now is /dev/hda & /dev/hdb.
I install back the PATA 250GB. & start again.
System remain PATA X1 & SATA X2
Start the server with PATA device.
It is OK & normal. (server find the device are /dev/hdc, /dev/sda, /dev/sdb)
I run the manage disk redundancy manually (use mdadm command)due to two
harddisk are not in the raid.
add the first SATA into the raid & wait.
finished & then add the second SATA into the raid & wait.
finished & find no problem. It is raid 1 with 3 harrdisk & status is
clean.
shutdown & remove the PATA harddisk agian.
Same error occured.
I think there is a harddisk detection problem & made the device name
changed. Then it cause the LVM2 can't start.
Just I think but I am not sure.
Please help me to fix it. Thanks in advance!
David Yip
LJ Computer Systems in Hong Kong