LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LVM (logical volumnes) (https://www.linuxquestions.org/questions/linux-newbie-8/lvm-logical-volumnes-342397/)

calutateo 07-12-2005 05:20 AM

LVM (logical volumnes)
 
Dear all,

When creating a logical volume the physical extent size is 4MB by default. So if I define 2560 logical extents it will sum up to 10GB.

My question:
Do the following commands give the same result?

lvcreate -l 2560 vg01 -n big-app
lvcreate -L 10G vg01 -n big-app

Regards, Carsten

trickykid 07-13-2005 07:28 PM

Moved: Not directly related to LFS.

sundialsvcs 07-13-2005 07:32 PM

Probably... but that's what the "-L" parameter is for, isn't it? If you're trying to get "10 gigabytes," ask for that. If you want "exactly 2,460 logical extents," then ask for that. Specify what you want, and let the computer do the math. :)


All times are GMT -5. The time now is 10:49 AM.