Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Guys, I am having this odd situation.... all FS are working fine, but Df is not showing some FS. Besides, df against some FS do not show the physical ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    6

    df not showing physical disk for a FS


    Hi Guys,

    I am having this odd situation....
    all FS are working fine, but Df is not showing some FS.
    Besides, df against some FS do not show the physical disk

    What could be wrong ? Any ideas ?



    #cat /etc/fstab
    /dev/sda2 / ext3 acl,user_xattr 0 0
    /dev/sda1 /boot ext3 acl,user_xattr 0 0
    /dev/sda13 /oracle ext3 acl,user_xattr 0 0
    /dev/sda11 /home ext3 acl,user_xattr 0 0
    /dev/sda10 /opt ext3 acl,user_xattr 0 0
    /dev/sda12 /tmp ext3 acl,user_xattr 0 0
    /dev/sda8 /usr ext3 acl,user_xattr 0 0
    /dev/sda9 /var ext3 acl,user_xattr 0 0
    /dev/sda3 swap swap pri=42 0 0
    /dev/sda5 swap swap pri=42 0 0
    /dev/sda6 swap swap pri=42 0 0
    /dev/sda7 swap swap pri=42 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    proc /proc proc defaults 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    sysfs /sys sysfs noauto 0 0

    #mount
    /dev/sda2 on / type ext3 (rw,acl,user_xattr)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    tmpfs on /dev/shm type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
    /dev/hda on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf
    /dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
    usbfs on /proc/bus/usb type usbfs (rw)
    nfsd on /proc/fs/nfsd type nfsd (rw)
    /dev/sda13 on /oracle type ext3 (rw,acl,user_xattr)

    #df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda2 518032 338040 153676 69% /
    tmpfs 4079724 12 4079712 1% /dev/shm
    /dev/sda13 19227076 10565964 7684424 58% /oracle

    #df -k /home
    Filesystem 1K-blocks Used Available Use% Mounted on
    - 1032056 947276 32252 97% /home

    # df -k /opt
    Filesystem 1K-blocks Used Available Use% Mounted on
    - 4128320 1305704 2612800 34% /opt

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    478
    the output of "fdisk -l" would be interesting--that shows
    all your partitions on all disks: is there an sda11?

    if so, it is not being mounted--see "mount"--so the /home
    directory you exhibit, is on the root partition /sda2, and
    not on sda11. Ditto for sda8-sda12: only sda2 and sda13
    are being mounted at bootup.

    probably an fstab problem.
    the sun is new every day (heraclitus)

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Posts
    6
    Quote Originally Posted by tpl View Post
    the output of "fdisk -l" would be interesting--that shows
    all your partitions on all disks: is there an sda11?

    if so, it is not being mounted--see "mount"--so the /home
    directory you exhibit, is on the root partition /sda2, and
    not on sda11. Ditto for sda8-sda12: only sda2 and sda13
    are being mounted at bootup.

    probably an fstab problem.
    Hi,
    Fdisk shows the disk and the partitions.....


    # fdisk -l

    Disk /dev/sda: 146.8 GB, 146814271488 bytes
    128 heads, 32 sectors/track, 70006 cylinders
    Units = cylinders of 4096 * 512 = 2097152 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 51 104432 83 Linux
    /dev/sda2 52 308 526336 83 Linux
    /dev/sda3 309 1333 2099200 82 Linux swap
    /dev/sda4 1334 70006 140642304 f W95 Ext'd (LBA)
    /dev/sda5 1334 2358 2099184 82 Linux swap
    /dev/sda6 2359 3383 2099184 82 Linux swap
    /dev/sda7 3384 4408 2099184 82 Linux swap
    /dev/sda8 4409 6969 5244912 83 Linux
    /dev/sda9 6970 8506 3147760 83 Linux
    /dev/sda10 8507 10555 4196336 83 Linux
    /dev/sda11 10556 11068 1050608 83 Linux
    /dev/sda12 11069 12093 2099184 83 Linux
    /dev/sda13 12094 21631 19533808 83 Linux


    and see this

    # cat /proc/mounts
    rootfs / rootfs rw 0 0
    /dev/root / ext3 rw 0 0
    proc /proc proc rw 0 0
    sysfs /sys sysfs rw 0 0
    devpts /dev/pts devpts rw 0 0
    tmpfs /dev/shm tmpfs rw 0 0
    /dev/sda1 /boot ext3 rw 0 0
    /dev/sda11 /home ext3 rw 0 0
    /dev/sda10 /opt ext3 rw 0 0
    /dev/sda12 /tmp ext3 rw 0 0
    /dev/sda8 /usr ext3 rw 0 0
    /dev/sda9 /var ext3 rw 0 0
    /dev/dvd /media/dvd subfs ro,nosuid,nodev 0 0
    /dev/fd0 /media/floppy subfs rw,sync,nosuid,nodev 0 0
    /dev/dvd /media/dvd subfs ro,nosuid,nodev 0 0
    /dev/fd0 /media/floppy subfs rw,sync,nosuid,nodev 0 0
    usbfs /proc/bus/usb usbfs rw 0 0
    nfsd /proc/fs/nfsd nfsd rw 0 0
    /dev/sda13 /oracle ext3 rw 0 0

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •