Собственно zfs-shutdown падает с сообщением «rootfs is not zfs». Так и есть
$mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=1525756,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
mainpool/system on / type zfs (rw,relatime,xattr)
mainpool/usr on /usr type zfs (rw,noatime,xattr)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
bfqio on /sys/fs/cgroup/bfqio type cgroup (rw,nosuid,nodev,noexec,relatime,bfqio)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
mainpool/var on /var type zfs (rw,noatime)
mainpool/home on /home type zfs (rw,noatime)
mainpool/opt on /opt type zfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,mode=1777)
tmpfs on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777,size=10m)
tmpfs on /var/tmp/portage type tmpfs (rw,size=2000M,mode=0777)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
O,SHI, дважды примонтировано на /
Что такое этот rootfs? Какая конфигурация считается корректная для zfs? Какие конфиги показать?
$sudo zfs list
NAME USED AVAIL REFER MOUNTPOINT
mainpool 53,3G 451G 136K legacy
mainpool/home 31,4G 451G 26,9G legacy
mainpool/opt 1,10G 451G 1,10G legacy
mainpool/system 374M 451G 368M /
mainpool/usr 14,9G 451G 14,2G legacy
mainpool/var 5,50G 451G 5,50G legacy