linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Removing a SCSI device
@ 2001-10-08 17:15 Martin Webster
  2001-10-09  9:30 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Webster @ 2001-10-08 17:15 UTC (permalink / raw)
  To: linux-lvm

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Removing a SCSI device
  2001-10-08 17:15 [linux-lvm] Removing a SCSI device Martin Webster
@ 2001-10-09  9:30 ` Heinz J . Mauelshagen
  2001-10-10 21:00   ` Martin Webster
  0 siblings, 1 reply; 3+ messages in thread
From: Heinz J . Mauelshagen @ 2001-10-09  9:30 UTC (permalink / raw)
  To: linux-lvm

Martin,

LVMs vgscan should happily find your VG in that changed configuration again
and "vgchange -ay" will activate it afterwards.
BTW: there's no need to change the SCSI id of HD 1.

Regards,
Heinz    -- The LVM Guy --

On Mon, Oct 08, 2001 at 05:15:29PM +0000, Martin Webster wrote:
> 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/
> 
> _______________________________________________
> 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

*** 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Removing a SCSI device
  2001-10-09  9:30 ` Heinz J . Mauelshagen
@ 2001-10-10 21:00   ` Martin Webster
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Webster @ 2001-10-10 21:00 UTC (permalink / raw)
  To: linux-lvm

On Tuesday 09 October 2001  9:30 am, Heinz J . Mauelshagen wrote:
> LVMs vgscan should happily find your VG in that changed configuration again
> and "vgchange -ay" will activate it afterwards.
> BTW: there's no need to change the SCSI id of HD 1.
>
> On Mon, Oct 08, 2001 at 05:15:29PM +0000, Martin Webster wrote:
> > 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.

Heinz,

Many thanks! All is well with my system now.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-10 21:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-08 17:15 [linux-lvm] Removing a SCSI device Martin Webster
2001-10-09  9:30 ` Heinz J . Mauelshagen
2001-10-10 21:00   ` Martin Webster

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).