ZFS filesystem pool/fs1/fs2 not mounted on /sharedfolders/fs1/fs2

  • Hi,
    those are the mount points of my pool:
    root@x:/sharedfolders# zfs mount
    pool0 /pool0
    pool0/home /pool0/home
    pool0/books /pool0/books
    pool0/movies /pool0/movies
    pool0/movies/es /pool0/movies/es
    pool0/movies/en /pool0/movies/en
    pool0/home /sharedfolders/home
    pool0/books /sharedfolders/books
    pool0/movies /sharedfolders/movies


    /sharedfolders/home and sharedfolders/books contents is the same than zfs filesystems mounted on /pool0 (as they should be),
    but /sharedfolders/movies contains only 2 empty folders (/sharedfolders/movies/es and /sharedfolders/movies/en)


    systemd mount task is this:
    root@x:/sharedfolders# systemctl cat sharedfolders-movies.mount
    # /etc/systemd/system/sharedfolders-movies.mount
    # This configuration file is auto-generated.
    [Unit]
    Description=Mount shared folder movies to /sharedfolders/movies
    DefaultDependencies=no
    After=zfs-mount.service
    Conflicts=umount.target
    RequiresMountsFor=/pool0
    AssertPathIsDirectory=/pool0/movies
    AssertPathIsDirectory=/sharedfolders
    AssertPathIsMountPoint=/pool0


    [Mount]
    What=/pool0/movies
    Where=/sharedfolders/movies
    Type=none
    Options=bind,nofail


    [Install]
    WantedBy=local-fs.target


    So, I suspected that those 2 empty folders they were actual mount points for zfs filesystems, and I tried this:
    mount -t zfs -o bind,nofail /pool0/movies/es /sharedfolders/movies/es
    And it worked. I was able to see the contents of the zfs filesystem on /pool0/movies/es.


    As a workaround, I had created .mount files for all my zfs filesystems that omv is not mounting.

  • Hi,
    those are my pool mount points:
    root@x:/sharedfolders# zfs mount
    pool0 /pool0
    pool0/home /pool0/home
    pool0/books /pool0/books
    pool0/movies /pool0/movies
    pool0/movies/es /pool0/movies/es
    pool0/movies/en /pool0/movies/en
    pool0/home /sharedfolders/home
    pool0/books /sharedfolders/books
    pool0/movies /sharedfolders/movies


    /sharedfolders/home and sharedfolders/books contents is the same than zfs filesystems mounted on /pool0,
    but /sharedfolders/movies contains only 2 empty folders (/sharedfolders/movies/es and /sharedfolders/movies/en)


    systemd mount task is this:
    root@x:/sharedfolders# systemctl cat sharedfolders-movies.mount
    # /etc/systemd/system/sharedfolders-movies.mount
    # This configuration file is auto-generated.
    [Unit]
    Description=Mount shared folder movies to /sharedfolders/movies
    DefaultDependencies=no
    After=zfs-mount.service
    Conflicts=umount.target
    RequiresMountsFor=/pool0
    AssertPathIsDirectory=/pool0/movies
    AssertPathIsDirectory=/sharedfolders
    AssertPathIsMountPoint=/pool0


    [Mount]
    What=/pool0/movies
    Where=/sharedfolders/movies
    Type=none
    Options=bind,nofail


    [Install]
    WantedBy=local-fs.target


    So, I suspected that those 2 empty folders they were actual mount points for zfs filesystems, and I tried this:
    mount -t zfs -o bind,nofail /pool0/movies/es /sharedfolders/movies/es


    And it worked, I was able to see the contents of the zfs filesystem on /sharedfolders/movies/es.
    As I work-around I will try to create .mount files by hand, of those filesystems that omv is not mounting on sharedfolders.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!