[zfs-discuss] Filesystems disappearing while pool is still mounted

Bryn Hughes linux at nashira.ca
Thu Jun 21 13:40:31 EDT 2012

Have you turned on automount in /etc/default/zfs?

In /etc/default/zfs:

# Automatically run `zfs mount -a` at system start. Disabled by default.


On 12-06-20 05:54 PM, Latentexistence wrote:
> I'm running Ubuntu 12.04 Precise on a HP Microserver with 8GB RAM, an
> OCZ Vertex 30GB SSD for Ubuntu and mirrored 2TB disks for the ZFS
> pool. The disks already have data on from FreeNAS and are formatted
> with pool version 15.
> I've installed ZFS from the PPA and imported the pool with zfs import
> tank. It imports just fine and I can see and use files. However, after
> a reboot the filesystems do not show under /tank anymore, even though
> zpool status and zfs list show everything is still there and mounted.
> If I export and re-import the pool then everything shows up again.
> Example:
> steve at cube:~$ sudo zpool status
>    pool: tank
>   state: ONLINE
> status: The pool is formatted using an older on-disk format.  The pool
> can
>          still be used, but some features are unavailable.
> action: Upgrade the pool using 'zpool upgrade'.  Once this is done,
> the
>          pool will no longer be accessible on older software versions.
>   scan: none requested
> config:
>          NAME        STATE     READ WRITE CKSUM
>          tank        ONLINE       0     0     0
>            mirror-0  ONLINE       0     0     0
>              sdb2    ONLINE       0     0     0
>              sdd2    ONLINE       0     0     0
> errors: No known data errors
> steve at cube:~$ sudo zfs list
> tank             435G  1.36T   144K  /tank
> tank/karen      6.21G  1.36T  6.21G  /tank/karen
> tank/media       327G  1.36T   327G  /tank/media
> tank/resources   112K  1.36T   112K  /tank/resources
> tank/steve       101G  1.36T  66.7G  /tank/steve
> steve at cube:~$ ls /tank
> steve at cube:~$
> steve at cube:~$ sudo zpool export tank
> steve at cube:~$ sudo zpool import tank
> steve at cube:~$ ls /tank
> karen  media  resources  steve
> steve at cube:~$
> I'm not sure if the problem lies with the version of Ubuntu not yet
> being supported, or with the pool version, or something else. I can't
> upgrade the pool version until this is working because I'm rebooting
> into FreeNAS to access my files until this works.
> Any ideas?

More information about the zfs-discuss mailing list