Sample Header Ad - 728x90

Moving a zfs sub file system from one zfs file system to another inside the same pool?

0 votes
1 answer
622 views
On my OpenIndiana system I have the following layout (all are separate ZFS fs within the same pool):
rpool
   export
      home
         someuser1
         someuser2
I would however prefer to have it this way:
rpool
   home
      someuser1
      someuser2
   export
      home -> rpool/home (rpool/home with rpool/export/home as mountpoint)
(And yes, I also have set-up automounter to mount the users' homedirs under rpool/home as needed.) My question; is it possible to move rpool/export/home (with userdirs) to rpool/ (thus creating rpool/home) - or to move rpool/export/home/someuser1 and rpool/export/home/someuser2 to rpool/home ... or must it be done manually with cp -R, mv or tar ? Everything is within the same pool.
Asked by Baard Kopperud (7253 rep)
Apr 15, 2020, 02:52 PM
Last activity: Apr 15, 2020, 07:59 PM