LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 03: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, 03:59 AM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,266

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


All times are GMT -5. The time now is 11:01 AM.

Main Menu
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