osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[zfs-discuss] move /home to ZFS pool


Thank you Richard,

Did it !! :)

Did the thing with a little patience

moved the users from /home to /opt

Then did

zfs set mountpoint=/home  homedata/home

usermod to new home

# pwd

/home/{user}

earlier it was not.

Also created a new user, worked fine. Earlier 'cd /home' would take me
to old directory.

Thank you


On 14 October 2017 at 17:34, Richard Laager <rlaager at wiktel.com> wrote:
> Your /etc/fstab shows the ZFS /home commented out, and the btrfs /home
> mountpoint not commented out. Obviously, that's backwards.
>
> To make troubleshooting this easier, try getting something mounting at
> /test or something like that. Then you can work on this without breaking
> your existing home directories.
>
> Once that's known to be working, do it again for real at /home.
>
> --
> Richard