LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-03-2006, 09:54 AM   #1
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Rep: Reputation: 30
A little help partitioning ReiserFS


I recently, successfully lowered the size of my SUSE 10 filesystem using resize_reiserfs in Slackware. Now I want to lower the size of the partition that SUSE is on so that I can increase the size of my Slackware partition. Is it possible for qtparted in Knoppix to do this job for me? If not, are there any other graphical programs that can do this?

Last edited by pdeman2; 03-04-2006 at 08:24 PM.
 
Old 03-04-2006, 08:19 PM   #2
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
Okay, if there are no other programs to do this, then how do you resize a partition using cfdisk. I've searched on the web and through documentation, I can't figure out how to resize.
 
Old 03-05-2006, 01:46 AM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Side comment: as always, be sure to backup any important data prior to attempting to resize partitions
 
Old 03-06-2006, 02:49 PM   #4
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
Bump. I still haven't found an answer.
 
Old 03-06-2006, 03:40 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Maybe you should use a better subject line then - this has nothing to do with the filesystem.

I don't trust the GUIs, and have never had my option changed by experience. Go to fdisk, delete the partition, add new. Simple.
Caveats;
- same starting sector (usually means same cylinder these days).
- make sure it's no smaller than what you made the filesystem. Be *very* careful calculating this. Confusion of "marketing" GB (1000*1000*1000) versus true GiB (1024*1024*1024) is one example.
I generally allow a reasonable margin of error - the "insurance" may be wasted, but your data isn't.
Note I haven't done this with reiser (something else I don't trust), but it works for NTFS, so I'd reckon you'll be o.k.

Last edited by syg00; 03-06-2006 at 03:42 PM.
 
Old 03-06-2006, 07:33 PM   #6
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
Thanks for the advice, syg00. I think I'm going to delete all the partitions on my drive and start over. I'm going to use ext3 this time (since there is more support).
 
Old 03-07-2006, 12:36 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
No need to do that. The entry in the partition table is merely the start and size (extent) of the partition.
By deleting and re-creating as I advised above, you do not affect the data in the partition. Unless of course you make it smaller than the filesystem.
What you have done should allow you release the space as per above. I regularly do it with NTFS on laptops we get at the office.

However, if you are planning on deleting them anyway, I'd suggest you do the resizing to convince yourself it will work.
You might need to do it some time in the future, and will feel much more confident.
 
Old 03-07-2006, 06:41 AM   #8
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
Sorry, I haven't really done much partitioning. Are you saying that I can delete the partition and create a new, smaller one where it was before without deleting the filesystem?
 
Old 03-07-2006, 06:52 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Yep - exactly what you want to do.
Sounds scarier than it really is. The partition entry basically says "go look here for a filesystem", and "it's this big" (in sectors).
Basically you just want to convince it it's now smaller, so you can use the released space elsewhere.

Nothing magical at all ...

Works well with shrinking - expanding needs a lot more care (overlapping partitions are not pretty).
 
  


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
An odd reiserfs booting problem in a special situation may be about SUSE10's reiserfs ayal Linux - Newbie 7 11-15-2005 07:36 AM
what is reiserfs? lumbrjackedpcj Linux - Software 3 03-24-2005 01:08 PM
partitioning questions with reiserfs patrickdepingui Linux - General 3 01-26-2005 07:06 AM
Can you convert Reiserfs 3 to Reiserfs 4 JSylvia007 Linux - Distributions 1 08-19-2004 03:01 PM
Add ReiserFS package destroys non-ReiserFS partitions smirk Mandriva 0 03-24-2004 07:20 PM

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

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