Welcome to the most active Linux Forum on the web.
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, 03: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, 08:36 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"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-27-2004, 11:42 PM   #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 01:50 AM
Resizing a linux partition using parted Ofvitinn Linux - General 5 10-04-2004 10:22 PM
Resizing Partition on RH9 using Parted Sticks Linux - Newbie 0 07-26-2003 12:29 AM
Resizing EXT3 partition using parted??? Hegemon Linux - General 1 01-21-2003 12:59 AM
Moving & Resizing partitions...? Nu-Bee Linux - General 2 01-02-2003 10:38 AM > Forums > Linux Forums > Linux - Hardware

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