Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ReiserFS Incorrect Size.... [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hozt
n00b
n00b


Joined: 13 Jul 2006
Posts: 10

PostPosted: Thu Jul 13, 2006 5:59 pm    Post subject: ReiserFS Incorrect Size.... [solved] Reply with quote

I have had my laptop running gentoo for several months now and solved most my problems on my own, but this one has me puzzled. When I installed gentoo I installed it on a 20gb hd. Once I confirmed everything was working I put a 40gb hd into my laptop and with the live disk setup my partitions as follows:

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5 37768+ 83 Linux
/dev/hda2 6 6 7560 82 Linux swap / Solaris
/dev/hda3 7 5168 39024720 83 Linux

After this I connected the 20gb and rsync'd the partitions over to the new drive. When I booted all looked good, except the hd still shows only 20gb.

Thanks if anyone can help!


Last edited by hozt on Thu Jul 13, 2006 7:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Thu Jul 13, 2006 6:50 pm    Post subject: Reply with quote

Did you copy the partition itself, or format a new filesystem and copy the files into it?

You're using df to see the filesystem size, right?
Back to top
View user's profile Send private message
hozt
n00b
n00b


Joined: 13 Jul 2006
Posts: 10

PostPosted: Thu Jul 13, 2006 6:56 pm    Post subject: Reply with quote

I created the partitions and formatted the 40gb following the instructions in the handbook using the live cd. It has been several months, but I think I then rsync'd things over to the new drive with rsync -avv src_part dest_part. There is a chance I may have used dd to copy the data.

df is showing only 20gb:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 19489064 19281256 207808 99% /


Last edited by hozt on Thu Jul 13, 2006 7:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Thu Jul 13, 2006 7:30 pm    Post subject: Reply with quote

hozt wrote:
rsync -avv src_part dest_part

As in: src_part == source partition == /dev/hdaX ??

If so, then you copied a 20GB filesystem image to your 40GB drive.

You should be able to resize it:
Code:

# resize_reiserfs /dev/hda3


That should resize it to be the size of the partition.


troymc
Back to top
View user's profile Send private message
hozt
n00b
n00b


Joined: 13 Jul 2006
Posts: 10

PostPosted: Thu Jul 13, 2006 7:32 pm    Post subject: Reply with quote

Thanks!

This indeed did the trick:
resize_reiserfs /dev/hda3

What great service thanks for the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum