Re: [zfs-discuss] [developer] Re: History of EPERM for unlink() of directories on ZFS?

2012-06-27 Thread Garrett D'Amore


On Jun 26, 2012, at 4:46 PM, Lionel Cons wrote:

> On 25 June 2012 11:33,   wrote:
>> 
>> 
>> To be honest, I think we should also remove this from all other
>> filesystems and I think ZFS was created this way because all modern
>> filesystems do it that way.

I agree with Casper here.  This is a historical accident that would be nice to 
fix.

> 
> This may be wrong way to go if it breaks existing applications which
> rely on this feature. It does break applications in our case.

Really?!?  unlink on directories is an incredibly bad idea.  What is your 
application?  Do you know why it is doing this?

> 
> Anyway, we've added this to the list of mandatory features and see
> what we can procure with that.

Rule out ZFS, and most other filesystems unless you are happy to have your 
application run with elevated privilege.

- Garrett

> 
> Lionel
> 
> 
> ---
> illumos-developer
> Archives: https://www.listbox.com/member/archive/182179/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/182179/21239177-c925e33f
> Modify Your Subscription: 
> https://www.listbox.com/member/?member_id=21239177&id_secret=21239177-4dba8197
> Powered by Listbox: http://www.listbox.com

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] snapshots slow on sol11?

2012-06-27 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
hi
just wondering can you change from samba to SMB?
regards

Sent from my iPad

On Jun 27, 2012, at 2:46, Carsten John  wrote:

> -Original message-
> CC:ZFS Discussions ; 
> From:Jim Klimov 
> Sent:Tue 26-06-2012 22:34
> Subject:Re: [zfs-discuss] snapshots slow on sol11?
>> 2012-06-26 23:57, Carsten John wrote:
>>> Hello everybody,
>>> 
>>> I recently migrated a file server (NFS & Samba) from OpenSolaris (Build 
>>> 111) 
>> to Sol11.
>>> (After?) the move we are facing random (or random looking) outages of 
>> our Samba...
>> 
>> As for the timeouts, check if your tuning (i.e. the migrated files
>> like /etc/system) don't enforce long TXG syncs (default was 30sec)
>> or something like that.
>> 
>> Find some DTrace scripts to see if ZIL is intensively used during
>> these user-profile writes, and if these writes are synchronous -
>> maybe an SSD/DDR logging device might be useful for this scenario?
>> 
>> Regarding the zfs-auto-snapshot, it is possible to install the old
>> scripted package from OpenSolaris onto Solaris 10 at least; I did
>> not have much experience with newer releases yet (timesliderd) so
>> can't help better.
>> 
>> HTH,
>> //Jim Klimov
>> 
>> ___
>> zfs-discuss mailing list
>> zfs-discuss@opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>> 
> 
> 
> Hi everybody,
> 
> in the meantime I was able to eliminate the snapshots. I disabled snapshot, 
> but the issue still persists. I will now check Jim's suggestions.
> 
> thx so far
> 
> 
> Carsten
> ___
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss