Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No space left on device -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
PhileDealer
n00b
n00b


Joined: 25 Feb 2009
Posts: 4

PostPosted: Wed Feb 25, 2009 1:42 pm    Post subject: No space left on device -Solved- Reply with quote

Hi guys, I've been keeping an eye on gentoo for the better part of 4 years now, and decided I want to grab my computer by the short hairs and squeeze all i can out of it. During the install I get this odd error:

cp: cannot create regular file '/mnt/gentoo/etc/resolv.conf' : No space left on device.

I thought this was a bit odd, so I ran df

Filesystem Use% Mounted on
(more here such as CD but left out)
/dev/hda3 62% /mnt/gentoo
/dev/hda1 2% /mnt/gentoo/boot

I've done a search on the forums but didn't turn up too much on this topic. I'm hoping I've just overlooked something very simple.

Thanks for the advise guys!

Hm, after closer inspection, it seems I only see 2 gigs of a 20 gig drive. I guess this means I need to play in the bios

(edit spelling > me)


Last edited by PhileDealer on Thu Feb 26, 2009 1:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Wed Feb 25, 2009 2:24 pm    Post subject: Reply with quote

I take it you figured this out ... hopefully it's a partitioning error. If the computer is old enough to choke on bigger drives (isn't there a ~2 gb limit on really ancient boxes?) you might need to give the kernel boot parameter
Code:
hdX=stroke
.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
PhileDealer
n00b
n00b


Joined: 25 Feb 2009
Posts: 4

PostPosted: Wed Feb 25, 2009 6:03 pm    Post subject: Reply with quote

I'll give that a try stroke option when I get home. The machine is an old crappy eMachines 600mhz, but it is the original hdd in it. There is around 700mb left free on the drive. I didn't think the resolve file was that large. It must just be a glitch in my partition.

Thanks for the tip!
Back to top
View user's profile Send private message
pdw_hu
Apprentice
Apprentice


Joined: 02 Jun 2008
Posts: 200
Location: Budapest, Hungary

PostPosted: Wed Feb 25, 2009 6:08 pm    Post subject: Reply with quote

PhileDealer wrote:
I didn't think the resolve file was that large. It must just be a glitch in my partition.

Thanks for the tip!


That message doesn't mean that resolv.conf is big, but that space ran out while creating/using/etc. that particular file.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Wed Feb 25, 2009 8:54 pm    Post subject: Reply with quote

when using 'df' always also check 'df -i'

unfortunately it's easy to run out of inodes on ext2/3 with bad (default) settings
Back to top
View user's profile Send private message
rrbrussell
n00b
n00b


Joined: 21 Jun 2004
Posts: 64

PostPosted: Thu Feb 26, 2009 7:50 am    Post subject: Reply with quote

frostschutz wrote:
when using 'df' always also check 'df -i'

unfortunately it's easy to run out of inodes on ext2/3 with bad (default) settings

and ext4.

fdisk -l will tell you if the drive is actually being recognized at its full size. A quick example.
Code:

mercury ~ # fdisk -l

Disk /dev/sda: 82.3 GB, 82347195904 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd825fdd5

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          34      273073+  83  Linux
/dev/sda2              35       10011    80140252+  8e  Linux LVM
Back to top
View user's profile Send private message
PhileDealer
n00b
n00b


Joined: 25 Feb 2009
Posts: 4

PostPosted: Thu Feb 26, 2009 1:33 pm    Post subject: Reply with quote

Well I tried all that was suggested and this hdd was still being stubborn. df -h said 3% used and df -i showed 2%. I even pulled out the drive and gave it a hug then started the install over with same results. I just happened to have another old ide drive kickin around that was 40 gig and shazam, full 40 gigs of love showed in fdisk -l. I'm sure my wife was up a few nights ago pulling gigabytes out of the drive with tweezers as I always leave the case open on this machine, just to keep me on my toes :P.

Thanks again guys!
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