Quantcast
Channel: Active questions tagged zfs - Server Fault
Viewing all articles
Browse latest Browse all 151

upgrading zfs-linux with active zpool and /home mounted to it

$
0
0

I am running zfs-linux on a Linux Mint (LMDE 6) machine for maintaining a RAID-Z2 storage.The home directory is its own dataset with mountpoint=/home.

zpool/home cannot be unmounted by non-root user. sudo zfs unmount zpool/home yields cannot unmount '/home': pool or dataset is busy.

zfs-linux is installed from debian stable backports.The package manager (apt) lists new available version of zfs-linux.

zfs-dkms/stable-backports,stable-backports 2.3.1-1~bpo12+1 all [upgradable from: 2.2.7-1~bpo12+1]zfs-zed/stable-backports 2.3.1-1~bpo12+1 amd64 [upgradable from: 2.2.7-1~bpo12+1]zfsutils-linux/stable-backports 2.3.1-1~bpo12+1 amd64 [upgradable from: 2.2.7-1~bpo12+1]

I am not sure about the recommended way to upgrade the zfs-linux package. I was thinking about the following possible procedures:

procedure 1

  1. activate root account (deactivated by default in LMDE)
  2. log out of user and log in root user without desktop environment (shell through Ctrl + Alt + F1)
  3. zpool export zpool
  4. apt update && apt upgrade (upgrade would be made with root user, not sure if this is valid/recommended)
  5. zpool import zpool
  6. reboot

procedure 2

Simply sudo apt update && sudo apt upgrade to install the new zfs-linux package.I am not sure if this would risk data loss, cause any other problems or would even be possible (because /home is busy).


Is one of the two procedures recommended for a particular reason? Are there other recommended procedures?


Viewing all articles
Browse latest Browse all 151

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>