>From: Gabriele Bulfon via illumos-discuss [mailto:[email protected]] >Sent: 09 July 2014 14:44 >To: [email protected] >Subject: [discuss] zfs lofi file pool double mount > >Hi, > >as an experiment. > >Let's say I have a zfs fs shared as an NFS resource to another illumos client. >Let's say I have created a 152GB file on this resrouce. >Let's say I have added the file as a lofi dev on the NFS server, and created a >512GB zpool on it. >Finally, let's say I have added the file as a lofi dev on the NFS client too. > >Now I can export / import the pool both from the NFS server, and the NFS >client. > >Obviously I can't import the pool from both machines. > >But...what if one would "import -f -o readonly=on" and the other would import >-f read/write? >Would it be possible? >This would let me zfs send the client pool to the lofi pool on the NFS share, >while have the server >be able to read the contained files. > >Is it safe? > >Gabriele.
At a guess no. I have a feeling even mounting readonly would make some changes to the pool. Like the current server UID, timestamp etcc.. John illumos-developer | Archives<https://www.listbox.com/member/archive/182179/=now> [https://www.listbox.com/images/feed-icon-10x10.jpgaa3a5f8.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc] <https://www.listbox.com/member/archive/rss/182179/21175069-3b70c3b5> | Modify<https://www.listbox.com/member/?&> Your Subscription [https://www.listbox.com/images/listbox-logo-small.pngaa3a5f8.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc]<http://www.listbox.com> illumos-discuss | Archives<https://www.listbox.com/member/archive/182180/=now> [https://www.listbox.com/images/feed-icon-10x10.jpgaa3a5f8.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc] <https://www.listbox.com/member/archive/rss/182180/24506464-f4272eae> | Modify<https://www.listbox.com/member/?&> Your Subscription [https://www.listbox.com/images/listbox-logo-small.pngaa3a5f8.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc]<http://www.listbox.com> _______________________________________________________________________ The contents of this e-mail and any attachment(s) are strictly confidential and are solely for the person(s) at the e-mail address(es) above. If you are not an addressee, you may not disclose, distribute, copy or use this e-mail, and we request that you send an e-mail to [email protected] and delete this e-mail. Stirling Dynamics Ltd. accepts no legal liability for the contents of this e-mail including any errors, interception or interference, as internet communications are not secure. Any views or opinions presented are solely those of the author and do not necessarily represent those of Stirling Dynamics Ltd. Registered In England No. 2092114 Registered Office: 26 Regent Street, Clifton, Bristol. BS8 4HG VAT no. GB 464 6551 29 _______________________________________________________________________ This e-mail has been scanned for all viruses MessageLabs. ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
