Hi All ; I am not a Solaris or ZFS expert and I am in need of your help. When I run the following command zfs send -i data at 16_03_08_1 data at 16_03_08_2 | ssh 10.10.103.42 zfs receive -F data/data41 if some one is accessing data/data41 folder system gives the following error message "cannot umount . device is busy " I assume this is notmal. I want to know how I can suspend the user accessing the folder until send and recieve command finishes it''s job. Best regards Mertol <http://www.sun.com/> http://www.sun.com/emrkt/sigs/6g_top.gif Mertol Ozyoney Storage Practice - Sales Manager Sun Microsystems, TR Istanbul TR Phone +902123352200 Mobile +905339310752 Fax +902123352222 Email <mailto:Ayca.Yalcin at Sun.COM> mertol.ozyoney at Sun.COM -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080317/d128603b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1257 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080317/d128603b/attachment.gif>
On Mar 17, 2008, at 6:21 AM, Mertol Ozyoney wrote:> Hi All ; > > > > I am not a Solaris or ZFS expert and I am in need of your help. > > > > When I run the following command > > > > zfs send ?i data at 16_03_08_1 data at 16_03_08_2 | ssh 10.10.103.42 zfs > receive ?F data/data41 > > > > if some one is accessing data/data41 folder system gives the > following error message > > > > ?cannot umount ? device is busy ? > > > > > > I assume this is notmal. I want to know how I can suspend the user > accessing the folder until send and recieve command finishes it?s job. >This is correct, the file system cannot be unmounted until it is no longer being used. So you have to make sure no one/process has files open or are in the file system itself. Also, with: 6425096 want online ''zfs recv'' (read only and read/write) which is in snv_77 of Nevada (available now in OpenSolaris) and soon to be s10u6 of Solaris, you won''t have this issue. eric