View previous topic :: View next topic |
Author |
Message |
Puma n00b

Joined: 02 Mar 2003 Posts: 8
|
Posted: Thu Apr 10, 2003 4:45 am Post subject: 40 gigs somehow = only 4... |
|
|
I made a 40 gig ext3 partition on my slave hdd
when I went to dump some files onto it I ran out of space at 4 gigs, fdisk still shows the partition at 40 gigs but df shows only 4 gigs
I have no idea where my 36 gigs went  _________________ If you knew how to solve the problem, it wouldn't be a problem. |
|
Back to top |
|
 |
Jimbow Guru


Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Thu Apr 10, 2003 9:05 am Post subject: |
|
|
I think you need to create an extended partition in order to support such a large partition size. People usually make the 4th partition extended because there is a limit of only 4 primary partitions. But if you want just one big partition then you can make the 1st partition extended and the 2nd partition can scarf up the rest of your disk. _________________ After Perl everything else is just assembly language. |
|
Back to top |
|
 |
sulu Guru


Joined: 21 May 2002 Posts: 399 Location: Dornbirn/Austria
|
Posted: Thu Apr 10, 2003 1:14 pm Post subject: |
|
|
Hmmmm
How did you dump the files into it ?
Did you use something like
dd if=/dev/hdxx of=/hdxx
???
I recently copied a 3 GB-partition to a 20 GB-partition via
the mentioned dd-command.
After copying some other files i ran out of space on the 20 GB-partition as the used space exceeded 3 GB. fdisk reported a size of 20 GB, so i should have 17 GB left. So somehow the 3 Gigs-limit also was transferred to the 20-GB-partition.
Dunno if this is a feature or a bug with th dd-command.
Maybe dd should not be used in that way if the partitions dont have exactly the same size. |
|
Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9636 Location: beyond the rim
|
Posted: Sat Apr 12, 2003 1:50 am Post subject: |
|
|
It's definitely not a bug in dd, that's what dd is supposed to do (copy exactly input to output). You could try to resize your filesystem with resize2fs or resizereiserfs to use the additional space on the partition. |
|
Back to top |
|
 |
|