1833294 Members
3267 Online
110051 Solutions
New Discussion

Re: Adding hard disk

 
Vijaya kumar_1
Occasional Contributor

Adding hard disk

Hi all,

I have a hard disk and configured with LVM. I removed from one controller and put in another controller for a controller failure.

Sam just now created device files like /dev/dsk/c0t5d0.

Can anybody tell me how to add a hard disk which has data previously in "vg05" with only one "lvol1"...

The problem is the hard disk contains data and should be carefully restored.

Thanks in advance
Vijay
5 REPLIES 5
Ravi_8
Honored Contributor

Re: Adding hard disk

Hi, Vijay

#vgreduce -f /dev/vg05 (since vg05 has been eliminated)
#vgscan -v
#mkdir /dev/vg05
#cd /dev/vg05
#mknod group c 64 0x050000
#vgimport -v /dev/vg05 /dev/dsk/c0t5d0 (new path for hard disk)
#vgchange -a y /dev/vg05
# mount /dev/vg05/lvol1 /
never give up
Vijaya kumar_1
Occasional Contributor

Re: Adding hard disk

I am getting this error

#vgreduce -f /dev/vg05
vgreduce: The volume group "/dev/vg05" is not active. Only an active
volume group can be extended.


Thanks

Vijay
Ravi_8
Honored Contributor

Re: Adding hard disk

Hi, Vijay

could you use vgremove /dev/vg05 which remove vg05 definitions from root disk
never give up
Vijaya kumar_1
Occasional Contributor

Re: Adding hard disk



I did a vgexport vg05

that works fine.

Thanks for the fantastic help.

Vijay
Pete Randall
Outstanding Contributor

Re: Adding hard disk

Vgimport would be the best way to add it back in, as well.

Pete

Pete