This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Cannot list snapshot dir

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
scardig
NewUser
NewUser
Posts: 10
Joined: 28 Jan 2016 17:43
Status: Offline

Cannot list snapshot dir

Post by scardig »

Hello,

I just created a snapshot of my pool (called 'test') and I can see it (via ssh) growing at the following location:

/mnt/pool1/.zfs/snapshot/test

but when the user 'marco:mycompany' (or any other user) try to access it via Windows 'previous versions' he doesn't see anything. At the same time nas4free logs the following:


Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406885, 0] ../source3/modules/vfs_shadow_copy2.c:1211(check_access_snapdir)
Jan 28 17:46:36 nas4free smbd[13979]: user does not have list permission on snapdir /mnt/pool1/.zfs/snapshot
Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406943, 0] ../source3/modules/vfs_shadow_copy2.c:1380(shadow_copy2_get_shadow_copy_data)
Jan 28 17:46:36 nas4free smbd[13979]: access denied on listing snapdir /mnt/pool1/.zfs/snapshot
Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406970, 0] ../source3/modules/vfs_default.c:1145(vfswrap_fsctl)
Jan 28 17:46:36 nas4free smbd[13979]: FSCTL_GET_SHADOW_COPY_DATA: connectpath /mnt/pool1/marco, failed - NT_STATUS_ACCESS_DENIED.

I checked /mnt/pool1/.zfs/snapshot permissions and they are r-x for anyone.

Any idea ?

Tnx

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Cannot list snapshot dir

Post by Onichan »


scardig
NewUser
NewUser
Posts: 10
Joined: 28 Jan 2016 17:43
Status: Offline

Re: Cannot list snapshot dir

Post by scardig »

Tnx, Onichan: it seems to be the same problem. Hope it get fixed in the next N4F release :-)

Post Reply

Return to “ZFS (only!)”