Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] OK...interesting dilemma...
@ 2001-11-01 20:25 Chad C. Walstrom
  2001-11-01 22:22 ` Andreas Dilger
  0 siblings, 1 reply; 3+ messages in thread
From: Chad C. Walstrom @ 2001-11-01 20:25 UTC (permalink / raw)
  To: linux-lvm

I don't like IDE any longer... but that's besides the point.  Some time
ago, I quit running my "file server", an old 166MHz Pentium w/a 60GB+
IBM Deskstar drive.  I ran into that IDE problem that's been detailed on
this list a number of times already, where the seek was failing.  I
started to loose files, so I backed up the important stuff to my
workstation and shut the machine off.

Now we come to the present.  I've upgraded the hardware of my
workstation, including a new case with plenty of room for harddrives.
I've decided that running a separate file server wasn't necessary for my
home network, and actually increased my maintenance in my "off hours"...
Since I work as a sysadmin all day, I find it discouraging to have to do
the same at home.  I'd rather program. ;-)

Anyway, so I'm moving this "old" IDE drive into my current SCSI
workstation system.  The active volume group is correctly using the SCSI
drive with a name of vg01.  The inactive IDE harddrive also has a volume
group named vg01.  Herein lies my question.  Can I use vgrename to
rename the inactive volume?

    e.g. vgrename vg01 /dev/vg02

Will it correctly choose the inactive volume?

Current Kernel: linux-2.4.13
Current LVM Kernel Patch: lvm-1.0.1rc4
Current LVM Tools: manually installed lvm-1.0.1rc4

There are two harddrives in the system:

/dev/ide/host0/bus0/target0/lun0/disc:

 Model=IBM-DTLA-307060, FwRev=TX8OA50C, SerialNo=YQDYQFN0401
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=120103200
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4 
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 

Host: scsi0 Channel: 00 Id: 08 Lun: 00
  Vendor: IBM      Model: DNES-309170W     Rev: SA30
  Type:   Direct-Access                    ANSI SCSI revision: 03

Anyway, any insight would be helpful.  If you have the time, please
reply to me directly.

--
Chad Walstrom <chewie@wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31  1950 0CC7 0B18 206C 5AFD

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

* Re: [linux-lvm] OK...interesting dilemma...
  2001-11-01 20:25 [linux-lvm] OK...interesting dilemma Chad C. Walstrom
@ 2001-11-01 22:22 ` Andreas Dilger
  2001-11-02  7:19   ` Chad C. Walstrom
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Dilger @ 2001-11-01 22:22 UTC (permalink / raw)
  To: Chad C. Walstrom; +Cc: linux-lvm

On Nov 01, 2001  20:22 -0600, Chad C. Walstrom wrote:
> workstation system.  The active volume group is correctly using the SCSI
> drive with a name of vg01.  The inactive IDE harddrive also has a volume
> group named vg01.  Herein lies my question.  Can I use vgrename to
> rename the inactive volume?
> 
>     e.g. vgrename vg01 /dev/vg02

Did you vgexport that VG?  If so, when you vgimport it you can give it
a new name.

> Will it correctly choose the inactive volume?

Probably not if you use vgrename.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

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

* Re: [linux-lvm] OK...interesting dilemma...
  2001-11-01 22:22 ` Andreas Dilger
@ 2001-11-02  7:19   ` Chad C. Walstrom
  0 siblings, 0 replies; 3+ messages in thread
From: Chad C. Walstrom @ 2001-11-02  7:19 UTC (permalink / raw)
  To: Andreas Dilger; +Cc: linux-lvm

In message <20011101212119.S16554@lynx.no>, Andreas Dilger writes:
> Did you vgexport that VG?  If so, when you vgimport it you can give it
> a new name.

DOH!  I don't know what I was thinking.  Thanks for the help.  I'll have
to do some interesting re-swaping of hardware, then. ;-)

> > Will it correctly choose the inactive volume?
> 
> Probably not if you use vgrename.

Thanks for the heads-up!

--
Chad Walstrom <chewie@wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31  1950 0CC7 0B18 206C 5AFD

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

end of thread, other threads:[~2001-11-02  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-01 20:25 [linux-lvm] OK...interesting dilemma Chad C. Walstrom
2001-11-01 22:22 ` Andreas Dilger
2001-11-02  7:19   ` Chad C. Walstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox