[linux-lvm] How do I properly backup and restore / on LVM2

Stuart D. Gathman stuart at bmsi.com
Tue Apr 13 19:08:24 UTC 2010


On Tue, 13 Apr 2010, Alan Pek wrote:

> Read through the doc and tried to create a snapshot lv for rootlv by 
> doing, but failed. 
> 
> singmrecfp1001:~ # lvcreate -L 2.5g -s -n rsnap rootvg
>   Path required for Logical Volume "rootvg"
>   The origin name should include the volume group.

You forgot the LV name.  E.g.

singmrecfp1001:~ # lvcreate -L 2.5g -s -n rsnap rootvg/myroot

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the linux-lvm mailing list