Can you PM me a debug please? From 13. I need information to be able to fix issues users encounter.Installed 13U1 on 5 systems yesterday & 4 went well. 1 system would not allow access (copy, delete, open) to fines within 2 of many directories via Windows SMB. Sampled files in other dirs w/o problem. Verified share/share acl/files acl as prev. set. Reverted to 12U8 & all fine. Fixed by 1) del dirs in 12U8, reboot to 13U1, copy dirs fm other source. No access issues. Weird but noted if anyone else has issue.
I'm not seeing he archive bit getting reset on my test server. If you can reliably reproduce, I will need to see a packet capture or debug with SMB log level at FULL.Sent in separate conversation. Note fix above did not work - seems archive bit reset after minutes.
I think I figured out a way to tickle the issue using a MacOS client. In this case the archive bit is being toggled concurrently with a ctime change, which means that OS / FS are doing the right thing with regard to the archive bit. It's an open question for now whether it's being toggled because the MacOS client is changing metadata on file (which they sometimes do when simply viewing a file).OK. Note, I have tried to replicate on 2 other 13U1 servers & the issue did not arise. I think the best use of our time is for you to put this on hold & I'll delete the existing shares & recreate, them, if the issue persists, I'll scrub the install & do a fresh 13U1 install & reimport the pool & recreate the shares. Then I'll feed back the results but this will take me a couple of days. Thanks.
Frame 437: 486 bytes on wire (3888 bits), 486 bytes captured (3888 bits) Ethernet II, Src: Apple_3c:33:a6 (a8:60:b6:3c:33:a6), Dst: Microsof_00:97:03 (00:15:5d:00:97:03) Internet Protocol Version 4, Src: 192.168.0.155, Dst: 192.168.0.156 Transmission Control Protocol, Src Port: 56650, Dst Port: 445, Seq: 24091, Ack: 22659, Len: 420 NetBIOS Session Service SMB2 (Server Message Block Protocol version 2) SMB2 Header Create Request (0x05) StructureSize: 0x0039 Oplock: No oplock (0x00) Impersonation level: Impersonation (2) Create Flags: 0x0000000000000000 Reserved: 0000000000000000 Access Mask: 0x00100180 File Attributes: 0x00000080 Share Access: 0x00000007, Read, Write, Delete Disposition: Open (if file exists open it, else fail) (1) Create Options: 0x00000000 Filename: New folder\TESTDOC.docx Blob Offset: 0x000000a8 Blob Length: 24 ExtraInfo SMB2_CREATE_QUERY_MAXIMAL_ACCESS_REQUEST SMB2 (Server Message Block Protocol version 2) SMB2 Header SetInfo Request (0x11) StructureSize: 0x0021 Class: FILE_INFO (0x01) InfoLevel: SMB2_FILE_BASIC_INFO (0x04) Setinfo Size: 40 Setinfo Offset: 0x0060 Unknown: 000000000000 GUID handle SMB2_FILE_BASIC_INFO Create: No time specified (0) Last Access: Jul 6, 2022 10:19:36.000000000 EDT Last Write: No time specified (0) Last Change: No time specified (0) File Attributes: 0x00000080 Unknown: 00000000 SMB2 (Server Message Block Protocol version 2) SMB2 Header Close Request (0x06) StructureSize: 0x0018 Close Flags: 0x0000 GUID handle TRANSUM RTE Data
-o noatime
would be valuable.You misunderstand. This is not the OS/kernel updating atime in normal way. In this case MacOS client is requesting to alter the value of the atime timestamp. Samba converts this request (appropriately) into a utimensat(2) call to update the timestamp. This is considered a change of file metadata and archive is toggled. FWIW, the internal ZFS znode sequence counter is also incremented with this operation. This is correct and expected.If you don't mind indulging me ... this feels correct, but also maybe insane.
Is it possible to disable this atime -> archive behavior on ZFS?
I assume that disabling atime on the dataset would not help, because Samba will materialize this explicit update to the metadata.
0x00000080
(FILE_ATTRIBUTE_NORMAL) is also set, but the end result is +archive.That part may be occurring out of order. I can double-check on Monday (will be out for rest of week away from my dev environment).It's also not intuitive to me that0x00000080
(FILE_ATTRIBUTE_NORMAL) is also set, but the end result is +archive.
Okey - first time ever I have major issues after upgrade - Upgraded from 13-RELEASE to 13.0 U1 and now Web ui does not do anything after giving login details. No visible errors at the boot. Console setup is visible and working but I can't access welcome screen at the boot so that I could revert back to older boot environment. Keyboard is working in Console setup fine but can you change boot environment there? Is there anything doable from shell? (change the boot environment?)
Okey - first time ever I have major issues after upgrade - Upgraded from 13-RELEASE to 13.0 U1 and now Web ui does not do anything after giving login details. No visible errors at the boot. Console setup is visible and working but I can't access welcome screen at the boot so that I could revert back to older boot environment. Keyboard is working in Console setup fine but can you change boot environment there? Is there anything doable from shell? (change the boot environment?)
beadm list
will list available boot environments. You can activate a different one via beadm activate
. (assuming that clearing browser cache doesn't work).