[linux-lvm] Re: Re: Problems with dissapearing PV when mounting (Stuart D. Gathman)

malahal at us.ibm.com malahal at us.ibm.com
Mon Dec 7 23:11:37 UTC 2009


Johan Gardell [gardin at gmail.com] wrote:
> Ok, added a filter to remove /dev/fd0. But i still get
> [22723.980390] device-mapper: table: 254:1: linear: dm-linear: Device
> lookup failed
> [22723.980395] device-mapper: ioctl: error adding target to table
> [22724.001153] device-mapper: table: 254:2: linear: dm-linear: Device
> lookup failed
> [22724.001158] device-mapper: ioctl: error adding target to table

There are lots of reasons why the above message shows up. Most likely
someone else using them...

> mount doesn't give any messages in dmesg
> 
> lvs shows:
>   LV          VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert
>   dreamhacklv Dreamhack -wi-ao   1,23t
>   root        gardin    -wi-d- 928,00g
>   swap_1      gardin    -wi-d-   2,59g
> 
> if i try to mount with:
>   mount -t reiserfs /dev/mapper/gardin-root /mnt/tmp
> 
> i get this in dmesg:
>   [23113.711247] REISERFS warning (device dm-1): sh-2006
> read_super_block: bread failed (dev dm-1, block 2, size 4096)
>   [23113.711257] REISERFS warning (device dm-1): sh-2006
> read_super_block: bread failed (dev dm-1, block 16, size 4096)
>   [23113.711261] REISERFS warning (device dm-1): sh-2021
> reiserfs_fill_super: can not find reiserfs on dm-1

Looks like you have some kind of LV here. What is the output of the
following two commands:

1. "dmsetup table"
1. "dmsetup ls"

Thanks, Malahal.




More information about the linux-lvm mailing list