ZFS ZFS pool not mounted

Good day.
Created ZFS pool.
Doesn't mount after reboot ZFS pool.
zpool status - no errors.

In dmesg.log:
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)

in loader.conf sysctl parameter added.

What do you advise?
 
Show the mountpoint and canmount properties of the dataset.
 
Code:
zpool status
  pool: tank
 state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          ada1      ONLINE       0     0     0

errors: No known data errors
root@freebsdtr:/var/log# zfs get mountpoint /tank
'/tank': not a ZFS filesystem
root@freebsdtr:/var/log# zfs get mountpoint /tank/CIFSroot
/tank/CIFSroot: No such file or directory
root@freebsdtr:/var/log# zfs list
NAME            USED  AVAIL  REFER  MOUNTPOINT
tank           3,26G  31,1G    24K  /tank
tank/CIFSroot  3,26G  31,1G  3,26G  /tank/CIFSroot
root@freebsdtr:/var/log# zfs get canmount /tank/CIFSroot
/tank/CIFSroot: No such file or directory
 
Maybe you should read the manuals again. /tank is not a pool name, that's a directory. The pool name is tank.

zfs-get(8)
 
wrong, who does not happen.
Code:
 zfs get mountpoint tank
NAME  PROPERTY    VALUE       SOURCE
tank  mountpoint  /tank       default

root@freebsdtr:/var/log# zfs get mountpoint tank/CIFSroot
NAME           PROPERTY    VALUE           SOURCE
tank/CIFSroot  mountpoint  /tank/CIFSroot  default

root@freebsdtr:/var/log# zfs get canmount tank
NAME  PROPERTY  VALUE     SOURCE
tank  canmount  on        default

root@freebsdtr:/var/log# zfs get canmount tank/CIFSroot
NAME           PROPERTY  VALUE     SOURCE
tank/CIFSroot  canmount  on        default
 
How did you determine that it didn't get mounted? What is this pool used for?

Booted the system and looked into /tank yet?
 
root@freebsdtr:/tank# ls
root@freebsdtr:/tank# ls -l
total 0

Used for share resources Samba. Assigned security permissions to Windows domain users. All - good.
After reboot - pool unmount. In /var/log - nothing special.
And accordingly through SMB not share.
 
Back
Top