Hi,

I try to write a small script to find a parent LVM volume group of a
logical volume.
With mount command i'm able to find the "device" of the mount point
ex: /dev/mapper/VGNAME-LVNAME

But, when i try to use it with lvdisplay with
'/dev/mapper/VGNAME-LVNAME' as argument, the command fail.
my goal after that is to scan the results of lvdisplay and fond the
"VG Name" line.

Is there a way to easily find the VG of a Logical volume ?

thanks
-- 
Guillaume


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to