SMB failure with ZFS backing FS.

Moderators: jhartley, MSR734, nola

SMB failure with ZFS backing FS.

Post by sateo » Sun Sep 23, 2012 1:36 pm

This has been cropping up during light use.. resolved to me having to restart samba. This suddenly started once I started using Zevo ZFS CE vs HFS+.

There is somebody accessing our Contractor Files (see below) that has ACL privileges to the files. Is there a known problem with SMB server in 10.8.x server and ACLs on ZFS?

---

Spin file: https://raw.github.com/gist/212d44495a3 ... tfile1.txt

---

zpool status
pool: Storage
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
Storage ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
GPTE_EFC923D3-BF73-4E7F-8814-BC6BF4C2999B ONLINE 0 0 0 at disk1s5
GPTE_64E8C7AF-0556-4B86-9FF2-0E521169AE39 ONLINE 0 0 0 at disk0s6
GPTE_0C218DAC-BDBE-4250-8757-082C9D3D641B ONLINE 0 0 0 at disk2s6
GPTE_9C19B335-6E8E-4FB6-8898-C7D1C217CC43 ONLINE 0 0 0 at disk3s6

errors: No known data errors

---

zfs list
NAME USED AVAIL REFER MOUNTPOINT
Storage 649Gi 5.70Ti 279Ki /Volumes/Storage
Storage/Intermediate 529Gi 5.70Ti 529Gi /Volumes/Storage/Intermediate
Storage/Shares 65.8Gi 5.70Ti 884Ki /Volumes/Storage/Shares
Storage/Shares/Contractor 11.5Gi 5.70Ti 552Ki /Volumes/Storage/Shares/Contractor
Storage/Shares/Contractor/Access 11.5Gi 5.70Ti 11.5Gi /Volumes/Storage/Shares/Contractor/Access
Storage/Shares/Microcom 54.3Gi 5.70Ti 657Ki /Volumes/Storage/Shares/Microcom
Storage/Shares/Microcom/Administration 8.78Gi 5.70Ti 2.50Mi /Volumes/Storage/Shares/Microcom/Administration
Storage/Shares/Microcom/Administration/Common 7.92Gi 5.70Ti 7.92Gi /Volumes/Storage/Shares/Microcom/Administration/Common
Storage/Shares/Microcom/Administration/DNSC 224Mi 5.70Ti 224Mi /Volumes/Storage/Shares/Microcom/Administration/DNSC
Storage/Shares/Microcom/Administration/Snapshots 652Mi 5.70Ti 652Mi /Volumes/Storage/Shares/Microcom/Administration/Snapshots
Storage/Shares/Microcom/Common 45.1Gi 5.70Ti 45.1Gi /Volumes/Storage/Shares/Microcom/Common
Storage/Shares/Microcom/Mirror 465Mi 5.70Ti 465Mi /Volumes/Storage/Shares/Microcom/Mirror
Storage/TimeMachine 54.2Gi 5.70Ti 54.2Gi /Volumes/Storage/TimeMachine

---

zfs get all Storage/Shares/Contractor/Access
NAME PROPERTY VALUE SOURCE
Storage/Shares/Contractor/Access type filesystem -
Storage/Shares/Contractor/Access creation Thu Sep 20 11:45 2012 -
Storage/Shares/Contractor/Access used 11.6Gi -
Storage/Shares/Contractor/Access available 5.70Ti -
Storage/Shares/Contractor/Access referenced 11.6Gi -
Storage/Shares/Contractor/Access compressratio 1.14x -
Storage/Shares/Contractor/Access mounted yes -
Storage/Shares/Contractor/Access quota none default
Storage/Shares/Contractor/Access reservation none default
Storage/Shares/Contractor/Access recordsize 128Ki default
Storage/Shares/Contractor/Access mountpoint /Volumes/Storage/Shares/Contractor/Access default
Storage/Shares/Contractor/Access checksum on default
Storage/Shares/Contractor/Access compression on inherited from Storage/Shares/Contractor
Storage/Shares/Contractor/Access atime off inherited from Storage/Shares
Storage/Shares/Contractor/Access devices off inherited from Storage/Shares
Storage/Shares/Contractor/Access exec off inherited from Storage/Shares
Storage/Shares/Contractor/Access setuid off inherited from Storage/Shares
Storage/Shares/Contractor/Access readonly off default
Storage/Shares/Contractor/Access snapdir hidden default
Storage/Shares/Contractor/Access canmount on default
Storage/Shares/Contractor/Access copies 1 default
Storage/Shares/Contractor/Access version 5 -
Storage/Shares/Contractor/Access utf8only on -
Storage/Shares/Contractor/Access normalization formD -
Storage/Shares/Contractor/Access casesensitivity sensitive -
Storage/Shares/Contractor/Access refquota none default
Storage/Shares/Contractor/Access refreservation none default
Storage/Shares/Contractor/Access primarycache all default
Storage/Shares/Contractor/Access secondarycache all default
Storage/Shares/Contractor/Access usedbysnapshots 0 -
Storage/Shares/Contractor/Access usedbydataset 11.6Gi -
Storage/Shares/Contractor/Access usedbychildren 0 -
Storage/Shares/Contractor/Access usedbyrefreservation 0 -
Storage/Shares/Contractor/Access logbias latency default
Storage/Shares/Contractor/Access sync standard default
sateo Offline


 
Posts: 1
Joined: Tue Sep 18, 2012 7:00 pm

Re: SMB failure with ZFS backing FS.

Post by grahamperrin » Thu Oct 25, 2012 1:48 am

sateo wrote:… Is there a known problem with SMB server in 10.8.x server and ACLs on ZFS? …


None that I know of.

Can you reproduce the issue with OS X Server? Or is it only with only with non-Server builds such as your 12C54?

Whilst symptoms occur (before you restart Samba), can you run commands such as zdb, zpool or zfs? If no response to a command, does Control-C abort?

When symptoms occur, is there anything ZEVO-related in system log files? If you like, use my
CoreStorage, parent_type, pool, prev_state, vdev, zdb, zfs, zio, znode, zpool.aslquery
under system log queries for things related to ZEVO or ZFS.

I have not yet tested OS X Server 2.1.1. I might test 2.x within the next few weeks.

Defocusing from SMB … on the AFP side, viewtopic.php?p=200#p200 outlines symptoms of an issue.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 2 guests

cron