From: Johan Gardell <gardin@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Problems with dissapearing PV when mounting
Date: Sun, 6 Dec 2009 19:47:55 +0100 [thread overview]
Message-ID: <691e2b620912061047i13bd740eq947dc2a67086e439@mail.gmail.com> (raw)
Hi all!
I am having some troubles with mounting a vg consisting of two PVs.
After booting, the partition /dev/sdb5 does not pop up (but 1-3 does
and 4th is a swap). If i issue partprobe -s it does show up though.
partprobe shows:
/dev/sda: msdos partitions 1 2 3
/dev/sdb: msdos partitions 1 2 <5>
/dev/sdc: msdos partitions 1 3 2
I don't know what <> means but that is one of the PVs
If i, after issuing partprobe, use pvscan it shows:
PV /dev/sdc2 VG Dreamhack lvm2 [1,23 TiB / 0 free]
PV /dev/sdb5 VG gardin lvm2 [465,52 GiB / 0 free]
PV /dev/sdd VG gardin lvm2 [465,76 GiB / 704,00 MiB free]
Total: 3 [2,14 TiB] / in use: 3 [2,14 TiB] / in no VG: 0 [0 ]
vgscan:
Reading all physical volumes. This may take a while...
Found volume group "Dreamhack" using metadata type lvm2
Found volume group "gardin" using metadata type lvm2
But the problems appear when:
vgchange -ay gardin
device-mapper: reload ioctl failed: Invalid argument
device-mapper: reload ioctl failed: Invalid argument
2 logical volume(s) in volume group "gardin" now active
Where dmesg shows:
[31936.135588] device-mapper: table: 254:1: linear: dm-linear: Device
lookup failed
[31936.135592] device-mapper: ioctl: error adding target to table
[31936.150572] device-mapper: table: 254:2: linear: dm-linear: Device
lookup failed
[31936.150576] device-mapper: ioctl: error adding target to table
[31940.024525] end_request: I/O error, dev fd0, sector 0
And trying to mount the vg:
mount /dev/mapper/gardin-root /mnt/tmp
mount: you must specify the filesystem type
I have googled some but can't find much about this issue, does anyone
have any ideas how i can obtain the data stored on the disk? Because i
really need it..
I am running debian squeeze with a 2.6.30-2-686 kernel, the partitions
were originally created under debian lenny (don't know the kernel
version back then though)
lvm version shows:
LVM version: 2.02.54(1) (2009-10-26)
Library version: 1.02.39 (2009-10-26)
Driver version: 4.14.0
Thanks in regards
//Johan
next reply other threads:[~2009-12-06 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-06 18:47 Johan Gardell [this message]
2009-12-07 2:22 ` [linux-lvm] Problems with dissapearing PV when mounting Stuart D. Gathman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=691e2b620912061047i13bd740eq947dc2a67086e439@mail.gmail.com \
--to=gardin@gmail.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).