[Linux-cluster] LVM and GFS How to recover lost volume group information
Donald.Deasy at sli-institute.ac.uk
Wed May 24 15:04:05 UTC 2006
I have a server connected to an EMC CX300 SAN and yesterday I had a
glitch on the server and lost all kernel devices.
After running depmod and rebooting all the devices are back.
Unfortunately LVM is only listing the server internal hard disks volume
The SAN volume groups have disappeared and all the SAN LUN disks are
showing up as "Uninitialized Entities".
I'm assuming that the SAN LUNs are okay and I just need to recreate the
LVM Metadata (without destroying the data on the SAN LUNs).
Is it possible to do this ?
OS Redhat Enterprise 4 2.6.9-11.Elsmp
Linux Cluster Suite 6.0
Disk Entity: /dev/sdb1
Partition Type: Linux (0x83)
File System: No Filesystem
I used system-config-lvm to create logical volumes from file storage
LUNS presented from an EMC CX300 SAN.
I then used the following command to create the volumes
gfs_mkfs -p lock_dlm -t isli_cluster:sligfsa -j 4
The volumes have been running without problem mounted through Cluster
Mount Point: /mnt/slidska
Or by hand
mount -t gfs -o acl /dev/VolGroupsli1/LogVolsli1disk1 /mnt/slidska
Institute for System Level Integration
Tel: +44 1506 469311 (Direct)
ISLI provides postgraduate education, professional training and research
in system level integration incorporating cross over technologies such
as hardware, embedded software, MNT/MEMS. Details of our activities can
be found at: www.sli-institute.ac.uk <http://www.sli-institute.ac.uk/>
More information about the Linux-cluster