Re: cant mount second drive

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

 



On Fri, 2007-01-19 at 16:54 -0500, jack wallen wrote:
> On Fri, 2007-01-19 at 11:11 -0800, Rick Stevens wrote:
> 
> > Oh, and have you tried "vgsplit NewVolGroupName VolGroup00 /dev/hdb1" to
> > simply move the /dev/hdb1 PV from "VolGroup00" to "NewVolGroupName"?
> > 
> > In fact, you might try:
> > 
> > 	vgsplit -v --test NewVolGroupName VolGroup00 /dev/hdb1
> > 
> > to see what it'd do first.  It it looks like what you want, then take
> > off the "--test" and give it a whirl.
> 
> i tried that but i'm getting this:
> 
> [root@localhost ~]# vgsplit -v --test VolGroup01 VolGroup00 /dev/hdb2
>   Test mode: Metadata will NOT be updated.
>     Checking for volume group "VolGroup01"
>   /dev/hdc: open failed: No medium found
>   Attempt to close device '/dev/hdc' which is not open.
>     Wiping cache of LVM-capable devices
>   WARNING: Duplicate VG name VolGroup00: Existing
> 4O0f0O-fFa4-6Qfo-KRBh-knvO-WYsC-v3uVHK (created here) takes precedence
> over CifEpP-vH2h-fb16-XERE-EmJA-HqWu-pDkiUW
>   Volume group "VolGroup01" doesn't exist
>     Test mode: Wiping internal cache
>     Wiping internal VG cache
> 
> so obviously i can not do this because of the duplicate names. or at
> least that's what i'm reading into the output. am i missing something?

No, you're not.  Try creating a new volume group first with that PV in
it and see if that'll work:

	# vgcreate VolGroup01 /dev/hdb2

If it works, then do a pvdisplay and a vgdisplay and see if the PV moved
to the new group.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     Have you noticed that "human readable" configuration file      -
-          directives are beginning to resemble COBOL code?          -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux