All of lore.kernel.org
 help / color / mirror / Atom feed
From: Goetz Bock <bock@blacknet.de>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Switching one of my disks to hdc from hdb
Date: Mon, 11 Jun 2001 23:11:00 +0200	[thread overview]
Message-ID: <20010611231100.B14752@dragon.blacknet.de> (raw)
In-Reply-To: <01060623465900.02898@notch>; from pwk.linuxfan@gmx.de on Wed, Jun 06, 2001 at 11:46:59PM +0200

[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]


On Wed, Jun 06 '01 at 23:46, Peter Kirk wrote:
> > Well, as I don't know your current configuration to well, it's just
> > pocking in the dark ...
> Here it comes:
> I have two disks, currently on hda and hdb.
> hda:
> 10MB of /boot
> 1GB for SWAP
> the lot (18GB) in LV with hdb
> 
> hdb:
> 19GB in LV with hda
> 
> [ ... ]
Sorry, but I was unable to come back to you any erlier.

If you still don't have just tried it, I'd suggest you to simply do so
:-) (but see the warning at the end).

But only if your /boot contains an initrd, that runs vgscan and 
vgchange. 

If this is the case, you should be able to simply switch the drive to
hdc.

IF your system should not boot, because it can't find some LV, don't
panik.

In this case you've two options:
- shutdown as clean as possible (CRTL-ALT-DELETE) and switch back.
  Your system will come up again. (savest version)
- Hope that the boot throws you into a shell (to repair your system),
  mount the drive that contains /etc as RW (probably mount -o remount,rw /)
  and do a vgscan (this should fix the /etc/lvm* entries). Now all
  your LV should be detected again. Now your system should work as 
  before.

Everything basicaly depends on the quality of your initrd and you
should be fine if you use the one provided by lvmcreate_initrd.

For savety reasond you should make a backup of the /etc/lvm* files. (or
better of all files, but this is most likely no an option)

    Goetz.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

      reply	other threads:[~2001-06-11 21:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-06 19:06 [linux-lvm] Switching one of my disks to hdc from hdb Peter Kirk
2001-06-06 21:26 ` Goetz Bock
2001-06-06 21:46   ` Peter Kirk
2001-06-11 21:11     ` Goetz Bock [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=20010611231100.B14752@dragon.blacknet.de \
    --to=bock@blacknet.de \
    --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.