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

Re: [linux-lvm] Can't mount or run fdisk on an existing logical volume, help!



On Tue, Jul 21, 2009 at 01:01:39PM -0700, Adam Olsen wrote:
> imgserv:/storage/# vgchange -ay
>   device-mapper: resume ioctl failed: Invalid argument
>   Unable to resume storage-storage (254:0)
>   1 logical volume(s) in volume group "storage" now active

Hmm... can you do an fdisk on your LV now?  That error doesn't look
good though.

Are you able to run fdisk on each of the member physical volumes
successfully?

> imgserv:/storage/# pvs
>   PV         VG      Fmt  Attr PSize PFree
>   /dev/sda3  storage lvm2 a-   1.44T    0
>   /dev/sdb1  storage lvm2 a-   1.09T    0
>   /dev/sdc1  storage lvm2 a-   1.09T 4.98G
> 
> imgserv:/storage/# pvdisplay
>   --- Physical volume ---
>   PV Name               /dev/sda3
>   VG Name               storage
>   PV Size               1.44 TB / not usable 1.51 MB
>   Allocatable           yes (but full)
>   PE Size (KByte)       4096
>   Total PE              378339
>   Free PE               0
>   Allocated PE          378339
>   PV UUID               ddnHh1-BvAl-5zpd-8KFT-YnZ8-MWHp-pQAWs1
> 
>   --- Physical volume ---
>   PV Name               /dev/sdb1
>   VG Name               storage
>   PV Size               1.09 TB / not usable 3.73 MB
>   Allocatable           yes (but full)
>   PE Size (KByte)       4096
>   Total PE              285949
>   Free PE               0
>   Allocated PE          285949
>   PV UUID               Qhl3tF-JWTY-ORbb-liI9-XteR-vlY9-wtInW5
> 
>   --- Physical volume ---
>   PV Name               /dev/sdc1
>   VG Name               storage
>   PV Size               1.09 TB / not usable 3.73 MB
>   Allocatable           yes
>   PE Size (KByte)       4096
>   Total PE              285949
>   Free PE               1275
>   Allocated PE          284674
>   PV UUID               Z6h80h-oZfP-QMPW-iZdt-dGL0-haBJ-r93Ooi

Ray


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