LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-26-2006, 07:59 PM   #1
sas_tk
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
Resizing root and /home partitions


Hi All,

Using Suse 10.1. Have not enough space on "/" and "/home". Decided to resize. Next partition on the hard after root and /home is fat32. Decided to kill fat partition and use this space for root and home.

- downloaded Knoppix Live cd
- started Knoppix, did partimage to backup / and /home
- deleted partitions
- created new / and new /home partitions using fdisk
- restarted
- did mkreiserfs to create filesystem
- restored data to / and /home using partimage
- modified /etc/fstab to reflect new partitions
- rebooted from HDD
- started Suse.

Questions:
Why df -h still shows old space
I tried to go to software installation to add some packages and still got message that don't have enough space

- when I go to LVM or Partitioner - they show the right space for / and /home

What I did wrong?
 
Old 11-26-2006, 08:38 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,107

Rep: Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328
You resized the partition, but neglected to adjust the filesystem. I don't use reiser, but believe resize_reiserfs should do what you want.
Check the manpage.
 
Old 11-27-2006, 08:04 PM   #3
sas_tk
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you

Thank you

- booted from Live cd
- did resize_reiserfs
- it did fix the issue

Thank you for your help
 
Old 11-27-2006, 10:01 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,107

Rep: Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328
I should have mentioned, that the reason you had this problem was the use of an "image" file for backup/restore.
Despite creating the new filesystem in the resized partitions (which did as you wanted), the restore of the image file "restored" the filesystem to its prior state - only now inside the larger partition.
Glad it all worked out o.k.
Something like the gparted liveCD should do it all for you if needed in future.
 
  


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
Resizing Partitions Outerlimit Ubuntu 13 10-23-2006 08:09 AM
Resizing partitions ?? sachinh Linux - General 1 04-04-2005 06:01 AM
resizing partitions jayakrishnan Linux - General 5 05-06-2002 01:32 AM
Resizing partitions..can it be done? dj_relentless Linux - General 5 01-27-2002 05:16 PM
resizing partitions suselinux Linux - General 7 09-07-2001 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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