LVM: what is dm-3?

Timothy Murphy tim at birdsnest.maths.tcd.ie
Tue Dec 4 23:00:39 UTC 2007


Luciano Rocha wrote:

>> I guess dm-3 means my 3rd LVM volume, which is /tmp .
>> But how does one tell what dm-? corresponds to?
> 
> ls -l /dev/mapper:
> brw-rw----  1 root disk 254,  5 2007-12-03 15:22 bit-f8
...
> brw-rw----  1 root disk 254,  7 2007-12-03 15:25 off

Thanks very much.
This showed me that my dm-3 was indeed /tmp ,
which is not too bad:
brw-rw---- 1 root disk 253,  3 2007-11-29 22:52 VolGroup00-tmp

I'd noticed a few problems with /tmp ,
eg a file I could not delete:
        [root at alfred tim]# ls -ls /tmp
ls: cannot access /tmp/lvm.log: Input/output error
total 52
...
 ? -????????? ? ?    ?        ?                ? lvm.log
...

I'll try e2fsck-ing it.






More information about the fedora-list mailing list