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

Re: How to mount an LVM volume? (was lvm2 problem)



--- On Mon, 9/22/08, Eric <spamsink scoot netis com> wrote:

> From: Eric <spamsink scoot netis com>
> Subject: How to mount an LVM volume? (was lvm2 problem)
> To: fedora-list redhat com
> Date: Monday, September 22, 2008, 1:41 PM
> At 12:45 PM 9/22/2008, Chris Tyler wrote:
> 
>  >>>>>
> >The specific commands you need are vgscan and vgchange;
> access to the
> >logical volume will be through
> /dev/mapper/yourVGname-yourLVname
> >(or /dev/yourVGname/yourLVname) and not /dev/sdb*
> (which is the raw
> >partition containing a PV).
> >
> >(Although the context is different, there are some
> examples of
> >vgscan/vgchange usage here:
> >http://dailypackage.fedorabook.com/index.php?/archives/159-.html
> )
>  >>>>>
> 
> Good afternoon, Chris.
> 
> My problem is related but not exactly the same.  In my case
> I have 
> upgraded from FC5 to F9 by doing a fresh install on a new
> hard drive, 
> and I need to mount the old FC5 boot disk to copy some
> stuff off of it.
> 
> "mount /dev/sdb2 /driveb" doesn't work for
> the reasons noted 
> (/dev/sdb2 is a container and not a volume).
> 
> So, I said "lvm vgscan" and got:
> 
> File descriptor 20 left open
>    Reading all physical volumes.  This may take a while...
>    Found volume group "VolGroup00" using metadata
> type lvm2
>    Found volume group "VolGroup00" using metadata
> type lvm2
> 
> Then I said "pvs" and got:
> 
> File descriptor 20 left open
>    PV         VG         Fmt  Attr PSize   PFree
>    /dev/sda2  VolGroup00 lvm2 a-   111.59G 32.00M
>    /dev/sdb2  VolGroup00 lvm2 a-    76.22G 32.00M
> 
> (Hope the formatting and column alignment on the above
> doesn't come 
> through all screwed up...)
> 
> Apparently it thinks that both volumes are named VolGroup00
> (instead 
> of ...00 and ...01) so things like lvm vgchange don't
> do any good 
> because it doesn't know which VolGroup00 to make
> available.
> 
> /dev/mapper contains:
> 
> crw-rw----  1 root root  10, 60 2008-09-22 11:20 control
> brw-rw----  1 root disk 253,  0 2008-09-22 15:20
> VolGroup00-LogVol00
> brw-rw----  1 root disk 253,  1 2008-09-22 11:20
> VolGroup00-LogVol01
> 
> ... with no corresponding LogVol00/01 for VolGroup01 (since
> the 
> system was told that both of the volumes are named
> VolGroup00).
> 
> I've Googled everything I can think of and am out of
> ideas.
> 
> Thanks...
> 
> -- 
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Eric, 

You can try to use Slax Linux Live CD(get the latest slax608rc6.iso.  

http://www.slax.org/forum.php?action=view&parentID=17340

or you can also use:

http://forums.fedoraforum.org/showthread.php?p=707874

to find out answers!

HTH,

Antonio 


      


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