[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] problem with devices / mirrors



Hi

# lvm version
  LVM version:     2.02.17 (2006-12-14)
  Library version: 1.02.13 (2006-11-28)
  Driver version:  4.7.0
# uname -a
Linux srv1 2.6.16.60-0.27-smp #1 SMP Mon Jul 28 12:55:32 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux

This is a SLES 10 based system.

I was using 2 disks, with one partiotion on each (sda5/sdb5) as PVs.

One VG (vg01) was created on these underlying PVs.

The LVs were /dev/mapper/vg01-VM--m and /dev/mapper/vg01-ISO--m

(as listed in /etc/fstab)

I don't much care about the ISO one, it was just ISO images. The VM one was VMware virtual machines.

I needed more disk space, so I changed these to linear volumes via lvconvert -m0. It said it worked.

There seemed to be a few "devices" left hanging around, so i removed them with dmsetup,

dmsetup remove vg01-ISO--m_mimage_0
dmsetup remove vg01-ISO--m_mimage_1

I then tried to remove the physical volume with pvremove. It told me I had to use "-ff" so i did.

Now things look really bad :-(

My filesystem was/is still mounted, and I am right now rsyncing the data to another system. But this does not look good:

# lvs -P -o +devices
  Partial mode. Incomplete volume groups will be activated read-only.
  Couldn't find device with uuid 'jGk0w0-UC8A-VMnX-riS4-QMVV-wYYH-pB2klH'.
  Couldn't find device with uuid 'jGk0w0-UC8A-VMnX-riS4-QMVV-wYYH-pB2klH'.
  LV   VG   Attr   LSize   Origin Snap%  Move Log Copy%  Devices
  VM-m vg01 -wi-ao 125.00G                               /dev/sda5(32000)

# pvscan  -P
  Partial mode. Incomplete volume groups will be activated read-only.
  Couldn't find device with uuid 'jGk0w0-UC8A-VMnX-riS4-QMVV-wYYH-pB2klH'.
  Couldn't find device with uuid 'jGk0w0-UC8A-VMnX-riS4-QMVV-wYYH-pB2klH'.
  PV /dev/sda5        VG vg01   lvm2 [348.61 GB / 223.61 GB free]
  PV unknown device   VG vg01   lvm2 [348.61 GB / 348.61 GB free]
  Total: 2 [697.21 GB] / in use: 2 [697.21 GB] / in no VG: 0 [0   ]

# vgscan  -P
  Partial mode. Incomplete volume groups will be activated read-only.
  Reading all physical volumes.  This may take a while...
  Couldn't find device with uuid 'jGk0w0-UC8A-VMnX-riS4-QMVV-wYYH-pB2klH'.
  Couldn't find device with uuid 'jGk0w0-UC8A-VMnX-riS4-QMVV-wYYH-pB2klH'.
  Found volume group "vg01" using metadata type lvm2

# lvscan  -P
  Partial mode. Incomplete volume groups will be activated read-only.
  Couldn't find device with uuid 'jGk0w0-UC8A-VMnX-riS4-QMVV-wYYH-pB2klH'.
  Couldn't find device with uuid 'jGk0w0-UC8A-VMnX-riS4-QMVV-wYYH-pB2klH'.
  ACTIVE            '/dev/vg01/VM-m' [125.00 GB] inherit

Ideas and or suggestions *really* appreciated! Am I correct to be really concerned?

Kevin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]