1753863 Members
7461 Online
108809 Solutions
New Discussion юеВ

Re: Disk failure

 
John Jayaseelan
Super Advisor

Disk failure

Hi,

Hp-UX 11.00 on a D380 server.

One of the disks used by a LV is failed. But the failed disk might not have any data for the LV. There is no backup of the LV.

Is the removal of the disk from the LV & VG can help recovering the LV.?

Please tell if there any other ways of recovering the LV.

Thanks
John Jayaseelan
3 REPLIES 3
Shathishkannan
Occasional Advisor

Re: Disk failure

Hi John,

You can try running vgcfgbackup and then remove the failed disk and insert new disk and then run vgcfgrestore.

before doing this take backup of /etc/lvmconf

Shathish
RAC_1
Honored Contributor

Re: Disk failure

Can you do pvdisplay on it?? Does it show any lvol on it?? Is that lvol mounted?? If yes, try copying files to some location.

If there are no lvols on it, just replace it (you will have to shutdown if disk is not hot swappable) and do vgcfgrestore -n /dev/vgxx /dev/rdsk/cxtxdx
vgchange -a y vgxx.
There is no substitute to HARDWORK
Sivakumar TS
Honored Contributor

Re: Disk failure

Dear John,

whenever you do any change in LVM config the vgcfgbackup is run.

so you can replace the disk and run vgcfgrestore to get back your VG config.

WIth Regards,

Siva.
Nothing is Impossible !