zfs-discuss@opensolaris.org
[Top] [All Lists]

Re: [zfs-discuss] Confused about zfs recv -d, apparently

Subject: Re: [zfs-discuss] Confused about zfs recv -d, apparently
From: Lori Alt
Date: Sun, 22 Feb 2009 22:22:55 -0700


Dave wrote:

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?

see:

http://bugs.opensolaris.org/view_bug.do?bug_id=6794452

now fixed in both the community edition and in Update 8
of Solaris 10.

- Lori

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

<Prev in Thread] Current Thread [Next in Thread>