Linux LVM users
 help / color / mirror / Atom feed
From: "José Luis Domingo López" <jdomingo@internautas.org>
To: "'linux-lvm@sistina.com'" <linux-lvm@sistina.com>
Subject: Re: [linux-lvm] Renumbered drives hosed VG.
Date: Wed, 15 Aug 2001 11:07:10 +0000	[thread overview]
Message-ID: <20010815110710.B740@dardhal.mired.net> (raw)
In-Reply-To: <B51F0C636E578A4E832D3958690CD73E0130BFC0@es04snlnt>

On Tuesday, 14 August 2001, at 14:52:17 -0600,
Diehl, Jeffrey wrote:

> Hi all,
> 
> I recently upgraded from a modular kernel to a monolithic kernel, which
> renumbered all of my drives.  sda became sdb, sdb became sdc and adc became
> sda, etc.  Now one of my VG's is hosed.  How do I recover from this?
> 
Don't know to recover from this, but if I had several hard disk on my
server and something depended on the kernel detecting them in order, I
would try using devfs (device filesystem).

Is not that hard to setup, seems stable by now and you will never get your
disks messed again. Under devfs naming, a SCSI disk is identified by the
adapter and bus where it is attached, and by its SCSI and LUN numbers (the
"same" for IDE disks). So the kernel will always identify the disks in the
same way.

For example my master disk on the primary IDE channel is:
/dev/ide/host0/bus0/target0/lun0
An my root partition on this disk is:
/dev/ide/host0/bus0/target0/lun0/p3

Regards.

-- 
Jos� Luis Domingo L�pez
Linux Registered User #189436     Debian GNU/Linux Potato (P166 64 MB RAM)
 
jdomingo EN internautas PUNTO org  => � Spam ? Atente a las consecuencias
jdomingo AT internautas DOT   org  => Spam at your own risk

  parent reply	other threads:[~2001-08-15 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-14 20:52 [linux-lvm] Renumbered drives hosed VG Diehl, Jeffrey
2001-08-15  8:57 ` Heinz J . Mauelshagen
2001-08-15 11:07 ` José Luis Domingo López [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-15 20:50 Diehl, Jeffrey
2001-08-15 20:54 Diehl, Jeffrey
2001-08-15 21:47 Diehl, Jeffrey

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=20010815110710.B740@dardhal.mired.net \
    --to=jdomingo@internautas.org \
    --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