Linux LVM users
 help / color / mirror / Atom feed
From: "Heinz J. Mauelshagen" <Mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Question about LVM
Date: Wed, 11 Jul 2001 15:06:55 +0200	[thread overview]
Message-ID: <20010711150655.A22925@sistina.com> (raw)
In-Reply-To: <Pine.LNX.4.31L2.0107110613260.30807-100000@theendoftime.net>; from fox@theendoftime.net on Wed, Jul 11, 2001 at 06:43:09AM -0600

On Wed, Jul 11, 2001 at 06:43:09AM -0600, fox@theendoftime.net wrote:
> Hi;
> 
> I ran into this issue with AIX lvm.  A hard drive died and the IBM
> hardware monkeys removed the drive before mirroring could be broken
> (removing lv copies down to one, and reducing the volume group by the one
> dead drive)

Tren,

Linux LVM doesn't support mirroring so far.
Therefore the AIX case you faced is not possible today.

You can achive mirroring by using Multiple Devices as PVs or hardware
raid systems.


> 
> However, because the drive had been removed before this could be done, the
> VGDA still had the old PVID of the old hdisk and would not let me remove
> it by the cannonical hdisk name.  The eventual solution was to run the
> rmlvcopy command and reducevg command with the PVID instead of the
> cannonical hdisk name.  There is no such command as rmlvcopy (or anything
> related as far as I can tell with Linux) but the reducevg is the same as
> vgreduce.  I am wondering if it's possible for a PV to be removed from the
> VG in such a way that the PV path (device name?) no longer exists in the
> system and thus, you wouldn't be able to do a vgreduce with the PV path
> (device name?)
> In this case, is it possible to run the vgreduce command
> with the PVID of the removed drive?

vgreduce accesses the *empty* PV to be reduced from some VG by device node.
In case it doesn't exist -> mknod it again.

> Or does the Linux LVM handle this
> automagically?  Is this even a possible case under Linux?  I have to admit
> I'm still new to the Linux LVM after having worked with AIX LVM for years
> now.

It's not a big deal with Linux LVM. As mentioned, the PV needs to be empty
in order to remove it from a VG. If the device node doesn't exist when trying
vgreduce, the admin probably has removed it by accident.

> 
> Thanks,
> 
> Tren.
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

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:[~2001-07-11 13:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-11 12:43 [linux-lvm] Question about LVM fox
2001-07-11 13:06 ` Heinz J. Mauelshagen [this message]
2001-07-11 15:15 ` Steven Lembark
  -- strict thread matches above, loose matches on Subject: below --
2003-07-29 15:42 [linux-lvm] Question about lvm tv fw
2003-07-30  5:49 ` Paul Furness
2001-05-08  1:29 [linux-lvm] Question about LVM 이홍석
2001-05-08  9:36 ` Heinz J. Mauelshagen
1999-09-02 14:42 [linux-lvm] question about lvm Andrew Sutton
1999-09-02 16:26 ` Heinz 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=20010711150655.A22925@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox