Temp Fix to resolve Windows IOP errors (incorrectly ordered permission structure )
Submitted a ticket but it looks like this problem can only be fixed with ZFS V28.
Hi joeschmuck,
Thanks for the possible solution...
FYI for what it is worth - i have the same issues with permissions - and i HOPE they resolve this ASAP. Very unsettling to have this kind of error!
Mainly because it 'may' be OK for some who don't care - likely they only have a small amount of insignificant data on a handful of old HD's.
For myself i have all our PDF's and suchlike downloaded onto my NAS - and then via AD integrated into our domain.
(Don't think AD makes a diff at all - IMHO it is CIFS or ZFS - format of the disk and the translation to share)
But for my system that i manage - it's quite large! And very important.
Many camera recordings (training sessions and presentations), all our odd files and a massive folder of all our PC backups are all on my Freenas 1 v8.02.
So if the proverbial "stuff" hits the fan due to permissions - wow, i don't want to think of that!
In any case - for me/us using CIFS is the only way to share the folders easily.
(PS - NFS needs lots of work - and i get lots of errors about UID/GID authentication - even after trying some tweaks i found Googe'ling similar intrepid Freenas 8 users. So that's not even a plan B for us yet)
OK - my CIFS are all set to inherit permissions - and because most of the data/files came along from the early Freenas 7 days
( just the hardware upgraded and so the files just moved on up the chain)
And the folders are pretty much a rigid structure as we use them daily.
Especially in the light of mapping drives and pointing backups to specific NAS folders. (About ~15TB of data so far - a 3/4 full NAS1)
So some folders existed, some i did do a name change - and - a few were added/new.
Unfortunately i cannot recall in FN7 (freenas 7) if this "incorrectly ordered Permissions" (IOP) error was present there then?
Somehow i don't think so as i made many folders into "Windose system folders" to enable icons and folder colours etc.
That way finding folders are easier (and the eyecandy actually is useful to depict folder values)
And this is where i found Freenas 8 giving the IOP errors!
Just try setting the +S attribute or even changing the UID/GID - bang - IOS error!
And once it is there it is STUCK forever.
I tried WinSCP and Putty and such to change permissions and files recursively and all manner of ways - but naught came to fruition.
Now: Can one ignore it? I don't like that idea! Also i found browsing the folders (whilst IOP errors were present) to be very much slower!
Granted this is subjective - but as an IT Admin i can see dramatic changes versus normal "variances".
However it may be - the browsing of the gazillions of files and folders i have was pathetic to begin with.
(I thought my very basic hardware port multipliers were to blame? And Windose 7 which is notoriously laggy on network /UNC paths.)
But as i applied my fix the system has speeded up in that respect - browsing the UNC or mapped folders of the NAS is now nearly like a local drive.
So that means LOTS.
Does that relate to IOS errors? Don't know but it helps.
Even copying is faster as windows 7 is not ever so often "refreshing" (Overall small files are a sloooow pain, bigger ones average 35 ~ 45MB/s)
So here is a quick summary and "fix" to temporarily let the IOP error go away.
Root Cause:
Do not change any permissions on the NAS at all!!
Once set it matters not if you use an (S)FTP client like WinSCP or even Putty - you make a change the IOS error is back.
Mainly the main "root" folder...for files i think one can recover/alter - but i have not done a thorough testing as it was a further waste of time IMHO.
If the Folder cannot change then for me the goal of custom icons /backgrounds is not an option.
This means plan ahead - especially for AD as else it may be a schlepp later on to do the "quick fix".
Temp fix (workaround):
So how to get 15TB of files and folders all free of IOS errors???
Well, no space or handy spare NAS box's to recreate the folders and copy all the files over to! (i asked father Xmas...)
(And my backup NAS 2 is only 12TB (minus what FN8 realizes after my RAIDZ2 is created - which is another weird topic for later - incorrect space)
So the fix is simply a variation of copying all to a new NAS.
(i found i could copy an existing IOS error folder to the same NAS and the resultant "copy" had no errors at all!!)
1. So just RENAME the problem IOS folder (e.g.
PC_BACKUPS becomes
PC_BACKUPSzzz)
2. Then create a new folder of the "wanted/original name"
3. So we now have these two folders called
"PC_BACKUPS" and
"PC_BACKUPSzzz"
(Thus the new "good" folder (check it with Windows - Properties - Security) and then the old IOS error with the z's tagged on)
4. Then simply copy all the "zzz" folder contents to the new folder.
I use Teracopy - overwrite if older - it still takes LOTS of time (a week) - but it's the best i could think of.
(Rsync on FN7 was strange to me, so the FN8 "version" is a major unknown to even attempt)
Suggestion:
Do it portion by portion and check as you go along - but soon one gets the hang and then a final check of the new folder - before deleting the old!
I mention portions as that may be necessary to manage the space on an already full NAS/RAIDZ system.
But if you have lots of free space then directory per directory is no sweat.
Done!
OK - that just fixes (eyecandy?) the IOS error for the interim - so i really hope the ZFS v28 is along soon.
Any info on the roadmap and when we can expect this to be cleared up properly?
Cheers
---------------------------------------
Freenas 1 ( FN8 v8.02)
Intel Extreme i5 / 8GB RAM / 12 x 2TB SATA using 2 x Lian Li OB1 cards
600W PSU
In a wine barrel
Freenas 2 ( FN8 v8.02)
GB DH61 i3 / 8GB RAM / 12 x 1.5 TB SATA using 2 x Lian Li OB1 cards
550W PSU
Custom housing
Freenas 3 ( FN8 v8.02)
Old GB S775 C2D / 8GB RAM / 10 x 1.5 TB SATA using 2 x Lian Li OB1 cards
500W PSU
Custom housing
------------------------------------