Hi,
This is probably an easy problem to fix, but I'm a bit confused. I'm running 8.1-RELEASE with raidz1. The problem is that when I'm trying to create zroot/usr/home/nez the mountpoint gets somehow wrong and the data isn't in my home anymore. It is probably due to linking on /usr/home and /home, but shouldn't zfs handle it?
When I try to create
It mounts it automatically, but as you can see there's nothing there. And my home is empty. I would like to make these new pools so I can sharenfs only e.g. /usr/home/nez/videos etc. I assume it's only possible to zfs sharenfs only pools, not folders?
So what should I do to get pool for my home directory?
Thanks for your help.
This is probably an easy problem to fix, but I'm a bit confused. I'm running 8.1-RELEASE with raidz1. The problem is that when I'm trying to create zroot/usr/home/nez the mountpoint gets somehow wrong and the data isn't in my home anymore. It is probably due to linking on /usr/home and /home, but shouldn't zfs handle it?
Code:
$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 187G 1.59T 611M legacy
...
zroot/usr 185G 1.59T 1.49G /usr
zroot/usr/home 183G 1.59T 183G /usr/home
...
Code:
$ sudo zfs create zroot/usr/home/nez
$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 187G 1.59T 611M legacy
zroot/usr 185G 1.59T 1.49G /usr
zroot/usr/home 183G 1.59T 183G /usr/home
zroot/usr/home/nez 24.0K 1.59T 24.0K /usr/home/nez
$ zfs get mountpoint
NAME PROPERTY VALUE SOURCE
zroot mountpoint legacy local
zroot/usr mountpoint /usr local
zroot/usr/home mountpoint /usr/home inherited from zroot/usr
zroot/usr/home/nez mountpoint /usr/home/nez inherited from zroot/usr
It mounts it automatically, but as you can see there's nothing there. And my home is empty. I would like to make these new pools so I can sharenfs only e.g. /usr/home/nez/videos etc. I assume it's only possible to zfs sharenfs only pools, not folders?
So what should I do to get pool for my home directory?
Thanks for your help.