[linux-lvm] Create Snapshot volume, with sized based on size of original lv

Alasdair G Kergon agk at redhat.com
Mon Oct 6 13:11:41 UTC 2008


On Sat, Oct 04, 2008 at 11:05:34AM +0200, Michael Schmarck wrote:
> $ sudo lvm lvcreate -s -l 25%LV -n Bilder_snap /dev/sys/Bilder
>   Please express size as %VG, %PVS, or %FREE.
> Did I do something wrong, or is the output "--help"
> just wrong?
 
%LV is for resizing an existing LV.
lvcreate -s -l n%LV would indeed be unambiguous,
but what then about lvresize on a snapshot?  Would it be % of 
base LV or % of existing snapshot?  (Perhaps we need %ORIGIN.)

Alasdair
-- 
agk at redhat.com




More information about the linux-lvm mailing list