disk problem

alan alan at clueserver.org
Fri Dec 30 22:53:26 UTC 2005


On Fri, 30 Dec 2005, Chris Norman wrote:

> Hi people,
> I have just put a 114 Gb disk in my machine and coppied a load of stuff over 
> to it. The stuff seems fine, the disk is mounted on /media/hdb1 and I've 
> remounted that folder to /var/ftp (for the ftp server). The only thing is, 
> when I use df on either of my disks, I get this output:
> 
> [chris at bob ~]$ df /dev/hda
> Filesystem           1K-blocks      Used Available Use% Mounted on
> -                       249184       696    248488   1% /dev
> [chris at bob ~]$ df /dev/hdb
> Filesystem           1K-blocks      Used Available Use% Mounted on
> -                       249184       696    248488   1% /dev
> Is that right? Shouldn't it say "ext2" in the filesystem column???

Nope.  You are telling df to look at the mountpoint of /dev/hda (which is 
in /dev), not what is mounted on it.

Try:

df /media/hdb1
df /var/ftp

-- 
"George W. Bush -- Bringing back the Sixties one Nixon at a time."




More information about the users mailing list