Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu server 12.04 FATAL: Module zfs not found. #52

Closed
leprechuan opened this issue Sep 26, 2012 · 3 comments
Closed

ubuntu server 12.04 FATAL: Module zfs not found. #52

leprechuan opened this issue Sep 26, 2012 · 3 comments

Comments

@leprechuan
Copy link

Hi
I have been having a problem with getting zfs to work on my server.
If i try to mount a drive i get the following message: "Failed to load ZFS module stack.
Load the module manually by running 'insmod /zfs.ko' as root."
Found in another thread that i should try modprobe zfs and that gives me the following error: "FATAL: Module zfs not found." i don't know what is wrong or what my next step should be any help is appreciated

@dajhorn
Copy link
Member

dajhorn commented Sep 26, 2012

How did you install ZoL? What does the dkms status command return? What versions of Debian or Ubuntu are you using?

@leprechuan
Copy link
Author

i followed the folling guide to get it installed: http://www.danielscottlawrence.com/installing-zfs-on-ubuntu-server-12-04-running-on-a-n40l/
I am running ubuntu server 12.04 and dkms status returns:
spl, 0.6.0.80: added
zfs, 0.6.0.80: added

@dajhorn
Copy link
Member

dajhorn commented Sep 26, 2012

Always do a full system upgrade after adding a PPA. That document is missing this command:

# apt-get dist-upgrade

Also run these two commands to finish the installation:

# dkms install -m spl -v 0.6.0.80
# dkms install -m zfs -v 0.6.0.80

The PPA is only tested against official Ubuntu kernels. Note that:

  • The kpkg utility must be used to install customized kernels.
  • A 64-bit kernel is always required, even on something like the N40L.
  • If you did anything but a regular default Ubuntu installation, then you must install the build-essential package and the appropriate kernel-headers-* package.

If the problem persists, then provide the full build transcript (do a CTRL-A copy in the terminal window) and the output of these commands:

# lsb_release -a
# uname -a
# dmesg : or the `/var/log/kern.log` file.

@dajhorn dajhorn closed this as completed Oct 29, 2012
dajhorn pushed a commit that referenced this issue Mar 24, 2016
Prior to Linux 3.1 the kern_path_parent symbol was exported for
use by kernel modules.  As of Linux 3.1 it is now longer easily
available.  To handle this case the spl will now dynamically
look up address of the missing symbol at module load time.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #52
dajhorn pushed a commit that referenced this issue Mar 24, 2016
Preferentially use the vfs_fsync() function.  This function was
initially introduced in 2.6.29 and took three arguments.  As
of 2.6.35 the dentry argument was dropped from the function.
For older kernels fall back to using file_fsync() which also
took three arguments including the dentry.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #52
dajhorn pushed a commit that referenced this issue Mar 24, 2016
As of Linux 3.1 the shrink_dcache_memory and shrink_icache_memory
functions have been removed.  This same task is now accomplished
more cleanly with per super block shrinkers.  This unfortunately
leaves us no easy way to support the dnlc_reduce_cache() function.

This support has always been entirely optional.  So when no
reasonable interface is available allow the dnlc_reduce_cache()
function to effectively become a no-op.

The downside of this change is that it will prevent the zfs arc
meta data limts from being enforced.  However, the current zfs
implementation in this regard is already flawed and needs to
be reworked.  If the arc needs to enfore a meta data limit it
will need to be extended to coordinate directly with the zpl.
This will allow us to drop all this compatibility code and get
more fine grained control over the cache management.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants