I'm trying to use zfs send/receive to replicate the root pool of a system and I can't think of a way to stop the received copy attempting to mount the filesystem over the root of the destination pool.

For example, if I try

zfs send rpool/ROOT/10...@thu | zfs receive -d backup

It fails with

cannot mount '/a/mnt': directory is not empty.

/a/mnt is the root of the pool backup.

--
Ian.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to