LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-02-2011, 03:57 PM   #1
spam4scott
LQ Newbie
 
Registered: Jul 2003
Distribution: Debian
Posts: 5

Rep: Reputation: 0
resize2fs: Invalid new size?


Hi. I'm trying to shrink my /home LV, so I can grow my /usr LV.

"sudo lvdisplay /dev/vg1/home" yields an LV size of "476.23 GiB"

I want to shrink this by 10GB so I type

sudo resize2fs -p /dev/vg1/home 466.23G
resize2fs: Invalid new size: 466.23G

I read the man page and it says you can put a "G" to specify gigabytes.

How do I get this to work?

Thanks

Last edited by spam4scott; 08-02-2011 at 03:57 PM. Reason: fixed typo: "side" -> "size"
 
Old 08-02-2011, 04:26 PM   #2
spam4scott
LQ Newbie
 
Registered: Jul 2003
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Apparently it doesn't like decimal values.
"466.23G" doesn't work, but the integer "466G" does.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problem with realloc(): invalid next size golden_boy615 Programming 2 07-19-2011 05:24 AM
invalid next size (fast ) error : Cant figure out ahzeeper Programming 3 04-25-2011 12:15 AM
*** glibc detected *** free(): invalid next size hs_linux Programming 1 02-27-2010 01:08 AM
iptables : ipt_time : invalid size 16 != 24 malinka Linux - General 0 02-24-2008 06:28 PM
shmget returns invalid segment size specified BobS0327 Programming 1 11-08-2006 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:14 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