[Top][All Lists]

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

Re: [monit] How to check a device by its label ?

From: Martin Pala
Subject: Re: [monit] How to check a device by its label ?
Date: Wed, 28 Apr 2010 17:44:19 +0200
User-agent: Mutt/1.5.18 (2008-05-17)


labels are not supported currently but you can use UUID of the filesystem like 

  check filesystem with path 

... there are also alternative names in /dev/disk/by-id/ and /dev/disk/by-path/ 
or you can use the mountpoint instead of device name.


On Wed, Apr 28, 2010 at 10:55:30AM +0200, Philippe Muller wrote:
> Hi Monit !
> Instead of checking my devices by their name (/dev/sda1), I'd like to check
> them by their label (the one defined by the -L switch of mkfs.ext3 /
> mkfs.xfs).
> Is it possible? How?
> Thanks.
> Philippe Muller

> --
> To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]