Re: find LVM volume group of a volume
On Sun Oct 18, 2009 at 22:15:19 +0200, Guillaume CHARDIN wrote:
> #lvdisplay /dev/mapper/VGNAME-LVNAME | grep "VG Name"
> => the previous command should return the value of the VG name of my
> LV but... Not because it fails :)
Works for me:
root@gold:~# lvdisplay /dev/mapper/gold--vol-home |grep "VG Name"
VG Name gold-vol
This could be due to a version different - As I'm running unstable/sid
on my desktop.
Debian GNU/Linux System Administration