You are not logged in.

#1 2007-06-22 23:45:53

A.I. BOT
Member
Registered: 2007-04-01
Posts: 88

[SOLVED] ReiserFS Space Problem ...

I recently dd'ed my Arch Linux partition from /dev/sda3 (7GB) to /dev/sda1 (35GB).

Booted up OK and everything is fine except one thing: I opened Nautilus and at the bottom it said "Free Space: 2.2 GB". I ran a scan of partition and it says I am using 5GB of the 35GB ... Therefore, there is NO WAY that I only have 2.2GB free.

Is there a command I need to run to "resync" the super blocks for the new partition or something so it can see that I have more the 2.2GB free o_O?

Thanks.

Last edited by A.I. BOT (2007-06-23 07:47:27)

Offline

#2 2007-06-23 01:13:55

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [SOLVED] ReiserFS Space Problem ...

Are you sure you actually booted sda1 and not sda3? (df -h output?)

Offline

#3 2007-06-23 03:35:46

A.I. BOT
Member
Registered: 2007-04-01
Posts: 88

Re: [SOLVED] ReiserFS Space Problem ...

I deleted sda3. I only have 2 partions now:

1. sda1 = arch
2 .sda5 = swap.

So yes, I am in sda1.

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             7.1G  5.0G  2.1G  71% /
none                  252M     0  252M   0% /dev/shm

Thats completely wrong, this is not a 7GB HD (sda3 was) ... so clearly reiserFS needs to be synced to know this?

Output from cfdisk:

sda1        Boot        Primary   Linux ReiserFS                   36456.96MB

Last edited by A.I. BOT (2007-06-23 03:53:39)

Offline

#4 2007-06-23 05:05:06

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [SOLVED] ReiserFS Space Problem ...

Looks like you need to grow your fs to fit the partition size. Since this is your root fs, I suggest downloading SystemRescueCD, booting that, and using GParted.

Offline

#5 2007-06-23 05:34:31

A.I. BOT
Member
Registered: 2007-04-01
Posts: 88

Re: [SOLVED] ReiserFS Space Problem ...

I have a livecd with gparted on it. What is it I have to do to "grow" the filesystem?

Would "mkresierfs /dev/sda1" make me loose all my data?

Last edited by A.I. BOT (2007-06-23 05:35:06)

Offline

#6 2007-06-23 07:33:28

A.I. BOT
Member
Registered: 2007-04-01
Posts: 88

Re: [SOLVED] ReiserFS Space Problem ...

Aha! a friend told me to grow my filesystem I gotta run "resize_reiserfs /dev/sda1" ... it worked big_smile

Everything is perfect now, thanks for the help ataraxia.

Last edited by A.I. BOT (2007-06-23 07:47:14)

Offline

#7 2007-06-23 07:47:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] ReiserFS Space Problem ...

Essentially, you need resizefs.reiserfs - I've never used gparted, but I expect it includes that functionality. You can also do it directly from CLI - man resizefs.reiserfs for details.

Offline

Board footer

Powered by FluxBB