[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]