Re: LVM: what is dm-3?

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

 



On Tue, Dec 04, 2007 at 03:28:10PM +0000, Timothy Murphy wrote:
> I got dozens of errors like
> ----------------------------------
> Dec  2 04:21:39 alfred kernel: EXT3-fs error (device dm-3):
> ext3_free_blocks: Freeing blocks not in datazone - block = 18318
> 17304, count = 1
> ----------------------------------
> the other day.
> 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,  3 2007-12-03 15:23 bit-fc7
brw-rw----  1 root disk 254,  4 2007-12-03 15:22 bit-home
brw-rw----  1 root disk 254,  2 2007-12-03 15:23 bit-isos
brw-rw----  1 root disk 254,  0 2007-12-03 15:22 bit-swap
brw-rw----  1 root disk 254,  1 2007-12-03 15:22 bit-tmp
crw-rw----  1 root root  10, 63 2007-12-03 15:22 control
brw-rw----  1 root disk 254,  8 2007-12-03 15:26 crv
brw-rw----  1 root disk 254,  6 2007-12-03 15:25 linux
brw-rw----  1 root disk 254,  7 2007-12-03 15:25 off

Ignore "control", and the minor will identify the device. dm-3, in my
case, would be bit-fc7.

For more information, you can then run dmsetup table <device>:
$ sudo dmsetup table bit-fc7
0 15925248 linear 3:2 122683776
15925248 851968 linear 3:2 144900480

Which means a linear device using /dev/hda2 (major 3, minor 2: hda2).

-- 
lfr
0/0

Attachment: pgp4qhg6UIqQa.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux