Gossamer Forum
Home : General : Internet Technologies :

Out of space?

Quote Reply
Out of space?
Wow...I'm on a run...Smile

I've got something really weird going on here. I'm using Wget to retreive QMail. However, when running the download I get;

> wget http://cr.yp.to/software/qmail-1.03.tar.gz
--08:46:53-- http://cr.yp.to/software/qmail-1.03.tar.gz
=> `qmail-1.03.tar.gz'
Connecting to cr.yp.to:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 220,668 [application/x-gzip]

0K -> ....
Cannot write to `qmail-1.03.tar.gz' (No space left on device).

This is really weird...as when I go into the sysatem and check for free space, it comes up with;

Size 33293164 kB / Free 26804452

Is it me, or is something really weird going on here? Unimpressed

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy.] Out of space? In reply to
Where are you trying to save to?
Quote Reply
Re: [Paul] Out of space? In reply to
I tried doing it into the root (i.e. /), but when thatr didn't work I wasnt too worried. I them cd'ed into the /home/ directory, and tried it there. That is where it says I have all that space available :(

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy.] Out of space? In reply to
/root/ and /home/ are both saying full?

Try:

du

....in both directories and see what shows up.

Last edited by:

Paul: May 15, 2002, 7:25 AM
Quote Reply
Re: [Paul] Out of space? In reply to
Try df and see where your space if left. You might have allocated a small partition for your /home directory or something.

- wil
Quote Reply
Re: [Paul] Out of space? In reply to
In root, trying 'du';

loads of information about other folders, but the part I would imagine is important said: 235196

Doing the same for 'home' said; 4797496

Unimpressed

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy.] Out of space? In reply to
Never mind..it seems to have sorted itself out now. Very odd.

Thanks both of you Smile

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy.] Out of space? In reply to
Out of interest, what was the output of df?

- wil
Quote Reply
Re: [Wil] Out of space? In reply to
That won't show any info for /root/
Quote Reply
Re: [Paul] Out of space? In reply to
Yes, it does?

- wil
Quote Reply
Re: [Wil] Out of space? In reply to
Ugh no it doesn't...why do you argue with everything I say Wink
Quote Reply
Re: [Paul] Out of space? In reply to
Because I don't understand what you're saying. Not arguing. Here's a sample output from a df command on one of my boxes.

Code:
bash# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda1 66333 7904 55004 13% /
/dev/hda3 1844924 351839 1397729 20% /usr
/dev/hdd1 7963671 9 7550812 0% /usr/spool/mail

What did you mean by "That won't show any info for /root/"?

- wil
Quote Reply
Re: [Wil] Out of space? In reply to
>>
What did you mean by "That won't show any info for /root/"?
<<

Do you see /root/ listed when you do "df" ? ...no, hence "That won't show any info for /root/"
Quote Reply
Re: [Paul] Out of space? In reply to
That's because I have no folder called /root/ on my system. Unsure

- wil
Quote Reply
Re: [Wil] Out of space? In reply to
In Reply To:
Out of interest, what was the output of df?

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda8 521748 444812 50432 90% /
/dev/hda1 23302 3485 18614 16% /boot
/dev/hda10 33293164 4800220 26801704 16% /home
/dev/hda9 256667 36 243379 1% /tmp
/dev/hda5 2071384 1724976 241184 88% /usr
/dev/hda6 1257048 16604 1176588 2% /var

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy.] Out of space? In reply to
Hi,

Sorry Paul, your wrong on this one. =) /root is in the / file system, and from Andy's output, it's showing 90% full and only 50k free. So if you tried to save qmail in /root you would not have enough space.

Another nice thing is to try df -h and it will show you in "human readable output:

[root@alex /root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 1.9G 363M 1.5G 19% /
/dev/hda2 510M 1.5M 503M 0% /tmp
/dev/hda3 16G 7.4G 8.8G 46% /usr
/dev/hda4 18G 13G 4.3G 76% /home
[root@alex /root]#

So you can see how many gigs are free on each partition.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Out of space? In reply to
>>
Sorry Paul, your wrong on this one. =) /root is in the / file system,
<<

Yes but / doesn't give accurate stats for /root, it includes /root, /bin etc... doesnt it?

Perhaps its my fault for being unclear....I meant you wont see stats for /root/ alone....so infact it may not be /root thats full

Last edited by:

Paul: May 15, 2002, 12:24 PM
Quote Reply
Re: [Paul] Out of space? In reply to
Yes, it tells you the amount of free space on /, which on Andy's system includes everything except /tmp, /home, /boot, /usr, /var.

Doing a du, just tells you how much space /root is using, but this doesn't help if you don't know how much space you have. =)

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Out of space? In reply to
>>
Doing a du, just tells you how much space /root is using, but this doesn't help if you don't know how much space you have. =)
<<

I thought it may show something obvious like a large file.
Quote Reply
Re: [Paul] Out of space? In reply to
Your brain works in the opposite direction to mine then :-) And you're making life more difficult for yourself using your method.

- wil
Quote Reply
Re: [Wil] Out of space? In reply to
>>
Your brain works in the opposite direction to mine then :-)
<<

Yep, the right direction ;)

>>
And you're making life more difficult for yourself using your method.
<<

My life is fine...my server has neverending space ;) (until I mirror cpan)

Last edited by:

Paul: May 16, 2002, 2:57 AM
Quote Reply
Re: [Paul] Out of space? In reply to
Did you manage to complete your mirror of CPAN?

- wil
Quote Reply
Re: [Wil] Out of space? In reply to
Yeah, then I removed it yesterday when I hit 100% capacity in /usr/local lol
Quote Reply
Re: [Paul] Out of space? In reply to
LOL. I've got a spare 10gig flying around here if you're interested :-)

- wil
Quote Reply
Re: [Wil] Out of space? In reply to
Nah its ok, Ive got 40 GIGs but most of it is in /home Cool