Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-12-2005, 05:20 AM   #1
Registered: May 2004
Location: Spain
Distribution: SuSE9x
Posts: 40

Rep: Reputation: 15
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
Old 07-13-2005, 07:28 PM   #2
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 228Reputation: 228Reputation: 228
Moved: Not directly related to LFS.
Old 07-13-2005, 07:32 PM   #3
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,725

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Resize Root LVM Logical Volume??? jdupre Fedora 17 10-02-2010 07:21 AM
lvm extending logical partation Ammad Linux - General 0 09-25-2005 04:39 AM
I have a logical error here. Dutchman Programming 2 06-15-2005 10:25 PM
I did not know about logical volumes gezi Linux - Newbie 5 04-27-2005 09:26 AM
FAT32 logical 2damncommon Linux - General 7 06-01-2004 07:53 AM

All times are GMT -5. The time now is 06:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration