[linux-lvm] Identifying useable block devices

Alasdair G Kergon agk at redhat.com
Wed Jan 15 15:49:11 UTC 2014


On Wed, Jan 15, 2014 at 10:19:33AM +0200, Marius Vollmer wrote:
> How can a program tell that only /dev/mapper/TEST-thin can really be
> used as a block device, and the rest should be ignored?
 
/dev/mapper is meant only for internal use.

Use /dev/$vg/$lv instead (in the case of LVM).
Internal LVs shouldn't appear there.

Alasdair




More information about the linux-lvm mailing list