Disabling DOS Attributes to improve samba browsing performance

SMnasMAN

Contributor
Joined
Dec 2, 2018
Messages
177
thanks for the info on what the VFS modules do (and manual url on those).

I would love to use ixsys as it helps big time with performance (ie, without it- the listing of large folders on a all enterprise ssd stripe on FN, is still a tad slower than a windows 2012 r2 server share but with raid HDDs ).

however it seems to be causing another issue. With ixsys enabled (only ixsys and stream_attr), when i launch a test win7 VM with about 60 torrents saved on SMB mapped drive, in qbittorrent all the files come up as missing/not found (even though i can browse to them). If i remove ixsys, and reboot the VM all the torrents show up as they should (ie at 100% completed). Any ideas?

(or where can i find an explanation on what the ixsys smb module is/does, i didnt see it listed in that manual url)

tks
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,545
thanks for the info on what the VFS modules do (and manual url on those).

I would love to use ixsys as it helps big time with performance (ie, without it- the listing of large folders on a all enterprise ssd stripe on FN, is still a tad slower than a windows 2012 r2 server share but with raid HDDs ).

however it seems to be causing another issue. With ixsys enabled (only ixsys and stream_attr), when i launch a test win7 VM with about 60 torrents saved on SMB mapped drive, in qbittorrent all the files come up as missing/not found (even though i can browse to them). If i remove ixsys, and reboot the VM all the torrents show up as they should (ie at 100% completed). Any ideas?

(or where can i find an explanation on what the ixsys smb module is/does, i didnt see it listed in that manual url)

tks
Can you send me the output of ls -lo for one of the files that is invisible when ixnas is enabled? If you can easily reproduce this, can we set up a remote session so that I can debug it on your server (since I haven't seen this before)?
 

SMnasMAN

Contributor
Joined
Dec 2, 2018
Messages
177
a very important question i need answer to:
Each time i add or remove ixnas from the modules for a specific share, do i need to restart the entire SMB service?
(i think the answer is yes)

I can provide you remote access (its all fake data i dont need), however i just now tested it again TWICE, and the issue with qbittorrent did NOT happen. (so maybe that one was on my end, i will test it a few more time as it does take some time to test).


However what i can test (quickly/easily), and can confirm is still occurring is:
the original issue with the folder name changing, and as I re-read the thread and noticed you had ask for this output:

With ixsys (and stream_attr) enabled on this specific share:

Code:
smb: \xprotectARCHIVE\> ls
  .                                   D        0  Fri Mar 22 13:30:38 2019
  ..                                  D        0  Mon Apr 15 14:34:22 2019
  21A0B932-E883-45E2-B42B-4EB4B990A1EA_unrepairable_tables      D        0  Sat Apr 20 02:29:27 2019
  21A0B932-E883-45E2-B42B-4EB4B990A1EA      D        0  Sat Apr 20 20:05:52 2019

                26325678353 blocks of size 1024. 14678816120 blocks available
smb: \xprotectARCHIVE\>

w ixsys Capture.JPG



With ixsys NOT enabled on this specific share ( so only stream_attr) :
Code:
Try "help" to get a list of possible commands.
smb: \> cd xprotectARCHIVE\
smb: \xprotectARCHIVE\> ls
  .                                   D        0  Fri Mar 22 13:30:38 2019
  ..                                  D        0  Mon Apr 15 14:34:22 2019
  21A0B932-E883-45E2-B42B-4EB4B990A1EA_unrepairable_tables      D        0  Sat Apr 20 02:29:27 2019
  21A0B932-E883-45E2-B42B-4EB4B990A1EA     DS        0  Sat Apr 20 20:05:52 2019

                26325009455 blocks of size 1024. 14676059495 blocks available
smb: \xprotectARCHIVE\>


wo ix Capture.JPG

browsing the share from a win 2012 (or tested with a win 2016 vm i also tested with), shows both the same results as above. it looks like its only something windows is picking up on some how?

(fwiw, these folders are used/created by Milestone Xprotect, a windows based NVR / IP cctv camera recording software, its where it archives the video to (from the local storage) after 5 or so days for archiving purposes, the folder name that keeps swtiching back and forth "FN Archive from Local NVMe" is what i labeled the "archive" as in Xprotect).

Thanks for helping with this (and the speed boost from ixnas!!) , the speed boost from ixnas is unbelievably fast (HDD or SSD based- and im sure to test NON arc data/listings!)!!


share optionsCapture.JPG
 
Last edited:

SMnasMAN

Contributor
Joined
Dec 2, 2018
Messages
177
(see my reply above), i tested some more, and in terms of the folder changing names w/wo ixnas, its def specific to ixnas

as i did a new fresh install of xprotect (on a new, different 2016 server vm), and after a reboot it shows this archive dst (smb share) as unavailable, even though it is (but the folder name is not showing correct):
xp_ixnasON_Capt3ure.JPG


if i remove ixsys , then reboot the vm, it shows as available (and the folder has the correct name i gave it):
xp_ixnasOFF_Capture.JPG
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,545
I was asking for `ls -lo file` or `stat file` because I wanted to see the _local_ properties of the file. It looks like the system flag is not set on the directory, but there may also be some subtle differences here. Post the output from the following commands locally (not through smbclient):
Code:
lsextattr user /mnt/MIRRORof2x6xRDz2/xprotectARCHIVE/21A0B932-E883-45E2-B42B-4EB4B990A1EA
getextattr -qq user DOSATTRIB /mnt/MIRRORof2x6xRDz2/xprotectARCHIVE/21A0B932-E883-45E2-B42B-4EB4B990A1EA| b64encode -
ls -alo /mnt/MIRRORof2x6xRDz2/xprotectARCHIVE/
stat /mnt/MIRRORof2x6xRDz2/xprotectARCHIVE/21A0B932-E883-45E2-B42B-4EB4B990A1EA

Then from an smbclient session without ixnas enabled run the command allinfo 21A0B932-E883-45E2-B42B-4EB4B990A1EA and post output.

output of first command will be a list of extended attribute names on the dir.
The second command will output a b64encoded version of the DOSATTRIB xattr on the file (created when ixnas was disabled), and will look like the following
Code:
begin-base64 644 -
MHgxMAAAAwADAAAAEQAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAILfIlAl+NQBAAAAAAAAAAA=
====

The third will show the flags set on the directories.
The fourth gives full stat information on the directory in question.[/cmd]
 
Top