LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
LinkBack Search this Thread
Old 02-27-2004, 03:18 PM   #1
beley
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
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, SolydK 2013
Posts: 7,434

Rep: Reputation: 134Reputation: 134
"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.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 02-27-2004, 11:42 PM   #3
beley
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...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


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