Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
40 gigs somehow = only 4...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Puma
n00b
n00b


Joined: 02 Mar 2003
Posts: 8

PostPosted: Thu Apr 10, 2003 4:45 am    Post subject: 40 gigs somehow = only 4... Reply with quote

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
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Thu Apr 10, 2003 9:05 am    Post subject: Reply with quote

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
View user's profile Send private message
sulu
Guru
Guru


Joined: 21 May 2002
Posts: 399
Location: Dornbirn/Austria

PostPosted: Thu Apr 10, 2003 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9636
Location: beyond the rim

PostPosted: Sat Apr 12, 2003 1:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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