Solved zfs rename /usr/home to /home

I have this:

zroot/usr/home 11327729208 96 11327729112 0% /usr/home

zfs rename -p zroot/usr/home zroot/home

Then:

zroot/home 11327729192 96 11327729096 0% /zroot/home

Why it doesn't mount it to /home ?
 
And to answer your why: when zroot/usr/home was under zroot/usr it inherited its mountpoint property which was set to /usr.
After moving the dataset to zroot/home it started inheriting from zroot.
Your solution is the correct one.

You can read about mountpoint and property inheritance in the ZFS documentation.
 
Back
Top