View previous topic :: View next topic |
Author |
Message |
hozt n00b
Joined: 13 Jul 2006 Posts: 10
|
Posted: Thu Jul 13, 2006 5:59 pm Post subject: ReiserFS Incorrect Size.... [solved] |
|
|
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 |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Thu Jul 13, 2006 6:50 pm Post subject: |
|
|
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 |
|
|
hozt n00b
Joined: 13 Jul 2006 Posts: 10
|
Posted: Thu Jul 13, 2006 6:56 pm Post subject: |
|
|
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 |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Thu Jul 13, 2006 7:30 pm Post subject: |
|
|
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 |
|
|
hozt n00b
Joined: 13 Jul 2006 Posts: 10
|
Posted: Thu Jul 13, 2006 7:32 pm Post subject: |
|
|
Thanks!
This indeed did the trick:
resize_reiserfs /dev/hda3
What great service thanks for the help! |
|
Back to top |
|
|
|