Re: lvm duplication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/26/2012 12:49 PM, Ian Chapman wrote:
> On 26/10/12 19:44, Patrick Dupre wrote:
>> Hello,
>> 
>> How can I manage such an issue?
>> 
>> 
>> WARNING: Duplicate VG name VolGrpSys0: 
>> s4LnbI-FRjU-fsPt-2W3d-XIIL-LT7o-uPsVfo (created here) takes
>> precedence over 4Nyva1-5hZi-Mdgr-KnoK-7NMd-56y1-9jczSF WARNING:
>> Duplicate VG name VolGrpUsr0: 
>> wCV7BU-ulp2-GmUG-RHs7-OBRD-EMKG-Q5E4Zm (created here) takes
>> precedence over v3dRcl-aILh-Qlji-qPMD-2Swq-Ay9Y-QqMzj7
> 
> I guess by renaming your volume groups so you don't have duplicates
> (man vgrename). Be careful if one of them contains your / volume,
> you may need to rebuild the initrd and update your grub config if
> you rename it and update /etc/fstab if necessary.

Better to use the vgimportclone script as it takes care of the
numerous manual steps need to exclude one VG, re-UUID and re-name the
conflicting group.

# vgimportclone --help
Usage: vgimportclone [options] PhysicalVolume [PhysicalVolume...]
    -n|--basevgname - Base name for the new volume group(s)
    -i|--import     - Import any exported volume groups found
    -t|--test       - Run in test mode
    --quiet         - Suppress output
    -v|--verbose    - Set verbose level
    -d|--debug      - Set debug level
    --version       - Display version information
    -h|--help       - Display this help message

The manual page has more usage details.

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlCKfm8ACgkQ6YSQoMYUY95waACfXWlBJsRql2ijSIgQV3CvHmtk
aDEAnRZvrd0TL7wwECWIlzObljdLrLAr
=B7A6
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux