Igor Velkov
2009-Sep-28 21:54 UTC
[zfs-discuss] zfs receive should allow to keep received system unmounted
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
Lori Alt
2009-Sep-28 21:58 UTC
[zfs-discuss] zfs receive should allow to keep received system unmounted
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
Igor Velkov
2009-Sep-28 22:10 UTC
[zfs-discuss] zfs receive should allow to keep received system
Wah! Thank you, lalt! -- This message posted from opensolaris.org
Igor Velkov
2009-Sep-28 22:16 UTC
[zfs-discuss] zfs receive should allow to keep received system
Not so good as I hope. zfs send -R xxx/xxx at daily_2009-09-26_23:51:00 |ssh -c blowfish root at 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 root at xxx:~# uname -a SunOS xxx 5.10 Generic_138888-03 sun4u sparc SUNW,Sun-Fire-V890 What''s wrong? -- This message posted from opensolaris.org
Lori Alt
2009-Sep-28 22:27 UTC
[zfs-discuss] zfs receive should allow to keep received system
On 09/28/09 16:16, Igor Velkov wrote:> Not so good as I hope. > zfs send -R xxx/xxx at daily_2009-09-26_23:51:00 |ssh -c blowfish root at 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 > root at xxx:~# uname -a > SunOS xxx 5.10 Generic_138888-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
Albert Chin
2009-Sep-29 04:01 UTC
[zfs-discuss] zfs receive should allow to keep received system
On Mon, Sep 28, 2009 at 03:16:17PM -0700, Igor Velkov wrote:> Not so good as I hope. > zfs send -R xxx/xxx at daily_2009-09-26_23:51:00 |ssh -c blowfish root at 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 > root at xxx:~# uname -a > SunOS xxx 5.10 Generic_138888-03 sun4u sparc SUNW,Sun-Fire-V890 > > What''s wrong?Looks like -u was a recent addition. -- albert chin (china at thewrittenword.com)