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

Re: how to mount an lvm (thumb) drive?



On Tue, Nov 25, 2008 at 2:57 PM, Dario Nievas <nievasdario gmail com> wrote:
> could you please provide the output of:
> "pvscan"
> "lvscan"
> "vgscan"
>

lvm pvscan;lvm lvscan;lvm vgscan
  PV /dev/sdc2   VG VolGroup00   lvm2 [7.28 GB / 32.00 MB free]
  PV /dev/sda2   VG VolGroup00   lvm2 [232.62 GB / 32.00 MB free]
  Total: 2 [239.91 GB] / in use: 2 [239.91 GB] / in no VG: 0 [0   ]
  ACTIVE            '/dev/VolGroup00/LogVol00' [230.66 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
  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


> If you were able to see and activate the VG, it shouldn't be harder than
> "mount /dev/<vgname>/<logvolname>  /mnt/anymountpoint

It demands -t.

[root cod ~]# mount  /dev/VolGroup00/LogVol01 test2
/dev/mapper/VolGroup00-LogVol01 looks like swapspace - not mounted
mount: you must specify the filesystem type
[root cod ~]# mount  -t lvm2 /dev/VolGroup00/LogVol01 test2
mount: unknown filesystem type 'lvm2'
[root cod ~]# mount  -t ext2 /dev/VolGroup00/LogVol01 test2
mount: /dev/mapper/VolGroup00-LogVol01 already mounted or test2 busy
[root cod ~]# mkdir test4
[root cod ~]# mount  -t ext2 /dev/VolGroup00/LogVol01 test4
mount: /dev/mapper/VolGroup00-LogVol01 already mounted or test4 busy

>
>
> On Tue, Nov 25, 2008 at 10:30 PM, Dave Burns <tburns hawaii edu> wrote:
>> I have a thumb drive with fedora installed on it. When I plug in the
>> drive, /boot mounts automatically. fdisk -l shows the root partition
>> device is LVM. I would like to mount / by hand at another mount point,
>> but I can't figure out what parameter to give to -t. man mount no
>> help. man lvm doesn't seem to mention mounting.  Googled around, can't
>> find the answer.
>>
>> I went to the fedora lvm howto
>> (http://www.tldp.org/HOWTO/LVM-HOWTO/index.html). It tells you about
>>    11.1. Initializing disks or disk partitions
>>    11.10. Reducing a logical volume
>>
>> I don't think I need to do any of that. I just want to mount it. How?
>>
>> Thanks,
>> Dave


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