[linux-lvm] problem with PV
oguz at idealteknoloji.com
Fri Jul 4 13:50:02 UTC 2003
We have a SAN device. (IBM 400DR - 400GB). This is connected to a SAN
switch through 2 redundant fiber cables and a Linux box is connected to
this switch through a fibre channel host bus adapter (qlogic 2310F). We
have 2 LUNs on SAN device.
LUN1 is connected to Linux as /dev/sdd. Linux recognizes the SAN device
on boot and connects to /dev/sdd.
/dev/sdd is assigned as a physical volume to LVM. and a volume group is
created on it.
Because of an environmental problem, systems were crashed today. After
the crash, systems were booted. However, after the boot LVM
configuration was lost. pvscan and vgscan gives nothing! /etc/lmvtab
/etc/lvmtab.d was empty.
1- how can we restore volume groups on /dev/sdd?
2- a "pvcreate /dev/sdd" command was run after the reboot. What do you
think about the data on /dev/sdd ? What do you think about LVM data on
/dev/sdd? If data is lost also, what can we do to recover?
3- If we create a volume group after creating physical volume, can we
see the data?
More information about the linux-lvm