All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Changing PV position
Date: Fri Dec 19 04:15:02 2003	[thread overview]
Message-ID: <20031219110923.E18654@sistina.com> (raw)
In-Reply-To: <200312181208.49303.benoit.peccatte@enst-bretagne.fr>; from benoit.peccatte@enst-bretagne.fr on Thu, Dec 18, 2003 at 12:08:49PM +0100

On Thu, Dec 18, 2003 at 12:08:49PM +0100, Benoit wrote:
> Hello,
> 
> I'm currently using lvm on my box and one disk just died.
> Then the second disk (hdb) became the first one (hda). The problem is that now 
> I can't get back the physical volume which is on it. Is it possible to tell 
> lvm to force the reading of a PV even if it isn't on the same disk as 
> before ?

vgscan does whyt you are asking for (before trying "vgchange -ay").

> 
> Thank you for your help.
> Benoit
> 
> 
> Informations :
> 
> peck:/# fdisk -l /dev/hda
> 
> Disk /dev/hda: 122.9 GB, 122942324736 bytes
> 255 heads, 63 sectors/track, 14946 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1         898     7213153+   b  W95 FAT32
> /dev/hda2             899        1384     3903795   83  Linux
> /dev/hda3            1385       14946   108936765    5  Extended
> /dev/hda5            1385        1992     4883728+  fd  Linux raid autodetect
> /dev/hda6            1993       14946   104052973+  8e  Linux LVM
> 
> peck:/# pvs /dev/hda6
>   Failed to read physical volume "/dev/hda6"
> 
> 
> I'm currently using linux 2.6-test9, with lvm2 tools. 
> The missing volume was created with lvm1 tools.
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2003-12-19  4:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-18  5:11 [linux-lvm] Changing PV position Benoit
2003-12-19  4:15 ` Heinz J . Mauelshagen [this message]
2003-12-19  8:18   ` [linux-lvm] Question: Fstab Stuart Felenstein
2003-12-19  9:05   ` [linux-lvm] Changing PV position Benoit

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=20031219110923.E18654@sistina.com \
    --to=mauelshagen@sistina.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.