LinuxQuestions.org
Visit Jeremy's Blog.
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 04-15-2003, 06:37 AM   #1
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
Unhappy how to unmount + resize reiserfs with parted?


hi everyone,

since i installed linux, i had a 1gig swap partition. i have 512mb ram,
so today i decided to resize it to 128mb. this went fine. the rest
of the space on the disk though, is a 79gig reiserfs partition, which
still starts at 9xxmb. so there is an unused gap where the end of
the swap-partition used to be.

i ran parted again, and it told me reiserfs was not supported. after
searching these forums, i noticed mention of 'libreiserfs', which
would allow parted to work with reiserfs partitions. so i got that,
and installed it. i then went to the command prompt and ran
parted oncemore, and wanted to resize the reiserfs partition.

it gave me a warning about the volume not being cleanly unmounted.
which was correct, since i had not unmounted it at all..

here are my questions on this:

a. when i resize, do i use the end of the swap partition + 1 (example:
swap ends at 128.09 ; do i use 128.10 as the start of the reiserfs?)

b. how do i unmount the reiserfs partition since the parted app
is on that partition - are there bootdisks which can help me with
this - perhaps ones with parted on it? or can i load parted in ram?

any suggestions or ideas are greatly appreciated, since i do not like
wasting approx 975mb of diskspace.

kind regards.
 
Old 04-16-2003, 04:34 AM   #2
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Original Poster
Rep: Reputation: 30
*cries out for help
 
Old 04-16-2003, 06:50 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
put your parted on a floppy and boot with
the slackware cdrom.
mount the floppy and run your stuff.

i bet something goes wrong.
 
Old 04-16-2003, 07:05 AM   #4
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Original Poster
Rep: Reputation: 30
lol. thank you for the word of confidence.
i'm scared about resizing the partition, since
it might mess up all my stuff
 
Old 05-02-2003, 02:21 AM   #5
SamuraiDragon
LQ Newbie
 
Registered: Apr 2003
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
I have the same problem (well, similar) so I would appreciate some input telling me how the process went, what did you do to make a bootable floppy with parted (with reiser support), and the info about the starting/ending point of the moved partition.
Basically, I have a gap between the swap file, and the root partition (it's being reiserfs), so I want to move it, and the resize it (so I can use my entire HD)
I read the parted and resize_reiserfs man pages, and found that resize_reiserfs can grow online partitions, but I couldn't manage to move (or grow) it to use the gap/free space (maybe 'cause it's not after the partition but before?). I made a boot floppy with the image floppy in the parted site, but apparently I lack the rootdisk (maybe I can use the slackware 9.0 ones?) and I don't know if that boot floppy has reiserfs support.
If someone can help, it would be greatly appreciated.
This post http://www.linuxquestions.org/questi...517#post123517 couldn't help me, 'cause being the partition I want to move the root partition, I can't just use the move command without unmounting.
The boot disk image I used was this one http://www.gnu.org/manual/parted-1.6..._toc.html#TOC7
Thanks in advance.
 
Old 05-02-2003, 03:22 AM   #6
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Original Poster
Rep: Reputation: 30
i'm afraid i never dared to try it... i am still to afraid i
will lose data. i might try it sometime; but not before
i make a proper backup.
 
Old 02-19-2004, 06:43 AM   #7
onurbi
LQ Newbie
 
Registered: Aug 2003
Location: Munich, Germany
Distribution: Suse 8.2
Posts: 6

Rep: Reputation: 0
Quote:
Originally posted by SamuraiDragon
...and I don't know if that boot floppy has reiserfs support.
If someone can help, it would be greatly appreciated.
[/B]
Look at paud.sourceforge.net there is ready to use boot floppy with a parted which is able to work with reiserfs.

Kurt
 
Old 02-19-2004, 07:35 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
if you're really desperate, i'll try it for you. i have 3 hard drives in my machine, and
2 are full backups, so i can try whatever i want.
 
Old 02-19-2004, 08:20 PM   #9
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
i just tried it. paud.sourceforge.net.
i downloaded the newest version, and tried to resize a logical drive in an extended
partition. reiserfs 3.6 version. first it said the filesystem wasn't consistant, so i
mounted it and unmounted it. that was because i used dd to copy a running system.
then i tried again. i was shrinking it some. it ran for about 3 minutes, then exited with
an "invalid inode" error. i think anyway. then i tried to boot it, and got a kernel panic
when it tried to mount the device tried to mount the device.
i can no longer mount the partition. sweet. all gone. hey, it was just a test.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't see free space after parted resize ianv Linux - General 7 04-22-2005 07:17 AM
using parted to resize ext3 (problem) carboncopy Slackware 3 10-09-2004 01:17 AM
Resize Partition with parted jdmml Linux - Hardware 0 07-08-2004 08:43 PM
problem with parted resize on reiserfs Sammy2ooo Linux - General 2 12-24-2003 02:34 PM
parted fails to resize dnla Linux - General 0 11-16-2003 07:46 AM

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

All times are GMT -5. The time now is 01:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration