[CentOS] Finding the correct ext3-fs dm/LVM?

Luciano Rocha strange at nsk.no-ip.org
Mon Oct 20 17:37:58 UTC 2008


On Mon, Oct 20, 2008 at 06:36:30PM +0100, Luciano Rocha wrote:
> On Mon, Oct 20, 2008 at 07:31:22PM +0200, Kai Schaetzl wrote:
> > I'm getting ext3-fs maximal mount count warnings on logical volumes that 
> > are regularly mounted und unmounted for backup. Of course, I can just 
> > tune2fs all of them to stop that. But, if I wanted to find out for 
> > instance which one "dm-16" is, how do I do that?
> 
> ls -l /dev/mapper | grep \\b16\\b

A higher-level approach:

# dmsetup ls

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20081020/aec6dda9/attachment.sig>


More information about the CentOS mailing list