Universal drive adapter -

Craig White craigwhite at azapple.com
Fri Dec 11 00:57:18 UTC 2009


On Thu, 2009-12-10 at 16:18 -0500, Bob Goodwin wrote:
> On 10/12/09 14:25, Bill Davidsen wrote:
> > Bryn M. Reeves wrote:
> >> On 12/10/2009 03:28 PM, Bob Goodwin wrote:
> >>> On 10/12/09 10:19, Bryn M. Reeves wrote:
> >>>
> >>>>     blkid /dev/sdc1
> >>>     Ok, thank you, that gives me a bit more information:
> >>>
> >>>     [root at box6 bob]# file -s /dev/sdc1
> >>>     /dev/sdc1: LVM2 (Linux Logical Volume Manager) , UUID:
> >>>     X5Vx9im0hf7hS6Y4WNhdW2ju8heRtUh
> >>>
> >>>     [root at box6 bob]# blkid /dev/sdc1
> >>>     /dev/sdc1: UUID="X5Vx9i-m0hf-7hS6-Y4WN-hdW2-ju8h-eRtUhR"
> >>>     TYPE="LVM2_member"
> >>>
> >>>     Is there a way to list directories and files?
> >>>
> >>
> >> The drive was configured for use with the logical volume manager
> >> (LVM2). You need to use the LVM2 tools to find out what volume group
> >> is on the disk and what logical volumes it contains. Then you can
> >> activate and mount the devices like any other block device.
> >>
> >> Have a look at the LVM2 documentation/man pages or how-tos for more
> >> information.
> >>
> > [___ useful examples and such snipped ___]
> >
> > Thanks, this is a good cheat sheet to give to new (or reluctant) LVM 
> > users.
> > Don't know if it helped the OP but I found it useful.
> >
> >
>     Yes, I posted the question and found the response interesting and
>     helpful. I spent a couple of hours reading man pages and
>     experimenting with the lvm commands on various drives.
> 
>     But I have not been able to open a volume and list the directories
>     and files, such as /home and /etc! I must be dense ...
> 
>     This from another drive:
> 
>         [root at box6 bob]# lvm
>         lvm> pvdisplay
>            --- Physical volume ---
>            PV Name               /dev/sdb2
>            VG Name               VolGroup00
>            PV Size               74.43 GB / not usable 22.62 MB
>            Allocatable           yes
>            PE Size (KByte)       32768
>            Total PE              2381
>            Free PE               1
>            Allocated PE          2380
>            PV UUID               J5Yc28-aO4n-ODWI-1c0W-H9Jr-04jN-ufwyRj
> 
>         And fdisk shows:
> 
>         Disk /dev/sdc: 20.0 GB, 20020396032 bytes
>         255 heads, 63 sectors/track, 2434 cylinders
>         Units = cylinders of 16065 * 512 = 8225280 bytes
>         Disk identifier: 0x000c6487
> 
>             Device Boot      Start         End      Blocks   Id  System
>         /dev/sdc1   *           1        2434    19551073+  8e  Linux LVM
> 
>         But I can't mount this one either using  " mount /dev/sdc1 -t
>         ext3 /mnt/hdtest "
> 
>         It protests about the file type[?]. Perhaps lvm requires a
>         different type?
----
problems typically occur because Fedora always names the LVM
groups/partitions with the same naming scheme and when you want to
'mount' an LVM from one computer on another computer and they have the
same name, it's an issue. You probably have to rename the Group and
maybe the Volume so that it is distinctively different from what is
already mounted to avoid confusion before you can mount the second hard
drive LVM partitions.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-list mailing list