LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 07-12-2005, 06:20 AM   #1
calutateo
Member
 
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, 08:28 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

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

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


Reply


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 08:21 AM
lvm extending logical partation Ammad Linux - General 0 09-25-2005 05:39 AM
I have a logical error here. Dutchman Programming 2 06-15-2005 11:25 PM
I did not know about logical volumes gezi Linux - Newbie 5 04-27-2005 10:26 AM
FAT32 logical 2damncommon Linux - General 7 06-01-2004 08:53 AM


All times are GMT -5. The time now is 08:20 AM.

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