linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolinux.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Problem with UUID, vgscan, vgcfgrestore
Date: Tue, 3 Apr 2001 15:36:20 -0600 (MDT)	[thread overview]
Message-ID: <200104032136.f33LaKu17343@webber.adilger.int> (raw)
In-Reply-To: <01040322434600.00930@darkvader> from Diederick van Dijk at "Apr 3, 2001 10:43:46 pm"

Diederick van Dijk writes:
> Diederick van Dijk writes:
> > My current system is on kernel 2.4.2 with LVM support build into the
> > kernel. So I booted with a 2.2.18 kernel with no LVM support what so ever
> > and the dd commands worked fine. Then I booted with the 2.4.2 kernel again
> > and did a vgscan and this worked too ! I checked the UUID's on the PV's
> > with pvdata -U /dev/hdxx and the UUID lists are now as they have to be. If
> > guess that LVM support in the kernel and dd were in conflict. To check that
> > I will boot with a 2.4.2 kernel without LVM support and try the dd dd
> > commands later on.
> 
> Ok, I tested the dd commands with the 2.4.2 kernel without LVM support and 
> had no success.

Strange.  I just tried (on a 2.4.2 kernel):

# dd if=/dev/hda2 bs=1 skip=44 count=128 of=/tmp/uuids
128+0 records in
128+0 records out
# dd of=/dev/hda2 bs=1 seek=44 count=128 if=/tmp/uuids
128+0 records in
128+0 records out

It worked with no problems.  Maybe there is something strange about the
version of dd that you have?  I have:

# dd --version
dd (GNU fileutils) 4.0.35

Can you try running "strace dd of=/dev/hda2 bs=1 seek=6144 if=/tmp/uuids"
and see where it gets the error from?

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  reply	other threads:[~2001-04-03 21:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-02  5:43 [linux-lvm] Problem with UUID, vgscan, vgcfgrestore Diederick van Dijk
2001-04-02 21:00 ` Andreas Dilger
2001-04-03  5:34   ` Diederick van Dijk
2001-04-03  6:23     ` Andreas Dilger
2001-04-03  7:51       ` Diederick van Dijk
2001-04-03 20:43         ` Diederick van Dijk
2001-04-03 21:36           ` Andreas Dilger [this message]
2001-04-03 22:15             ` Diederick van Dijk
2001-04-03 22:30               ` Andreas Dilger
2001-04-25 11:51     ` David Vidal Rodriguez
2001-04-25 15:49       ` Heinz J. Mauelshagen
2001-04-25 14:03         ` David Vidal Rodriguez
2001-04-25 16:26           ` Andreas Dilger
2001-04-27 10:47             ` Heinz J. Mauelshagen
2001-04-30 18:16               ` Andreas Dilger
2001-05-02 12:45                 ` Heinz J. Mauelshagen

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=200104032136.f33LaKu17343@webber.adilger.int \
    --to=adilger@turbolinux.com \
    --cc=linux-lvm@sistina.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).