[CentOS] mounting an lvm partition via a USB adapter

Robert Moskowitz rgm at htt-consult.com
Mon Jun 18 12:10:28 UTC 2007


I am trying to mount this (my old hard drive) from my Centos 5 install 
as a USB drive so I can copy files over.

I have made the change to max_luns so that I can have more than one 
drive on a USB drive.

The first partition, /dev/sda1 mounts automatically as /boot_

The second partition, /dev/sda2 is the one I really want and it is an 
lvm partition.  When I am booted from this drive (as the installed IDE 
drive, not as a usb drive) has for its  /etc/fstab:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol01 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/VolGroup00/LogVol02 /home                   ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol00 swap                    swap    defaults        0 0


But I do not see any /dev/Vol... when I boot from my Centos 5 drive (oh, 
I have labeled the lvm partitions on that drive to start with Centos5 so 
that its labels are different from my Centos 4 drive lablels).

What mount command do I use?





More information about the CentOS mailing list