Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
When I run df -h doesn't appear / and boot partition and shows me this message: df: `xfs':no such file or directory. Does anybody know how can fix it? Thanks...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    17

    A message from df -h

    When I run df -h doesn't appear / and boot partition and shows me this message:

    df: `xfs':no such file or directory.

    Does anybody know how can fix it?

    Thanks

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Did you format some partitions with xfs? Did you compile support for xfs into your kernel?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    17
    Yes I did. Some partitions with xfs

    What did you mean with this question : Did you compile support for xfs into your kernel?

    The sistem is running, I restart it and load but it shows me that message

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Quote Originally Posted by leo_messi86 View Post
    Yes I did. Some partitions with xfs

    What did you mean with this question : Did you compile support for xfs into your kernel?

    The sistem is running, I restart it and load but it shows me that message


    I'm just guessing here what the problem may be, I'm not exactly sure. Which partition did you format with xfs?

    What did you mean with this question : Did you compile support for xfs into your kernel?
    What I mean is, your kernel cannot read from XFS or FAT, FAT32 or any other partition type if the kernel has not been configured to recognize these types of partitions, but if the system is running fine then the problem must be elsewhere.
    You might look in /var/log/messages for anything related to XFS and report back here. Check the output of the dmesg command too.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  5. #5
    Just Joined!
    Join Date
    Sep 2010
    Posts
    17
    root -> /
    in /var/log/message appears many messages something like this:

    kernel: ioctl32(cmaeventd:5713): Unknown cmd fd(6) cmd(c058420b){00} arg(ffc5adf0) on /dev/sg13

  6. #6
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Which distro are you running? Is xfs module loaded? Use the lsmod command to find out.
    sudo lsmod
    If you are using Ubuntu or Debian based...try to install xfsprogs
    Code:
    sudo apt-get install xfsprogs
    Then
    Code:
    sudo modprobe xfs
    Now try your command again.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  7. #7
    Just Joined!
    Join Date
    Sep 2010
    Posts
    17
    Suse 10

    I did it (lsmod) and appears XFS .......... xfs_quota

    and this sudo modprobe xfs for what???

  8. #8
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Quote Originally Posted by leo_messi86 View Post
    Suse 10

    I did it (lsmod) and appears XFS .......... xfs_quota

    and this sudo modprobe xfs for what???
    To load the XFS module, if it wasn't already loaded. I guess that rules out my theory. I'm not getting anything when I search for the error you posted
    kernel: ioctl32(cmaeventd:5713): Unknown cmd fd(6) cmd(c058420b){00} arg(ffc5adf0) on /dev/sg13
    Quiet frankly, I'm stumped...hopefully someone else can chime in with some good info on that.
    Do you have a partition name xfs?
    Post the output of
    Code:
    sudo cat /etc/mtab
    This should show all mounted partitions and this is where df command gets it info from.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  9. #9
    Just Joined!
    Join Date
    Sep 2010
    Posts
    17
    this output of cat /etc/mtab:

    Code:
    / xfs defaults rw,1 0 0
    proc /proc proc rw 0 0
    sysfs /sys sysfs rw 0 0
    debugfs /sys/kernel/debug debugfs rw 0 0
    udev /dev tmpfs rw 0 0
    devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
    tmpfs /dev/shm tmpfs rw,size=6g 0 0
    securityfs /sys/kernel/security securityfs rw 0 0
    proc /var/lib/ntp/proc proc rw 0
    Do you think that is a big problem?
    Last edited by MikeTbob; 09-25-2010 at 03:13 AM. Reason: Added code tags

  10. #10
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Quote Originally Posted by leo_messi86 View Post
    this output of cat /etc/mtab:

    / xfs defaults rw,1 0 0
    proc /proc proc rw 0 0
    sysfs /sys sysfs rw 0 0
    debugfs /sys/kernel/debug debugfs rw 0 0
    udev /dev tmpfs rw 0 0
    devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
    tmpfs /dev/shm tmpfs rw,size=6g 0 0
    securityfs /sys/kernel/security securityfs rw 0 0
    proc /var/lib/ntp/proc proc rw 0

    Do you think that is a big problem?
    If your system is up and running with no complaints except the output of df command, then no, it's probably not a big problem. I still don't know what the problem is......it's weird.
    How about one more shot....post the output of
    Code:
    cat /etc/fstab
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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