Results 1 to 4 of 4

Thread: Unable to install XFS

  1. #1

    Default Unable to install XFS

    On an OpenSuse 11.1 64-bit system, I installed the "xfsprogs" package, version 2.10.1-1.31. After installing the package, "lsmod" does not show the module loaded. When I issue the command "modprobe xfs", I receive the following message.

    FATAL: Could not load /lib/modules/2.6.27.7-9-default/modules.dep: No such file or directory

    The directories present in the /lib/modules directory are:

    /2.6.27.29-0.1-debug
    /2.6.27.29-0.1-default
    /2.6.27.29-0.1-ec2
    /2.6.27.29-0.1-trace
    /2.6.27.29-0.1-xen

    so the error message is correct. But why would modprobe be looking in the wrong directory?

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Unable to install XFS

    so you updated your kernel but didn't reboot?

  3. #3

    Default Re: Unable to install XFS

    I didn't change the kernel, I just installed xfs as a module (via yast). And in any case, yes I rebooted, and the xfs module did not load. The question is, why is it looking for xfs in a directory that does not exist? What determines where modprobe, or the boot process, or anything else, looks for this module?

  4. #4
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Unable to install XFS

    You may have not changed the kernel yourself but the above you posted suggest you had a kernel update and your 2.6.27.2 kernel has been replaced/updated to 2.6.27.29

    modprobe looks for modules in the modules directory of the current running kernel and since you said that even after reboot it throws the same error, I suspect you are still running the old kernel (which is highly unlikely since from your messages, its modules directory has gone and without it, there's high probability the kernel won't boot) so you may need to go look in /boot/grub/menu.lst to see which kernel entries you have

    Also, just because you have installed a file system package, does not mean that it will automatically load/insert the FS module for the file systems. Modules are only inserted automatically when required. The xfs module is already part of the kernel and does not depend on the xfsprogs package which is a package that carries xfs utilities for checking, resizing, defragging, etc of the said file system

    Further, you may also need to run as root mkinitrd and after it depmod (just in case)

Posting Permissions

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