From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 15 Jan 2014 15:49:11 +0000 From: Alasdair G Kergon Message-ID: <20140115154911.GB31790@agk-dp.fab.redhat.com> References: <87zjmxzmga.fsf@red.mvo.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87zjmxzmga.fsf@red.mvo.lan> Subject: Re: [linux-lvm] Identifying useable block devices Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Marius Vollmer Cc: linux-lvm@redhat.com 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