LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2007, 09:35 AM   #1
bowens44
LQ Newbie
 
Registered: Aug 2005
Posts: 25

Rep: Reputation: 15
df -h What am I seeing here?


This doesn't look right to me. What exactly am I seeing here? This distro is installed on a 250 gig drive. It's the only thing on the drive. Do I have a file system problem? Everything is working fine as far as I can tell. It doesn't seem to know anything about the drive size.


:~# df -ah
Filesystem Size Used Avail Use% Mounted on
proc 0 0 0 - /proc
/sys 0 0 0 - /sys
varrun 1014M 260K 1014M 1% /var/run
varlock 1014M 0 1014M 0% /var/lock
udev 1014M 60K 1014M 1% /dev
devshm 1014M 0 1014M 0% /dev/shm
devpts 0 0 0 - /dev/pts
lrm 1014M 34M 980M 4% /lib/modules/2.6.22-14-generic/volatile
securityfs 0 0 0 - /sys/kernel/security
//192.168.5.100/linux_bkups
153G 73G 81G 48% /media/backups
//192.168.5.100/MP3 153G 73G 81G 48% /media/mp3s
//192.168.5.100/data 38G 32G 6.1G 84% /media/data

fdisk -l shows this:
:~# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008ec16

Device Boot Start End Blocks Id System
/dev/sda1 * 1 29644 238115398+ 83 Linux
/dev/sda2 29645 30401 6080602+ 5 Extended
/dev/sda5 29645 30401 6080571 82 Linux swap / Solaris
 
Old 11-25-2007, 09:54 AM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You are seeing the dummy filesystems that are created on boot with the -a option. You read up on the command with the man command. ' man df '. This is pretty much what it says.

Brian
 
Old 11-25-2007, 10:00 AM   #3
Fantasio
Member
 
Registered: Nov 2007
Location: Vinsobres - Drome - France
Distribution: SuSE Linux 11.3
Posts: 152

Rep: Reputation: 19
No matters with your drive

fdisk -l : shows you drive size : Disk /dev/sda: 250.0 GB, 250059350016 bytes
 
Old 11-25-2007, 10:27 AM   #4
KrahnacK
Member
 
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15
no need to worry, linux (and unix in general) OS use virtual filesystems to manage and handle kernel or hardware related things.
for example, files such as /proc/cpuinfo are exposing processor detailed information

if you don't wanna see all these, you can just do a
Code:
df -h
you'll still see some of them (tmpfs and udev related), but far less
 
Old 11-25-2007, 12:50 PM   #5
bowens44
LQ Newbie
 
Registered: Aug 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by KrahnacK View Post
no need to worry, linux (and unix in general) OS use virtual filesystems to manage and handle kernel or hardware related things.
for example, files such as /proc/cpuinfo are exposing processor detailed information

if you don't wanna see all these, you can just do a
Code:
df -h
you'll still see some of them (tmpfs and udev related), but far less
When I use df -h, the output is almost the same.
--

df -h
Filesystem Size Used Avail Use% Mounted on
varrun 1014M 260K 1014M 1% /var/run
varlock 1014M 0 1014M 0% /var/lock
udev 1014M 60K 1014M 1% /dev
devshm 1014M 0 1014M 0% /dev/shm
lrm 1014M 34M 980M 4% /lib/modules/2.6.22-14-generic/volatile
//192.168.5.100/linux_bkups
153G 73G 81G 48% /media/backups
//192.168.5.100/MP3 153G 73G 81G 48% /media/mp3s
//192.168.5.100/data 38G 32G 6.1G 84% /media/data


--


What I still don't see is total disk space used and space remaining. Even when I use a gui like KDiskFree to display this info it has a ? under file system type and N/A under the mount point /.

This is with kubuntu. When I do df -h in fedora I get:
df -ah
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
143G 6.2G 129G 5% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
/dev/sda1 190M 19M 162M 11% /boot
tmpfs 1014M 24K 1014M 1% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
//192.168.5.100/linux_bkups
153G 73G 81G 48% /home/backups
//192.168.5.100/MP3 153G 73G 81G 48% /home/mp3s
//192.168.5.100/data 38G 32G 6.1G 84% /home/data

again, I see totals.

I also see total space used and free on the slackware distro I have at work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration