LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 02-27-2004, 04:18 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 13

Rep: Reputation: 0
Help with Parted & Resizing Partitions

My /usr partition was full, so I deleted the SWAP partition, resized /usr to allow for more space, and recreated a smaller swap in the free space.

I used parted, and everything seemed to complete with no errors. I also issued a 'print' command to make sure the partitions were indeed resized correctly.

Upon reboot, parted sees the resized partitions correctly, but a 'df' still shows the disk as full! TOP reports the swap is the correct new size... so why doesn't the /usr have free space?

Is there something I have to do to the filesystem to recognize the change? I appreciate any input you may have.
Old 02-27-2004, 09:36 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,670

Rep: Reputation: 229Reputation: 229Reputation: 229
"Is there something I have to do to the filesystem to recognize the change?"

Yes. You will have to format the partition. Back up the partition using tar. Then boot a rescue CD, format the partition, and restore the tar backup to the partition.

Be prepared. Create a LifeBoat CD.

Steve Stites
Old 02-28-2004, 12:42 AM   #3
LQ Newbie
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
I was afriad of that... thanks, I'll do that tomorrow. I was hoping parted would do it automatically since it can move data. Thought I was going to get off easy...


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
new /opt partition from / without resizing with parted everal Linux - Hardware 1 12-16-2004 02:50 AM
Resizing a linux partition using parted Ofvitinn Linux - General 5 10-04-2004 11:22 PM
Resizing Partition on RH9 using Parted Sticks Linux - Newbie 0 07-26-2003 01:29 AM
Resizing EXT3 partition using parted??? Hegemon Linux - General 1 01-21-2003 01:59 AM
Moving & Resizing partitions...? Nu-Bee Linux - General 2 01-02-2003 11:38 AM

All times are GMT -5. The time now is 02:37 AM.

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