From: Brian Strand <bstrand@switchmanagement.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Re: pvmove obliterates filesystem (Opensuse 10.2, x86-64)
Date: Wed, 17 Oct 2007 23:52:22 +0000 [thread overview]
Message-ID: <ff677n$a64$1@ger.gmane.org> (raw)
In-Reply-To: <20071017012858.GW10006@agk.fab.redhat.com>
Alasdair G Kergon wrote:
> On Tue, Oct 16, 2007 at 11:27:42PM +0000, Brian Strand wrote:
>> 2462 dual-port FC HBA, using qla2400 (no dm-multipath). Note: I had
>> just completed a successful pvmove of another lv about 30 minutes prior
>> to this incident.
>
>> LVM version: 2.02.13 (2006-10-27)
>> Library version: 1.02.12 (2006-10-13)
>> Driver version: 4.7.0
>> Linux somebox 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006
>> x86_64 x86_64 x86_64 GNU/Linux
>
> (need to check those versions are all compatible and kernel isn't missing
> relevant patches)
Is this information available somewhere I can check?
>> Creating switch-pvmove0
>> device-mapper: create ioctl failed: Device or resource busy
>
> That should *not* happen.
> Are you sure the preceding pvmove completed correctly?
For the preceding pvmove, the log file showed no errors and there was
nothing from device-mapper in the logs. "lvs -o +devices" showed the
expected result (the lv was now on the desired pv, and was not there
prior to the pvmove). Also the successfully pvmoved lv contains some of
Oracle's system datafiles as well as binaries, so Oracle would have
imploded rapidly if something went wrong.
> Is some version of udev enabled on dm devices that might be interfering?
This I don't know; we're just running the stock out-of-the-box udev.
Any pointers to how I can find this out would be appreciated.
>> device-mapper: reload ioctl failed: Invalid argument
>
>> Creating volume group backup "/etc/lvm/backup/switch" (seqno 250).
>
> Need to check through the sequence of backups to see all the metadata
> changes it actually made (probably need the ones in the on-disk metadata
> area rather than just the /etc/lvm/backup ones).
Would dd suffice to get the on-disk metadata area? If so, what is (are)
the offset(s) to use? Is it ok to post these as attachments to the
list, or is there some other preferred means?
>> ABORTING: Segment progression failed.
>
>> /dev/sdc: Moved: 60.0%
>
> Message could be incorrect, need to check.
>
>> Oct 9 22:33:21 somebox kernel: device-mapper: table: 253:13: linear:
>> dm-linear: Device lookup failed
>
> So it couldn't use that device (a common cause is a size error when wrong
> device is used e.g. with software raid or partially-cloned devices).
>
> Alasdair
If it helps any, 253:13 is the major:minor of the lv which got destroyed
during the pvmove. It is still present in /dev/mapper, as I left the lv
alone (after fsck). Please let me know if I should attach (or otherwise
send) any files.
Thanks,
Brian
prev parent reply other threads:[~2007-10-17 23:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 23:27 [linux-lvm] pvmove obliterates filesystem (Opensuse 10.2, x86-64) Brian Strand
2007-10-17 1:28 ` Alasdair G Kergon
2007-10-17 22:11 ` Morten Torstensen
2007-10-20 17:12 ` Stuart D. Gathman
2007-10-17 23:52 ` Brian Strand [this message]
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='ff677n$a64$1@ger.gmane.org' \
--to=bstrand@switchmanagement.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).