* [linux-lvm] Missing logical volume
@ 2007-08-01 7:27 Nigel Duff
2007-08-01 15:14 ` Jonathan Brassow
0 siblings, 1 reply; 3+ messages in thread
From: Nigel Duff @ 2007-08-01 7:27 UTC (permalink / raw)
To: linux-lvm
Hi,
The following is on an Ubuntu 7.04 server running LVM2 that I have remote access to. I
have put the output of vgscan, vgdisplay etc, various logs and a copy the
archive and backup directories at http://www.dubh.id.au/lvm/ with more
details of the problem in 00-notes.
I had a lvm volume that held a cryptsetup encrypted volume[1]. The server was
rebooted without unmounting the encrypted volume. On reboot the lvm volume
wasn't present in /dev/mapper.
Vgdisplay displayed an error saying something similar to "UUID
Z1tlHa-60OU-iymQ-nQJu-z9OD-abno-PkxUC5 not found" (sorry the original error
wasn't recorded, but the UUID string is correct).
At the time it was noted that the boot order of the drives had changed and
was thought we were just missing a small partition off one of the disks.
'vgreduce --removemissing lvm_vol_grp_1' was run. This stopped the error
from occurring but the volume still wasn't present in /dev/mapper.
We have since realised that one of the drives (/dev/sdd) isn't being
recognised on boot. All other drives and partitions are shown correctly in
the output of pvscan.
Would someone be able to please look at the information provided and point
me in the direction of a solution.
Many thanks,
Nigel
[1] I mention this in case cryptsetup is somehow involved.
Here is the output from various scans;
vgscan:
Logging initialised at Wed Aug 1 15:19:05 2007
Set umask to 0077
vgscan Wiping cache of LVM-capable devices
vgscan Wiping internal VG cache
vgscan Reading all physical volumes. This may take a while...
vgscan Finding all volume groups
vgscan Finding volume group "lvm_vol_grp_1"
vgscan Found volume group "lvm_vol_grp_1" using metadata type lvm2
vgscan Wiping internal VG cache
lvscan:
Logging initialised at Wed Aug 1 15:19:20 2007
Set umask to 0077
lvscan Finding all logical volumes
lvscan Wiping internal VG cache
pvscan:
Logging initialised at Wed Aug 1 15:19:45 2007
Set umask to 0077
pvscan Wiping cache of LVM-capable devices
pvscan Wiping internal VG cache
pvscan Walking through all physical volumes
pvscan PV /dev/hde VG lvm_vol_grp_1 lvm2 [465.76 GB / 465.76 GB free]
pvscan PV /dev/hdg VG lvm_vol_grp_1 lvm2 [465.76 GB / 465.76 GB free]
pvscan PV /dev/hdi VG lvm_vol_grp_1 lvm2 [465.76 GB / 465.76 GB free]
pvscan PV /dev/hdk VG lvm_vol_grp_1 lvm2 [465.76 GB / 465.76 GB free]
pvscan PV /dev/hdm VG lvm_vol_grp_1 lvm2 [298.09 GB / 298.09 GB free]
pvscan PV /dev/hdo VG lvm_vol_grp_1 lvm2 [465.76 GB / 465.76 GB free]
pvscan PV /dev/hdq VG lvm_vol_grp_1 lvm2 [298.09 GB / 298.09 GB free]
pvscan PV /dev/hds VG lvm_vol_grp_1 lvm2 [298.09 GB / 298.09 GB free]
pvscan PV /dev/sdc VG lvm_vol_grp_1 lvm2 [465.76 GB / 465.76 GB free]
pvscan PV /dev/sda VG lvm_vol_grp_1 lvm2 [465.76 GB / 465.76 GB free]
pvscan PV /dev/sdb3 VG lvm_vol_grp_1 lvm2 [287.83 GB / 287.83 GB free]
pvscan Total: 11 [4.34 TB] / in use: 11 [4.34 TB] / in no VG: 0 [0 ]
pvscan Wiping internal VG cache
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Missing logical volume
2007-08-01 7:27 [linux-lvm] Missing logical volume Nigel Duff
@ 2007-08-01 15:14 ` Jonathan Brassow
2007-08-02 2:06 ` Nigel Duff
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Brassow @ 2007-08-01 15:14 UTC (permalink / raw)
To: LVM general discussion and development
On Aug 1, 2007, at 2:27 AM, Nigel Duff wrote:
> We have since realised that one of the drives (/dev/sdd) isn't being
> recognised on boot. All other drives and partitions are shown
> correctly in
> the output of pvscan.
>
> Would someone be able to please look at the information provided
> and point
> me in the direction of a solution.
I think you need to figure out what happened to the missing disk. If
that's gone, so is your data. Nothing you've described so far has
given me reason to believe the drive shouldn't be there. So, I'm
assuming device failure...
If you can get that device to come back online, you can restore your
original setup (vgcfgrestore).
brassow
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Missing logical volume
2007-08-01 15:14 ` Jonathan Brassow
@ 2007-08-02 2:06 ` Nigel Duff
0 siblings, 0 replies; 3+ messages in thread
From: Nigel Duff @ 2007-08-02 2:06 UTC (permalink / raw)
To: LVM general discussion and development
Hi,
On Wed, Aug 01, 2007 at 10:14:28AM -0500, Jonathan Brassow wrote:
>
> I think you need to figure out what happened to the missing disk. If
> that's gone, so is your data. Nothing you've described so far has
> given me reason to believe the drive shouldn't be there. So, I'm
> assuming device failure...
I was thinking that LVM could handle the loss of a drive without losing the
whole volume. The fact that pvscan was showing all the drives still
belonging to the volume group was throwing me.
Thanks for the help,
Nigel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-02 2:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-01 7:27 [linux-lvm] Missing logical volume Nigel Duff
2007-08-01 15:14 ` Jonathan Brassow
2007-08-02 2:06 ` Nigel Duff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).