[ale] Can't find LVM volumes on USB drive

Jim Kinney jim.kinney at gmail.com
Fri Nov 30 08:12:44 EST 2012


Hmm. LVM doesn't like working over your USB link. I've seen this before but
don't recall the workaround.
On Nov 30, 2012 5:50 AM, "Jim Lynch" <ale_nospam at fayettedigital.com> wrote:

> On 11/29/2012 07:43 PM, Jim Kinney wrote:
>
>> You can't mount an PV directly (sde3)
>>
>> run lvscan and look for the names to use from /dev/mapper :
>>
>> [root at scotty bin]# lvscan
>>   ACTIVE            '/dev/vg_scotty/lv_swap' [9.77 GiB] inherit
>>   ACTIVE            '/dev/vg_scotty/LogVol01' [104.78 GiB] inherit
>> [root at scotty bin]# ls /dev/mapper/
>> control  vg_scotty-LogVol01  vg_scotty-lv_swap
>>
>> You now mount /dev/mapper/vg_scotty-LogVol01 (in my case - user your own
>> name!)
>>
>
> [root at chinaberry media]# pvscan
>   PV /dev/sda6   VG Vol-sda   lvm2 [436.70 GiB / 189.84 GiB free]
>   PV /dev/sdb6   VG Vol-sda   lvm2 [9.31 GiB / 9.31 GiB free]
>   Total: 2 [446.02 GiB] / in use: 2 [446.02 GiB] / in no VG: 0 [0 ]
> [root at chinaberry media]# lvscan
>   ACTIVE            '/dev/Vol-sda/Vsda-home' [49.54 GiB] inherit
>   ACTIVE            '/dev/Vol-sda/Vsda-vz' [60.61 GiB] inherit
>   ACTIVE            '/dev/Vol-sda/Vsda-**backupmirror' [136.72 GiB]
> inherit
> [root at chinaberry media]# vgscan
>   Reading all physical volumes.  This may take a while...
>   Found volume group "Vol-sda" using metadata type lvm2
>
> Those work fine, however the one I'm trying to recover is on /dev/sde3
>
> /dev/sde1               1        6079    48829536   83  Linux
> /dev/sde2            6080       18238    97667167+  83  Linux
> /dev/sde3           18239       60801   341887297+  8e  Linux LVM
>
> ______________________________**_________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/**listinfo/ale<http://mail.ale.org/mailman/listinfo/ale>
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/**listinfo<http://mail.ale.org/mailman/listinfo>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20121130/ecd295e3/attachment.html>


More information about the Ale mailing list