[linux-lvm] RE: Urgent, Moving disk from hdc to hdf in existing lvm

Kalle kalle at idlar.nu
Thu Aug 29 11:10:02 UTC 2002


-"howly magic lvm, batman"...it was that easy! :)

btw.. I was digging though the /etc/lvmtab.d and /etc/lvmconf, thats the metadata right?

I did a "strings /etc/lvmtab.d/raidset1" before I ran vgscan, and it listed the old device names.

Should it have been possible to edit that file with a hexeditor and gotten the same result?
Whats the difference between the dir /etc/lvmtab.d and /etc/lvmconf dir?


/Regards Kalle

>Kalle,
>
>any configuration change schould be happily covered by "vgscan ; vgchange -ay".
>
>vgscan figures out all PVs by UUID and groupd them together no matter to
>which changed path they are attached.
>
>Regards,
>Heinz    -- The LVM Guy --
>
>
>On Thu, Aug 29, 2002 at 06:19:27AM -0500, kalle at idlar.nu wrote:
>> Hello!
>> 
>> We have a problem with one of our servers thats running lvm on linux-2.4.19.
>> We have 4 discs in the vg, hdb, hdc, hdg and hdh.
>> When we booted the server this morning hdc did not get online. 
>> We've tried diffrent cables but there seems to be some problem with the secondary controller.
>> The disc gets online if we put it on the promise controller thats handeling hdg and hdh.
>> 
>> Is it possible to "reconfigure" the vg so that the disk that once was hdc will be hdf? Prefably without loosing data.
>> 
>> Unfortunately we dont have any spare box to move the disks to, so the reconfiguring has to be done with 
>> the old hdc disk already beeing installed as hdf.
>> 
>> Any comments appreciated!
>> 
>> 
>> /Regards Kalle
>> 
>> 
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm at 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 at Sistina.com                           +49 2626 141200
>                                                       FAX 924446
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-





More information about the linux-lvm mailing list