[zfs-discuss] zfs receive should allow to keep received system unmounted

2009-09-28 Thread Igor Velkov
zfs receive should allow option to disable immediately mount of received 
filesystem. 

In case of original filesystem have changed mountpoints, it's hard to make 
clone fs with send-receive, because received filesystem immediately try to 
mount to old mountpoint, that locked by sourcr fs. 
In case of different host mountpoint can be locked by unrelated filesystem.

Can anybody recommend a way to avoid mountpoint conflict in that cases?
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs receive should allow to keep received system unmounted

2009-09-28 Thread Lori Alt

On 09/28/09 15:54, Igor Velkov wrote:
zfs receive should allow option to disable immediately mount of received filesystem. 

In case of original filesystem have changed mountpoints, it's hard to make clone fs with send-receive, because received filesystem immediately try to mount to old mountpoint, that locked by sourcr fs. 
In case of different host mountpoint can be locked by unrelated filesystem.


Can anybody recommend a way to avoid mountpoint conflict in that cases?
  

The -u option to zfs receive suppresses all mounts.

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


Re: [zfs-discuss] zfs receive should allow to keep received system

2009-09-28 Thread Igor Velkov
Wah!

Thank you, lalt!
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs receive should allow to keep received system

2009-09-28 Thread Igor Velkov
Not so good as I hope.
zfs send -R xxx/x...@daily_2009-09-26_23:51:00 |ssh -c blowfish r...@xxx.xx zfs 
recv -vuFd xxx/xxx

invalid option 'u'
usage:
receive [-vnF] filesystem|volume|snapshot
receive [-vnF] -d filesystem

For the property list, run: zfs set|get

For the delegated permission list, run: zfs allow|unallow
r...@xxx:~# uname -a
SunOS xxx 5.10 Generic_13-03 sun4u sparc SUNW,Sun-Fire-V890

What's wrong?
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs receive should allow to keep received system

2009-09-28 Thread Lori Alt

On 09/28/09 16:16, Igor Velkov wrote:

Not so good as I hope.
zfs send -R xxx/x...@daily_2009-09-26_23:51:00 |ssh -c blowfish r...@xxx.xx zfs 
recv -vuFd xxx/xxx

invalid option 'u'
usage:
receive [-vnF] filesystem|volume|snapshot
receive [-vnF] -d filesystem

For the property list, run: zfs set|get

For the delegated permission list, run: zfs allow|unallow
r...@xxx:~# uname -a
SunOS xxx 5.10 Generic_13-03 sun4u sparc SUNW,Sun-Fire-V890

What's wrong?
  
the option was added in S10 Update 7.  I'm not sure whether the 
patch-level shown above included U7 changes or not.


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


Re: [zfs-discuss] zfs receive should allow to keep received system

2009-09-28 Thread Albert Chin
On Mon, Sep 28, 2009 at 03:16:17PM -0700, Igor Velkov wrote:
 Not so good as I hope.
 zfs send -R xxx/x...@daily_2009-09-26_23:51:00 |ssh -c blowfish r...@xxx.xx 
 zfs recv -vuFd xxx/xxx
 
 invalid option 'u'
 usage:
 receive [-vnF] filesystem|volume|snapshot
 receive [-vnF] -d filesystem
 
 For the property list, run: zfs set|get
 
 For the delegated permission list, run: zfs allow|unallow
 r...@xxx:~# uname -a
 SunOS xxx 5.10 Generic_13-03 sun4u sparc SUNW,Sun-Fire-V890
 
 What's wrong?

Looks like -u was a recent addition.

-- 
albert chin (ch...@thewrittenword.com)
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss