Bicycling, Photography and Programming

Bitratchet

Post navigation

« Ubuntu 18.04 Netplan!
Nesting dice trays »

Apply ZFS driver settings without reboot

October 3, 2018 by jedreynolds

Apply your modprobe.d values without rebooting:

egrep -v '^#|^\s*$' zfs.conf \
| while read L; do
   M=($L)
   N=${M[2]}
   P=(${N/=/ })
   echo "${P[1]}" > /sys/module/zfs/parameters/${P[0]}
done

#zfs #linux #bash

Rate this:

please share

  • Share
  • Twitter
  • Email
  • LinkedIn
  • Facebook
  • Reddit
  • Print

Like this:

Like Loading...

Related

This Post was posted in DIY, F/LOSS, fun, Linux, sysadmin and tagged bash, Linux, modprobe, zfs. Bookmark the permalink.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 669 other followers

Blog at WordPress.com.
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
%d bloggers like this: