No. Even read only. You would be safe from data corruption of the filesystem on 
disk but the read only partner would be at risk - it might not see writes or 
might see only some of them leading ultimately to unknown behavior on that 
system. 

Sent from my iPhone

> On Jul 9, 2014, at 6:44 AM, "Gabriele Bulfon via illumos-discuss" 
> <[email protected]> wrote:
> 
> 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.
> 
> 
> 
> 
> illumos-developer | Archives  | Modify Your Subscription       
> 
> 
> illumos-discuss | Archives  | Modify  Your Subscription        



-------------------------------------------
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

Reply via email to