Frank Cusack wrote:
When you try to backup the '/' part of the root pool, it will get
mounted on the altroot itself, which is of course already occupied.
At that point, the receive will fail.

So far as I can tell, mounting the received filesystem is the last
step in the process.  So I guess maybe you could replicate everything
except '/', finally replicate '/' and just ignore the error message.
I haven't tried this.  You have to do '/' last because the receive
stops at that point even if there is more data in the stream.

Wouldn't it be relatively easy to add an option to 'zfs receive' to ignore/not mount the received filesystem, or set the canmount option to 'no' when receiving? Is there an RFE for this, or has it been added to a more recent release already?
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to