Operating System - Linux
1827775 Members
2565 Online
109969 Solutions
New Discussion

rebuild the logical volume from the beginning without formatting the LVM

 
Fadia Almarei
Super Advisor

rebuild the logical volume from the beginning without formatting the LVM

how to rebuild the logical volume from the beginning without formatting the LVM , in RHEL AS 4 , with EMC devices
fadia.marei
3 REPLIES 3
Matti_Kurkela
Honored Contributor

Re: rebuild the logical volume from the beginning without formatting the LVM

If possible, use vgcfgrestore.

The LVM utilities automatically create backups of the LVM configuration in /etc/lvm/backup and /etc/lvm/archive. These can be used with vgcfgrestore to restore missing or corrupted LVM metadata.

MK
MK
Steven E. Protter
Exalted Contributor

Re: rebuild the logical volume from the beginning without formatting the LVM

Shalom Fadia,

Could you provide a full problem description. It would assist in providing you a thoughtful answer.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Fadia Almarei
Super Advisor

Re: rebuild the logical volume from the beginning without formatting the LVM

the following is the output
[root@NODE-I dev]# vgcfgrestore vg01
Couldn't find device with uuid 'UU6ZvI-4Mm3-bye8-YAOD-kvE1-1E9J-PUgWnt'.
Couldn't find all physical volumes for volume group vg01.
Restore failed.

, the description maily that non of the devices that was working and the volume group consists of are configured on them and non of the volume groups appears , i will attach the dmesg file
fadia.marei