LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-16-2009, 04:45 AM   #1
devkpict
Member
 
Registered: Oct 2007
Posts: 31

Rep: Reputation: 15
creating logical volume of exact specified size


I want to create lv of exact specified size ,

eg. If 2.5GB specified it should be exact 2.5GB and not round up
of extents.
How can I do it.

Using LVM2

Thank You
 
Old 07-16-2009, 04:59 AM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,274

Rep: Reputation: 99
Quote:
Originally Posted by devkpict View Post
I want to create lv of exact specified size ,

eg. If 2.5GB specified it should be exact 2.5GB and not round up
of extents.
How can I do it.

Using LVM2

Thank You
Not possible as to best of my knowledge. Whatever size we give in lvcreate commands, it rounds up automatically.

But, why do you want to have an exact size ?
 
  


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
extent size of a logical volume tajamari Linux - Server 0 02-24-2009 05:53 AM
Logical volume size growing SKVDurai Linux - Server 3 08-06-2008 10:33 AM
how to fixe-my logical volume partition-size-error ? jimmyjiang Red Hat 1 07-26-2008 04:33 AM
LVM: The Impact of Reducing a Logical Volume Size? muff Linux - General 0 07-27-2007 03:18 AM
Creating a logical volume on RHEL3 samash Red Hat 3 06-17-2006 12:31 PM


All times are GMT -5. The time now is 08:01 PM.

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