Re: [zfs-discuss] Interaction between ZFS intent log and mmap'd files

2012-07-05 Thread Stefan Ring
> Actually, a write to memory for a memory mapped file is more similar to > write(2). If two programs have the same file mapped then the effect on the > memory they share is instantaneous because it is the same physical memory. > A mmapped file becomes shared memory as soon as it is mapped at leas

Re: [zfs-discuss] Sol11 missing snapshot facility

2012-07-05 Thread Ian Collins
On 07/ 5/12 11:32 PM, Carsten John wrote: -Original message- To: Carsten John; CC: zfs-discuss@opensolaris.org; From: Ian Collins Sent: Thu 05-07-2012 11:35 Subject:Re: [zfs-discuss] Sol11 missing snapshot facility On 07/ 5/12 09:25 PM, Carsten John wrote: Hi Ian,

Re: [zfs-discuss] Interaction between ZFS intent log and mmap'd files

2012-07-05 Thread Bob Friesenhahn
On Wed, 4 Jul 2012, Stefan Ring wrote: I really makes no sense at all to have munmap(2) not imply msync(3C). Why not? munmap(2) does basically the equivalent of write(2). In the case of write, that is: a later read from the same location will see the written data, unless another write happens

Re: [zfs-discuss] Interaction between ZFS intent log and mmap'd files

2012-07-05 Thread Bob Friesenhahn
On Wed, 4 Jul 2012, Nico Williams wrote: Oddly enough the manpages at the Open Group don't make this clear. So I think it may well be advisable to use msync(3C) before munmap() on MAP_SHARED mappings. However, I think all implementors should, and probably all do (Linux even documents that it d

Re: [zfs-discuss] Sol11 missing snapshot facility

2012-07-05 Thread Carsten John
-Original message- To: Carsten John ; CC: zfs-discuss@opensolaris.org; From: Ian Collins Sent: Thu 05-07-2012 11:35 Subject:Re: [zfs-discuss] Sol11 missing snapshot facility > On 07/ 5/12 09:25 PM, Carsten John wrote: > > > Hi Ian, > > > > yes, I already checked that

Re: [zfs-discuss] Sol11 missing snapshot facility

2012-07-05 Thread Ian Collins
On 07/ 5/12 09:25 PM, Carsten John wrote: Hi Ian, yes, I already checked that: svcs -a | grep zfs disabled 11:50:39 svc:/application/time-slider/plugin:zfs-send is the only service I get listed. Odd. How did you install? Is the manifest there (/lib/svc/manifest/system/filesystem/au

Re: [zfs-discuss] Sol11 missing snapshot facility

2012-07-05 Thread Carsten John
-Original message- To: Carsten John ; CC: zfs-discuss@opensolaris.org; From: Ian Collins Sent: Thu 05-07-2012 09:59 Subject:Re: [zfs-discuss] Sol11 missing snapshot facility > On 07/ 5/12 06:52 PM, Carsten John wrote: > > Hello everybody, > > > > > > for some reason I

Re: [zfs-discuss] Sol11 missing snapshot facility

2012-07-05 Thread Ian Collins
On 07/ 5/12 06:52 PM, Carsten John wrote: Hello everybody, for some reason I can not find the zfs-autosnapshot service facility any more. I already reinstalles time-slider, but it refuses to start: RuntimeError: Error reading SMF schedule instances Details: ['/usr/bin/svcs', '-H', '-o', 'sta