LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 05: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, 07:28 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: Not directly related to LFS.
 
Old 07-13-2005, 07:32 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,657
Blog Entries: 4

Rep: Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 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
Open Source Consulting | Domain Registration