Re: [webmin-l] Edit Volume Group in Webmin

Kris Deugau <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Organization Vianet Internet Solutions
Message-ID <[email protected]>
Jamie Cameron wrote:
> On 28/Oct/2016 09:05 Marcos Rubinstein <[email protected]> wrote ..
>> I see that in "Edit Volume Group" it's possible to change the name of the
>> Volume Group....
>>
>> my question...
>>
>> I will like to use the Disk Drive from one server (and all of the
>> information on it) and mount it in another server... but, both servers have
>> the same Volume Group name (VG)... and I think that would be a problem...
>> then, once I put the drive from the old server in the new server.. .before
>> mounting it, I guess I would need to change the Volume Group Name (probably
>> not the Logical Volume names)...
>>
>> My question... it will be as simple as change the Volume Group Name using
>> "Edit Volume Group" before mounting the old disk? (and then mount it?)...
>> Could I do that (mounting included) without rebooting the new server?
> 
> Honestly, I don't know if moving a disk to another system will cause the VG
> to just automatically show up .. that would be a question for LVM experts.

Not an expert, but I got tripped up by this a while back.

If you have a disk from system A, with the same VG name as a disk in
system B, do not put that disk from system A into system B until you
have renamed one of the volume groups.  It will NOT work, and you will
probably have trouble even booting.  LVM metadata is read well before
any filesystem mounts.

-kgd

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.