linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Martin Webster <mwebster@ntlworld.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Removing a SCSI device
Date: Mon, 8 Oct 2001 17:15:29 +0000	[thread overview]
Message-ID: <01100817152901.01127@lagothrix> (raw)

I want to remove an internal Zip drive (SCSI ID#2) to make way for a DVD 
drive. However, I have two SCSI drives set-up with LVM as follows and realise 
that removing the Zip drive will cause a number of problems. Here's my 
current configuration:

sda Hard disk 0 (boot) - ID#0
sdb Zip disk - ID#1
sdc Hard disk 1 - ID#2
cdrecorder - ID#6

/ (root) is /dev/sdc5 (reiserfs)
/boot is /dev/sda5 (ext2)
swap is /dev/sda6
Everything else is on the LVM spanning two physical volumes: one logical 
volume.

And here's what I plan to do:

1. Unplug the Zip drive and change SCSI ID of Hard disk 1 to ID#1
2. Boot system into single user mode: linux S root=/dev/sdb5
3. Remount root filesystem and /boot as read/write: 
mount -n -o remount, rw /
mount -n -o remount, rw /boot
4. Edit /etc/lilo.conf and change instances of "sdc " to "sdb"
5. Run mk_initrd followed by LILO:
mk_initrd && /sbin/lilo
6. Re-boot

What I am uncertain of is whether this approach will work with LVM. Can any 
one advise?

BTW, I'm using SuSE 7.2 Professional.

TIA,

M
-- 
Martin Webster <mwebster@ntlworld.com>
Registered Linux User #230322
http://homepage.ntlworld.com/spider-monkey/

             reply	other threads:[~2001-10-08 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-08 17:15 Martin Webster [this message]
2001-10-09  9:30 ` [linux-lvm] Removing a SCSI device Heinz J . Mauelshagen
2001-10-10 21:00   ` Martin Webster

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=01100817152901.01127@lagothrix \
    --to=mwebster@ntlworld.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).