Remaining diskspace confusion - "df" contradicts other info.
From: Dave Smithz (SPAM)
Date: 01/25/05
- Previous message: Barry Margolin: "Re: Logger messages getting stuck in a buffer somewhere?"
- Next in thread: Barry Margolin: "Re: Remaining diskspace confusion - "df" contradicts other info."
- Reply: Barry Margolin: "Re: Remaining diskspace confusion - "df" contradicts other info."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 25 Jan 2005 03:16:13 -0000
Hi There,
I wanted to do a mysqldump on a live system and under no circumstances do I
want to break the system. Therefore being very careful I was checking
certain things out.
To my webspace my control panel informs me I have used about 50mb of my
600mb available. However login in via SSH to run the mysqldump, I done a df
(with limited understanding of the command) and I got the following:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda1 99150 79134 14896 85% /
/dev/sda2 1007896 865348 91348 91% /usr
/dev/sda5 4031680 1769432 2057448 47% /var
/dev/sda6 14939148 13231964 948300 94% /home
/dev/sda7 14939148 5742964 8437300 41% /home2
Now this says to me there is not much space in the home dir.
When I do a pwd the path is
/home/myusername
(Note that this is a shared hosting account box)
Now this leads me to believe that although I should have 550mb of space, the
home folder is almost full.
Therefore if I do my mysqldump, I could actually make the machine run out of
disk space making all kind of nasty things happen.
At first I was going to ask "Can anyone enlighten me on what I am reading
wrong, or have I spotted a potential error?"
But discovering df -h led me to the real sizes. So there is actually 926MB
remaining and 13G used. However, does this not still seem a little low. If
other users suddenly maxed out their account we would be running at almost
full capacity (if not over) and should not files systems stay under 90% on
UNIX boxes.
Kind regards
Dave.
- Previous message: Barry Margolin: "Re: Logger messages getting stuck in a buffer somewhere?"
- Next in thread: Barry Margolin: "Re: Remaining diskspace confusion - "df" contradicts other info."
- Reply: Barry Margolin: "Re: Remaining diskspace confusion - "df" contradicts other info."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]