This repository has been archived by the owner on Feb 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathunassigned.devices.plg
2687 lines (2146 loc) · 116 KB
/
unassigned.devices.plg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version='1.0' standalone='yes'?>
<!DOCTYPE PLUGIN [
<!ENTITY name "unassigned.devices">
<!ENTITY author "dlandon">
<!ENTITY version "2025.02.14">
<!ENTITY launch "Main/UnassignedDevices">
<!ENTITY gitURL "https://raw.githubusercontent.com/unraid/&name;/master">
<!ENTITY pluginURL "&gitURL;/&name;.plg">
<!ENTITY supportURL "https://forums.unraid.net/topic/92462-unassigned-devices-managing-disk-drives-and-remote-shares-outside-of-the-unraid-array/">
<!ENTITY MD5 "6e71bbfc2f15b1948b9f14c2ccb88424">
]>
<PLUGIN name="&name;"
author="&author;"
launch="&launch;"
version="&version;"
pluginURL="&pluginURL;"
support="&supportURL;"
icon="unlink"
min="6.11.0">
<CHANGES>
##&name;
###&version;
- Add: Change to Unraid repository.
###2025.02.11
- Fix: Issue when setting up "vfs objects" - "dirsort" not always added.
- Fix: NFS export entries for UD Devices were removed when a share was edited.
- Fix: Hang when shutting down Unraid and a remote share server is offline.
- Add: Border to text boxes in Device Settings and some UD Settings pages.
- Add: Lazy unmount instead of force to all unmounts when the server is shutting down.
###2025.01.14
- Fix: Cleanup and rewrite Java Script and some php code for readability and robustness.
- Fix: Code changes in html code for robustness.
- Fix: Don't show devices in dialogs in a compressed fashion. The dialogs are now large enough the full device can be shown.
- Fix: Add edit (pencil) and browse (link) icons to the clickable area for changing mount points and browsing files.
- Fix: A btrfs encrypted disk would show as an 'Array' disk on the mount button when mounted.
###2024.12.27
- Fix: Remote server online check when mounting a remote share could fail even if online before mounting.
- Fix: The device script save and edit problems are fixed.
- Add: Don't enable file browsing on remote shares if the mountpoint is not accessible.
###2024.12.17
- Fix: Cannot preclear a disk with an empty partition. All paritions need to be removed before preclearing.
###2024.12.10
- Fix: Additional help text on NFS Rules.
- Fix: Adjust some NFS and CIFS mount options for robustness.
- Add: Ability to use special characters in passwords.
###2024.12.08
- Fix: Reorder dialog buttons to be more compatible with Unraid standard with the 'Cancel' button on the right.
- Fix: Language translations not being applied in UnassignedDevices.php.
- Add: 'Done' buttons to all UD Settings pages.
- Rem: Remove all the tabbed page hacks in UD. The proper changes will be made in the next release of Unraid.
###2024.12.05
- Fix: Additional work on tabbed page mode.
- Fix: Better cookie handling for 'diskio' and 'tab' cookies without polling.
- Fix: Some language file reorginization.
###2024.12.02
- Fix: Rework tabbed mode control so UD doesn't interfere with 'Main'.
###2024.11.30
- Fix: Multi line NFS rules not working properly.
- Fix: Handling of default.cfg to default first install settings.
- Fix: Change some php variables to constants that don't need to be variables.
- Fix: Sort devices on the GUI in alphabetical order ignoring case.
- Add: Compress mount option for BTRFS and XFS file systems. Compression for BTRFS is 'zlib' and for XFS 'lz4'.
- Add: Warning message in log when a ZFS disk can't be mounted because of unsupported features.
###2024.11.16
- Fix: Config file parse failing.
###2024.11.15
- Fix: Change PHP '$plugin' variable name to prevent conflicting with other plugins.
- Fix: Check 'showmount' when listing remote servers to be sure that NFS shares are available to mount.
- Fix: Insure all 'Mount' button status like 'Mounting', 'Unmounting', and 'Formatting' show on the correct device.
- Add: Show NFS versions supported by the remote server and additional adjustments in Remote Server test.
- Add: Style sheet change to adjust sweetalert 2 dialogs to stop over run of text in dialog.
###2024.11.03a
- Add: Ability to test Remote Servers in UD Settings and verify they can serve SMB and NFS.
###2024.10.29a
- Fix: Don't display device in drop down for a LUKS password or UUID change if disk is passed through.
- Fix: Change wording of ZFS disk upgrade in UD Settings to 'Upgrade ZFS Pool'.
- Add: Display "******" for disk LUKS password if one is set, else show blank in disk password setting.
- Add" Warning about Windows Server Signing for Windows 24H2 and newer plus additional help text.
- Add: A remote NFS server will be considered offline if 'showmount' does not show any mounts available.
###2024.10.14
- Fix: Php errors when mounting some disks caused by the NTFS3 changes.
- Fix: Rework udev tracking procedure to more appropriately lock the file when updating.
- Fix: Udev information for 'dev/devX' not working properly. This may be the cause of the incorrect script execution when auto mounting a disk.
- Fix: Remove 'cache=none' from CIFS mounts. The default is 'cache=strict' and this gives better performance.
- Fix: Change command timeout to show timeout in x.x seconds format.
###2024.10.02
- Fix: Increase timeout when checking for SMB and NFS ports to be open for remote shares. This should fix the issue where remote shares do not show online and auto mount fails after a reboot.
- Fix: Cannot use 'closetimeo' parameter on SMB remote mounts in Unraid 6.11.
- Add: Option to mount NTFS disks using the Linux NTFS3 module in disk Device Settings. The NTFS3 module is included in Unraid 7.0.
- Add: Attempt three times to mount remote share devices on initial array start. Each try is delayed by the "Remote Mount Share Wait Time" UD setting. This should help with remote servers not being online and ready when Unraid is started.
###2024.09.23
- Fix: Change 'soft' mount parameter to 'hard' on SMB and NFS mounts to help with remote shares going offline.
- Fix: Remove 'retrans' parameter from NFS remote mounts.
- Fix: Allow unmounting an ISO file if the ISO file is deleted.
###2024.09.16
- Fix: Sort users in natural order in SMB settings.
- Fix: Don't fail the duplicate share name check when a device is hot plugged and auto mounted as long as there is not a device with the same mount point already mounted.
- Fix: Some rework on formatting disks to try to help with nvme drive format issues.
- Fix: Remove additional troublesome Chinese character when adding ISO files.
- Fix: Use udevadm to rediscover partitions when rescanning disks because partprobe is only available when UD+ is installed.
###2024.08.03
- Fix: Unmount error when UD devices are not being shared with NFS.
###2024.07.25
- Fix: Remove curly braces and square brackets in all device names to prevent php issues.
- Fix: Change configuration file variable to prevent confilct with built in Unraid variable.
- Fix: Multiple php warnings.
###2024.06.30
- Fix: Mount fails when using an apfs password.
###2024.06.27
- Fix: Remove additional troublesome Chinese characters when adding ISO files.
- Fix: Display more meaningful message when the UD tables cannot be updated.
- Fix: Only perform zfs used and free stats on zfs disk mount points.
- Fix: Separate out config files in ud_diagnostics.
###2024.06.23
- Fix: Simplify zfs stats routine.
- Fix: Strip backslashes from remote server when manually entered.
- Fix: "Root Shares without Pools" is based on the existence of the "/mnt/user0/" mount point.
- Fix: Remove some unnecessary code.
###2024.05.31
- Fix: Adjust default NFS rules.
- Fix: Changes to NFS rules placeholder text.
- Fix: Comparison for duplicate remote share. Cannot have a remote share NFS and SMB at the same time.
- Add: Create ud_diagnostics in the tmp file system and then move to the flash so failures can be indicated as zip creation or flash writes.
- Add: Adjustments for deprecating 'user0' mounts.
- Add: Rework get_ud_stats for robustness and additional work to prevent potential hangs.
- Add: Show size, used, and free properly on zfs disks/partitions.
###2024.05.11
- Fix: Default 'Mount SSDs with 'discard' option?' to 'no'.
- Fix: Hitting 'Back' and then 'Next' when adding a Rootshare would hang the dialog.
- Fix: If a remote server name doesn't work for checking online status, use the IP address.
- Add: Clean up NFS rules by removing spaces and blank lines before saving in configuration file.
- Add: Default NFS rule if none is specified.
###2024.05.07
- Fix: Increase the time out on the UD page to 30 seconds.
- Fix: Changes to NFS sharing on the settings page did not work properly and actually corrupted the uassigned.devices.cfg file.
- Fix: When changing NFS share settings, NFS sharing would not be removed if NFS was turned off.
###2024.05.06
- Fix: Check for remote shares online to only test for open ports to remote servers using name or IP without requiring name resolution. This will cause some remote shares to show offline after updating. That can be fixed by just going through the add a share procedure to re-add the remote share and it will update the configuration and fix the offline status.
- Add: Timeout to the page refresh to keep the Unraid wave from never stopping. After 10 seconds the refresh will time out and display in the device tables that UD cannot refresh the information.
###2024.05.01
- Fix: Change the timeout action on remote server port check for server being available.
- Fix: Disk device sorting to sort on 'Dev X' and not 'sdX'.
- Fix: Cut down on flash writes when a device is hot plugged.
###2024.04.22
- Fix: Too many flash writes when a device is hot plugged.
- Fix: Issue where UD does not show all unassigned disks.
- Add: UD diagnostics for troubleshooting UD issues.
###2024.04.20a
- Fix: Add remote NFS share not working.
- Add: Show 'Array' on mount button when a disk is not unassigned - i.e. when a device is a 'sdX' designation instead of 'devX'.
###2024.04.19
- Fix: Checking online status of SMB and NFS shares could fail when "Local TLD" is blank.
- Fix: Disk password stopped working in UD Settings.
- Fix: Cut down on config file writes.
- Fix: Don't kill tasks on a rootshare mountpoint when shutting down. It kills the shutdown process and can leave UD devices in limbo.
- Fix: Issue with checking for a selected server being online before listing shares on that server when adding a remote share.
- Add: Change diskio (disk reads/writes display) icon click to an event rather than being polled.
- Add: Tool Tips to the add SMB/NFS share icons to clarify what they are for.
- Add: Indicate NFS and SMB when entering the server when adding a remote share.
- Add: Separate NFS and SMB load share prompts to clarify whether or not it is NFS or SMB being added.
- Add: Change UD Settings to update the flash config file using an atomic write.
- Add: Clean up device script file name to keep file save and update from failing when some special characters are used.
- Add: Full path to all UD scripts when executing.
- Rem: NFS patch required for 6.12.9 to fix "protocol not supported" issue. It's no longer necessary. The fix is to upgrade to 6.12.10.
###2024.03.31
- Fix: Apply a patch to revert an NFS setting causing "protocol not supported" issue for 6.12.9.
###2024.03.19
- Fix: Update.php on 6.11 and 6.12 needs to be updated for saving device script changes to work due to recent changes in UD.
###2024.03.16
- Fix: Php warning.
###2024.03.14
- Fix: Only show Time Machine settings in UD SMB Settings when 'macOS Interoperability' is enabled.
- Fix: Attach, Detach, and Abort button style changes.
- Fix: User Script running not detected properly that disables Device Settings file operations.
- Fix: Abort script adjustments in pgrep for longer script file names.
- Fix: Zpool operation that kept disks from spinning down.
- Add: Abort device script on remote shares and ISO file mounts when shutting down the array.
- Add: Common script only runs when a device is added.
- Add: Abort common script when stopping array.
- Add: Abort User Script running on a UD device when stopping the array.
- Add: Abort any running processes on the mount point when stopping the array so the array will shutdown clean;y.
- Add: Abort button in device settings will abort device script, user script, and any processes running on the device mountpoint.
###2024.03.03
- Fix: Issue with script already running when executing a User Scripts script.
- Fix: Fail the command if the 'name=' alias is not found in rc.unassigned.
- Fix: Unraid wave starting too soon. It should be delayed 1/2 second.
- Fix: Increase remote shares mount timeout to 15 seconds.
- Fix: Php warning in get_ud_stats.
- Add: Partition and zvols 'Mount' buttons now show mounting/unmounting when the disk is mounting/unmounting.
###2024.02.17
- Fix: More improvements to device settings.
- Fix: Php warning when unmounting a device.
- Fix: Unmounting not detecting a proper unmount.
- Fix: Rework unmounting code to make more sense and allow the code be more readbable.
- Fix: Change mounted logic to be sure the mount points are all unique in the mount status array.
- Add: Time machine settings to SMB settings to support time machine backups to UD devices.
###2024.02.10
- Fix: Fix nvme drives not mounting because of duplicate share name.
###2024.02.09
- Fix: Remote Shares showing offline and unavailable not working properly.
- Fix: Several php warnings.
- Fix: Samba config files not always created properly with macOS Interoperability enabled.
- Add: Unraid wave to Device Settings and Unassigned Devices Settings.
###2024.02.02a
- Fix: Remote server online status check not detecting changes in online status properly when the remote server goes offline.
- Fix: Device Script file selector drop down always sets the default file and file name; user cannot select a different file.
- Fix: The 'Delete' button on device settings deletes the wrong file after a new file is selected.
- Fix: Rework the mounted status checks to put mounted status in an array and refresh the array when appropriate.
- Fix: Certain Chinese character causing php to choke and hang UD. The charcter is converted to an underscore.
- Fix: Remove remote share configuration not deleting 'invalid' remote share configurations.
- Fix: 'vfs object = dirsort' not always added to SMB configuration.
- Fix: Adding a rootshare does not prompt for the mount point, the default is now created when the rootshare is added.
- Fix: Manual Device Script execution from GUI failing.
- Add: Prompt for 'Refresh Disks and Configuration' before performing the operation.
- Add: Cache the '/proc/mounts' status for some 'mounted' and 'unmounted' checks to improve responsiveness.
- Add: Cache the '/proc/mounts' status for the device 'read only' check to improve responsiveness.
- Add: Get the file system type for disk devices from lsblk by only running once per page refresh.
###2024.01.22b
- Fix: Additional work to make 'Mount' buttons more responsive.
- Add: 'vfs object = dirsort' SMB configuration for every UD share.
- Add: Help text explaining the device icons.
###2024.01.17
- Fix: Change ping check for server to be online to port scan on SMB and NFS ports for remote server.
- Fix: Device Script file handling and GUI improvements.
- Fix: Lots more Java Script code cleanup.
- Fix: The network available check when starting the array has been changed and no longer requires a ping response from the gateway. It will wait for 2 minutes to see the gatewy and get a ping response. If the ping does not get a response, remote shares are auto mounted anywy.
- Fix: Additional work on 'Mounting' and 'Unmounting' status on 'Mount' button.
- Add: Encrypt CIFS setting in Device Settings to optionally encrypt CIFS remote share mounts. This is best for offsite servers and not on LAN servers because of the encryption overhead.
###2024.01.12
- Fix: Rework detection of a disk not being unmounted before being removed and re-installed.
- Fix: Remove nchan messaging and use a Java Script page refresh timer.
- Fix: Resolved the long standing issue of the 'Mounting' and 'Unmounting' status on the 'Mount' button not showing correctly.
- Fix: Cleaned up a lot of Java Script code.
- Fix: Found another case where the SMB and NFS port scans start at 0.0.0.0 when searching for SMB and NFS servers.
###2023.12.29
- Fix: Adjusments to remove some unneeded white space in GUI.
- Fix: Minor GUI changes.
- Fix: Change Root Share 'User Shares' default to be all shares including Pools.
- Fix: Rework Device Settings script file buttons to be more intuitive.
- Add: Checks to insure that the search for servers function only scans server ports on the LAN.
- Add: Show 'Partition' with not sign on mount button for disks with a file system and no partition and allow clearing the disk on the GUI.
- Add: Change udev rules to pick up all disk 'change events'; some disk operations were not being picked up by udev.
###2023.12.15
- Fix: Style changes for GUI compatibility with 6.13.
- Fix: Put styles into .css files.
- Fix: Rework remote shares and ISO files table.
- Fix: Scrub not canceled on a zfs encrypted disk when unmounting.
- Fix: Spaces in Common Command file designation causes an unneecessary log message.
- Fix: Non existant Common Command file causing a php warning in log message.
- Fix: Return "success" or "failure" when mounting or unmounting devices only with the rc.unassigned script.
###2023.11.30a
- Fix: Change Unraid minimum version to 6.11.
- Fix: Remove checks for Unraid versions pre 6.11.
- Fix: Change zfs file type lookup to not use Unraid version check to decide to use 'lsblk' or 'blkid',
- Fix: Php warnings on startup.
- Fix: Parsing FSTYPE from 'lsblk' to give more consistent results.
- Fix: Entering an IP address as a server would result in dots being removed from the IP address when the Local_TLD was blank.
###2023.11.25
- Fix: Don't send nchan messages to refresh page if UD is unable to process the messages.
- Fix: Format disk changes to prevent some drives that show 'udev' after being formatted.
###2023.11.21
- Fix: Move view log icons to left of mount point with other icons.
- Fix: GUI tweaks to better match Unraid layouts and clean up the UD page.
- Fix: Zvol file system checks not getting the file system to check.
- Add: Enable UD settings tab to upgrade ZFS disks in 6.12.
###2023.11.10a
- Fix: Mount/unmount status on zvol 'Mount' button turns off too soon.
- Fix: Datasets on ZFS disks would not mount if the pool had a '-' in the pool name.
- Fix: NFS and Samba server lookups showed a '?' when ARP could not get the server name from the IP address. The IP address will show so a user can figure out which server it is.
- Fix: Mounting a zfs disk read only not working.
- Fix: Change remote server lookup for servers with SMB shares to be faster.
- Fix: Volume setting for apfs file system mount not working correctly.
- Fix: Don't sync a file system that is mounted read only when unmounting the device.
- Add: More information on how to enter NFS and Samba servers so they will resolve by name.
- Add: If lsblk does not get the file system for a zvol, revert to blkid to get the file system; lsblk doesn't work on 6.12 for a zvol.
- Add: Format ZFS disks with legacy compatibility in 6.13 so ZFS disks will mount in older versions of Unraid.
- Add: Upgrade ZFS disks in Unraid 6.13 through UD settings with the caveat that they may not mount in older versions of Unraid.
- Add: Load theme css so UD won't change the Unraid dialogs to white in all themes.
- Add: Cancel a zfs scrub if it is running on a disk when unmounting.
- Add: New line labeled 'Unassigned Devices/Remote Shares/Historical Devices' and move switches, refresh, and UD settings icons off the tab line to the new 'Unassigned Devices' line. This fixes the overlay of the switches and icons over the disk devices header when the display width is too small.
###2023.10.08
- Fix: Spindown and detach of a luks device from the device script not working.
- Fix: Apply mount point permissions when the mount point is created before mounting devices.
- Fix: Php warning when checking for scrub running on a disk when unmounting.
- Fix: Rewrite of scrub cancel when unmounting a btrfs disk.
- Fix: Don't get zvol info on a zfs disk when 'Show ZFS Volumes on Disk?' is disabled.
- Fix: Use 'lsblk -f' to get zvol file system type and not 'blkid'. Blkid will at times hang possibly causing an unresponsive Unraid GUI.
- Add: Changing the mount point on a ZFS disk will change the pool name to the mount point.
- Add: Mount datasets on ZFS disks; only active datasets are mounted.
- Add: Do not enable the Recycle Bin on read only disk shares. It won't be used because files cannot be deleted.
###2023.09.30
- Fix: Remove key file check for encrypted disk password. Unraid handles that in the luksOpen API call.
- Fix: Do a BTRFS scrub on the mount point and not the device.
- Fix: Don't remove btrfs pool device if unmount is not successful.
- Fix: UD causes exports file to get corrupted at times.
- Fix: Disk file browse not disabled while it is unmounting.
- Fix: Change 'noac,noatime,nodiratime' to 'relatime' for NFS remote mounts.
- Add: Cancel a btrfs scrub if it is running on a disk when unmounting.
###2023.09.15
- Fix: False 'Udev' indicator on the mount button when a partition on the disk has no file system.
- Fix: Spindown a disk using 'rc.unassigned' waits for the disk to actually be spun down.
- Fix: Detach device sometimes loses detached status and disk cannot be re-attached.
- Fix: Detaching a disk in a device script at times confuses udev and the wrong file type shows on other UD disks.
- Fix: Additional work on disk removed without being unmounted.
- Fix: Detach button only shows on disk settings and not partition settings when disk is unmounted, not mounting, and not unmounting.
- Fix: Disk standby status not always correct when a disk is detached in the device script.
- Add: Ability to enable/disable device script so it will not run on any device event - 'udev' or 'user' initiated event.
###2023.09.10
- Fix: Server names that are entered in lower case are converted to upper case when remote shares are added and when listing shares.
- Fix: Deal with spaces in mount points of encrypted disks.
- Fix: Could not change BTRFS pool devices mount points.
- Fix: Change 'noatime,nodiratime' options to 'relatime' on mount except for NFS remote mounts.
- Fix: Improperly unmounted disk indicator ('Reboot') not working.
- Add: Any local tld references are removed from the server name when remote shares are added.
- Add: Check for local_tld as part of the server name of existing remote shares and show 'Invalid configuration' if found. Congiguration has to be removed and added back.
- Add: Allow ZFS Pool Names to include spaces. ZFS pool names with spaces were not being handled properly and would fail to mount/unmount.
- Add: Read only marker '(RO)' to mount point when disk is mounted read only. Read only can occur when disk is mounted read only by the switch setting, or the mount forces read only.
###2023.08.30
- Fix: Duplicate updating and refresh of ping status file.
- Fix: Issue with local server name that does not resolve with 'server.local' and not getting a ping status.
###2023.08.27
- Fix: Ping remote share servers that are not found on the LAN.
- Add: Additional improvements in resolving server names.
###2023.08.25
- Fix: Show 'ROOT' on GUI for root shares type.
- Fix: Some code cleanup.
- Fix: Remote server can falsely be detected off-line if the remote server IP address changes.
- Fix: Prevent 'server' with TLD specification from being a duplicate server in ping status.
- Fix: Remove excess logging on CIFS mounts when trying different versions of SMB.
- Fix: UD Devices are not shared with SMB if AD is enabled.
- Add: Remove '+' character from disk serial numbers causing php issues.
###2023.08.18a
- Fix: Mount detection not finding unique devices.
- Fix: All mount/unmount errors were not being detected for mount/unmount failure dialog.
- Fix: Check for mounted status is using the wrong device for samba mounts.
###2023.08.17a
- Fix: Capitalize SMB, NFS, and ISO share types.
- Fix: Deal with dollar sign in Windows shares when doing configuration check.
- Fix: Change safe_name function to respect chinese characters in remote shares and ISO mounts.
- Fix: Mount detection failing when mount information has a dollar sign in the string.
###2023.08.16
- Fix: Don't time out sync when unmounting and Unraid is not shutting down.
- Fix: Adjust unmount options.
- Fix: Situation where some NFS shares were not managed properly in the exports file.
- Add: Show fail dialog when a device does not mount or unmount when initiated from the GUI.
- Add: If remote share device shows a zero size, the share has a problem and UD will treat the device as not available.
- Add: Allow unmounting remote shares when they go off-line.
###2023.08.13
- Fix: Removing a disk without unmounting detection not working. Disk should show 'Reboot' in this situation.
- Fix: Not able to mount a subfolder in a share.
- Fix: Mounted status of luks encrypted devices not working correctly.
- Fix: Some minor changes to GUI page refresh.
- Fix: Rework Mounting, Unmounting, and Formatting state files that show status on 'Mount' button to cut down on tmpfs file I/O.
- Add: Detection for mis-configured 'ip' and 'path' in samba_mounts.cfg file. Show mis-configuration on mount point and disable mount button.
###2023.08.07
- Fix: Remote mounts were not safe naming the share part of the device when a remote share was added.
- Fix: Adjust some log messages relating to mounting and unmounting devices.
- Fix: Mount of hidden Windows remote shares.
- Fix: Reversion causing issues with default device script file name.
###2023.08.06a
- Fix: Mark disks with a file system and no partition as a 'Pool' device so UD does not allow operations on the device. For example a Linux LVM file system.
- Fix: Changes to help with UD hanging when remote NFS goes off-line.
- Fix: Sharing on remote shares not enabling NFS sharing of the remote share on the local server.
- Fix: Issues with share switch on root share setting up SMB sharing with the Recycle Bin.
- Fix: Edit Device Settings did not allow changing device script file when device is mounted.
- Fix: Mounted status on Edit Device Settings on remote shares when device is mounted.
- Add: Add 'Auto' and remove 'NFSv3' options from NFS Version setting in UD Settings. The 'Auto' setting tells UD to auto negotiate the NFS version when mounting a remote share to use on the remote server.
- Add: Add 'noatime', 'nodiratime', and 'soft' options to NFS mounts. Change 'retrans' and 'timeo' to help with remote server off-line recovery.
- Add: Sync timeout so 'sync' will not hang indefinitely when devices are being unmounted when the array is being stopped.
- Add: Add 'noatime' and 'nodiratime' options to root share mounts. This stops writes on root share when accessing files and directories.
###2023.07.28
- Fix: Ignore case when checking for device designators in Disk Name.
- Fix: Issue where shutting down the array and restarting then causes issues with spin down on disks and detaching disks.
- Fix: Sync disk file systems was not working when the server is shut down.
- Fix: Clean up handling of shut down semaphore file.
- Fix: Increase timeout when checking mounts file for mounted status.
- Add: Warning when adding a remote share if the share is blank.
- Add: Add warning about using device designators in Mount Point.
- Add: Warning about using another device's 'dev' designation in the Disk Name.
###2023.07.16
- Fix: Device in password setting on apfs file system not showing on drop down.
- Fix: Add note about Exclusive Share files not accessible in a root share.
- Fix: Form issue in Device Settings where a switch activates the 'Apply' button under the Disk Name.
- Fix: Remove redundant 'Done' button in Device Settings.
- Fix: Help text in Device Settings doesn't display correctly.
- Fix: Delete of the script file could sometimes be the wrong file if a file is selected from the drop down.
- Fix: Some rewrite of the Device Settings to be more intuitive.
###2023.07.04
- Fix: Changes to device settings to make it more consistent with normal Unraid GUI.
- Fix: Show update notification in the UD page and not on the top when in 'Main'.
###2023.06.21
- Fix: Php warnings from my_scale().
- Fix: 'get_ud_status' so 'df' commands used to get size, used, and free from devices won't stack up when the 'df' commands hang.
- Fix: Using FQDN for remote shares not working properly to resolve the remote server IP address.
- Fix: 'Mounting' status would sometimes show on a remote share with the same base device that was not being mounted.
###2023.06.02a
- Fix: Php wanings.
- Add: Change Unassigned Devices Settings to tabbed.
- Add: Don't allow a remote share to be added as NFS and SMB shares at the same time.
###2023.05.28a
- Fix: Rework the .plg file to fix legacy smb-extra.conf entries not being removed, and issues with the protection mounts not setting reboot needed properly.
- Add: UD Setting for time to delay when starting the array before mounting Remote Shares. This is useful when the network is ready but the remote server may not be on-line yet.
###2023.05.24
- Fix: Change root share configuration settings to be more consistent with SMB sares. You'll need to remove your root shares and add them back in again.
- Fix: Duplicate share name check on pool devices falsely saying the mount point is a duplicate.
###2023.05.23
- Fix: Cleanup attach/detach to remove hosts entry if disk is no longer connected.
- Fix: Share name duplicate check failed under certain circumstances.
- Fix: Rework Remote shares to prevent the endless Unraid wave. If a Remote share shows as invalid, remove it manually. See forun for details.
- Add: Add feature to show and mount ZFS Volumes. Showing ZFS Volumes is controlled with a UD Setting.
- Add: Changes to handle exclusive share symlinks on remote Unraid servers. UD lists the actual share location i.e /mnt/cache/share and not the /mnt/user/symlink.
- Add: Don't permit script file 'Default' operation in Edit Device Settings when a device is mounted.
###2023.05.06
- Fix: ISO files mounting to the wrong mount point.
- Fix: Change ISO mount point not showing the correct mount point after changing.
- Fix: Change some log text when mounting a disk device.
- Fix: Additional check for an incorrect ISO configuration requiring removal and re-add.
- Add: Don't permit script file 'Delete' operation in Edit Device Settings when a device is mounted.
###2023.05.02
- Fix: More improvements in ISO file mounts. Be sure the ISO device is only printable characters and has no special characters.
- Fix: Rewrite of ISO file mounts to deal with special characters in the device name that causes the endless Unraid wave.
- Add: Display Source when editing SMB or NFS or ISO mounts.
###2023.05.01
- Fix: Reversion when hot plugging disks - they don't auto mount.
- Fix: Rework ISO shares again to prevent the endless Unraid wave. If an ISO share shows as invalid, remove it manually. See forun for details.
###2023.04.30
- Fix: Alignment of Remote Shares table on UD page.
- Fix: Php NAN warnings.
- Fix: A situation where two Historical Devices don't have an alias name and have the same default devX. Only one shows in Historical Devices. It's not a problem with two devices with the same default name becuase when a device is re-installed, the devX assignment will be updated by Unraid.
- Fix: Situation where the 'Detach' button shows in device settings when the disk is being mounted.
- Fix: Switch text color in Edit Device Settings. Off was black text instead of being blue.
- Fix: Code cleanup on switches.
- Fix: Default force user nobody to 'No' on SMB shares.
- Fix: Don't show bogus config file entries on UD page.
- Fix: Special characters in ISO file names cause UD to hang with the Unraid Wave never going away.
- Add: 'Read Only' switch on remote shares so they can be mounted read only.
- Add: Text box for NFS rules so multiple rules can be applied to each share.
- Add: Protection against bogus (blank) serial number or device entries being saved in configuration files.
###2023.04.18
- Fix: Remote shares being shared when 'Share' switch is off when plugin is installed or updated.
- Fix: Disable Mount button status not working right on remote shares.
- Fix: Logic cleanup on device Tool Tips.
- Fix: Redo SMB Settings in UD Settings to be clearer about sharing.
###2023.04.17
- Fix: Default share setting for remote shares should be to not share, rather than sharing without user intervention.
###2023.04.15
- Fix: NAN number issue.
- Fix: Edit settings not detecting mounted status correstly for 'Detach' and 'Attach' of disks.
- Fix: Minor changes to 'Edit Device Settings' page.
- Fix: Remove duplicate hosts check. It's not necessary and sometimes caused a detached device to not be 'attachable'.
- Add: Update share settings when UD is updated/installed so any UD changes will take effect immediately.
- Add: Message on 'Edit Device Settings' page when neither SMB or NFS shares are enabled.
- Add: Tool tip for edit device settings shows 'Not Enabled' for 'Share' status when neither SMB nor NFS is enabled in UD settings.
###2023.04.11
- Fix: Java Script error.
- Fix: Php warnings.
###2023.04.07
- Add: Debugging to help find UD hangs.
###2023.04.04
- Fix: Typo in formatting a disk routine causing format issues.
- Fix: False auto mount messages when formatting a disk.
###2023.03.31
- Fix: Disable spin down when a SMART test is running.
- Fix: Remove requirement that NetBIOS is enabled to mount a remote SMB v1.0 share.
- Fix: Compress long serial nunbers/device names on remove remote shares and historical devices on Swal dialogs so they don't over run the dialog box.
###2023.03.19
- Fix: Don't check for a disk to auto mount if there are no partitions on the disk.
- Fix: Refresh disk device settings when 'Passed Through' switch is changed to refresh 'Attach' and 'Detach' buttons status.
- Fix: Changes to ping script to improve performance when checking if remote servers are on-line.
- Fix: Ata disks show 'Share' switch 'On' in Device Settings when 'Auto Mount USB Devices' is on in UD settings.
###2023.03.03
- Fix: Udev file locking to only lock the file when writing.
- Add: New mount folder '/mnt/addons/' where users can mount devices without causing issues with Unraid. FCP will not flag this as an inappropriate mount. Mount things like ZFS plugin devices and rclone here instead of at /mnt/disks/ or /mnt/remotes. This will keep your add on devices clear of UD and will prevent any potential clashes.
###2023.02.26
- Fix: Php warnings.
- Fix: Sort Historical Devices in device order.
- Add: Don't fail luks file system check if device is busy when opening the luks device.
- Add: Log message showing the Gateway used to ping remote shares.
###2023.02.20
- Fix: Php warnings.
- Add: Additional logging to SMB sharing.
###2033.02.18
- Fix: Php warnings.
- Fix: Historical Device 'Remove Device Configuration' sometimes disabled incorrectly.
- Fix: Clear udev info for a partition that has been removed. When formatting a disk sometimes the old partition file system would show.
###2023.02.08
- Fix: Php warnings.
- Fix: Redo auto mount to make it more robust.
- Fix: Move 'pass through' and 'auto mount' checks to the disk level from partition level.
###2023.02.05
- Fix: Change mountpoint shows it failed when it did not.
- Fix: Php error when changing mount point on luks btrfs formatted disk.
- Fix: Improve clear disk and remove zpool signatures so a disk can be reformatted.
- Add: Attach and Detach buttons gray out while operation is in progress and then disappear when the operation is completed.
- Add: Show green orb when Historical Disk is in standby (detached).
- Add: Don't show "Passed Through" switch if a disk is mounted.
- Add: Don't show the apfs volume in Disk Settings if the disk is mounted.
- Add: Disable 'Remove Historical Device' when a disk is in standby (detached).
###2023.01.14
- Fix: Fix refresh of Edit Settings to show changes properly.
- Fix: Don't auto mount/unmount Unassigned Disks marked as 'Array'.
- Add: Changed array disk detection to be more robust.
###2023.01.08b
- Fix: Share toggle on Historical Device not working.
- Fix: Background switch setting not working on Remote Shares and ISO files.
- Fix: Configuration file locking not working causing issues with device settings.
- Fix: Simplify the check for scripts running to cut down on file operations.
###2023.01.03
- Fix: Unmounting a disk incorrectly indicates the device script is running and the device can't be unmounted.
###2023.01.01
- Fix: Additional zfs cleanup.
- Fix: Show partitions does not stay collapsed after clicking on the '+' icon.
- Add: Abort button to device settings to manually abort the device script if it is running.
- Add: Abort device script running on the device when shutting down server. This helps insure the UD device can be unmounted.
###2022.12.28
- Fix: Check disk always chooses a scrub and not the correct file system check.
- Fix: Remove all partitions - destroy zpool before removing all partitions.
- Fix: Additional php warnings.
###2022.12.27
- Fix: Mounting/Unmounting status on disk devices does not always show correctly.
- Fix: Some minor UI adjustments related to encrypted disks.
- Fix: Historical 'devX' name not corrected to actual 'devX' as it should be when the device is re-plugged.
- Fix: Pass Through not working properly.
- Fix: Don't try to unmount a passed through disk.
- Add: Mount/Unmount of zfs file system on UD disks - version 6.12 and later.
- Add: Support for formatting zfs disks - version 6.12 and later.
###2022.12.19
- Fix: Mounting status on disk devices does not always show correctly.
- Fix: Fix reversion where encrypted ext4 disks cannot be mounted.
###2022.12.12
- Fix: Allow "dev" and "sd" in disk names when not in the first position.
- Fix: Php 8.1 compatibility for Unraid 6.12.
- Fix: False disk corruption when checking file system on a btrfs disk that is not mounted.
- Fix: Rare situation where mounted pool devices could cause UD to hang.
- Fix: Increase NFS rule size to 256 bytes.
- Fix: Improve 'Clear Disk' function.
- Add: Delay after network is found to be active when starting up.
- Add: "space_cache=v2" parameter to btrfs mounts.
###2022.11.12a
- Fix: Better handling of SMB configuration.
###2022.11.10a
- Fix: Move UD include to before smb-shares in smb.conf.
###2022.11.09
- Fix: Device busy errors when formatting a disk.
- Fix: Php errors when a device script file does not exist.
- Fix: Disable Clear Disk and Remove Partition if destructive mode is enabled and UD+ is removed.
- Fix: Device script doesn't run in the background.
- Fix: Change the position of the mount notification in the default script.
- Fix: Some code cleanup.
###2022.11.04
- Fix: Remove UD settings from smb-extra.conf and move to /etc/samba/smb-unassigned.conf.
###2022.10.03
- Fix: Remove PATH setting in default device script. The PATH is set by Unraid whenever a script is executed with php.
- Fix: Disable 'Detach' button if disk is passed through.
###2022.09.16
- Add: Fruit (macOS) SMB handling settings to SMB share config files for Unraid 6.11.
###2022.09.12c
- Fix: Possibility of re-attaching the wrong device.
- Fix: Don't enable 'Detach' button on partition settings.
- Fix: Don't enable 'Detach' button if a disk is preclearing.
- Fix: Array hangs when a UD disk is unmounted when shutting down with the rc.unassigned spindown command in the UD script.
###2022.09.10
- Fix: Spin down of a devX device not working in rc.unassigned.
- Fix: Allow spin down of disk device by sdX, devX, or name=alias.
- Fix: Set environment variable UD_DEVICE (devX) to pass to UD script.
- Fix: Change font of edit device settings script text to Unraid default.
- Fix: Update default UD script.
- Fix: Revise Help text in 'Edit Device Settings'.
- Add: Detach option to rc.unassigned to detach the disk when it is unmounted.
- Add: Attach option to rc.unassigned to attach the disk when it is detached.
- Add: Detach button to 'Edit Device Settings'.
- Add: Attach button to Historical Disk Devices 'Edit Device Settings'.
###2022.09.02
- Fix: Don't allow a preclear on a disk that Unraid does not see as Unassigned.
###2022.08.19
- Fix: Reference to GitHub repository.
###2022.08.12
- Fix: Remove all entries in the cached udev for a disk device when it is removed. If the udev info is not removed and the device is changed on another computer, the udev info UD uses will be stale.
- Fix: Minor cosmetic adjustment to disk orbs.
###2022.08.07
- Fix: Remove legacy hdd temperature code. Starting with Unraid 6.9, UD does not need to query disks for temperature.
- Fix: Remove legacy hdd spinning check. Starting with Unraid 6.9, UD does not need to query disks for standby status.
- Fix: Change command timeout log message from 'Error' to 'Warning'.
- Add: Remove block on spin down of SSD devices. 6.11 now supports spin down on SSD disks.
###2022.07.12
- Fix: Bash errors when setting permissions on mount point when mounting disks and remote shares.
###2022.07.04
- Fix: Disk Log not working in Unraid 6.10.
###2022.06.19
- Add: 'Public' setting to SMB Security settings to share devices public. The 'No' setting used to set 'Public' sharing.
- Fix: Extend the change disk UUID timeout.
- Fix: Remove the 'sec=ntlm' setting from SMB 1.0 mounts. Ntlm support has been removed from the latest Linux Kernel.
###2022.06.10
- Add: Check return codes from fsck.xfs and show correct buttons to use to make repairs. This makes it easier for a user to follow the appropriate steps to correct xfs file system issues.
- Add: Show 'Run With Correct Flag' when fsck detects a file system corruption.
- Add: Show 'Force Log Zeroing' when fsck.xfs detects a file system dirty log.
- Fix: Don't show disk devices that are zero size.
- Fix: Remove version check for detection of 'Array' disk. It's no longer necessary.
- Fix: Remove legacy code for language translations.
- Fix: SMB share settings being set when UD settings has SMB disabled.
- Fix: Prevent php errors when the mount point cannot be created because it already exists. This can occur with improper mapping of UD devices in VM or Docker containers.
- Fix: Prevent php errors when the mount point cannot be removed because the mount point contains files. This can occur with improper mapping of UD devices in VM or Docker containers.
- Fix: Help not enabled on disks table header.
###2022.05.19
- Add: 'Reboot' text with the 'not' symbol on the mount button when the disk has not been properly unmounted.
- Fix: Clear disk red 'X' icon shows when a disk has not been unmounted properly.
###2022.05.18
- Fix: Lookup of id from devs.ini.
###2022.05.17
- Add: Set min Unraid version to 6.9. Older Unraid versions don't support devs.ini creation that is used by UD for new features.
- Fix: Use the device id from devs.ini and not an id created from the udev ID_MODEL and ID_SERIAL_SHORT. This will cause some device ids to change requiring re-configuration.
- Fix: Don't delete script files when deleting a Historical Device. User can do this manually.
- Fix: Default script file path on Historical Device when mount point has not been saved in configuration. User can enter the script file name manually.
###2022.05.11
- Fix: False mounted detection when mount point names are very similar.
###2022.05.04b
- Add: 'Unmount' button will show gray with the 'not' symbol when a disk is not properly unmounted.
- Add: 'Show Partitions' to tooltip.
- Fix: Better handle the situation where disks are removed before being unmounted.
- Fix: Fat32 format not working.
###2022.04.20
- Fix: File name in EditDeviceSettings.page when there is no language translation. Affects Unraid versions before 6.9.
###2022.04.18
- Add: Add 'Disable Mount Button' to SMB/NFS remote shares.
- Fix: A little code cleanup.
###2022.04.13
- Fix: Revert mount check logic change.
###2022.04.11c
- Fix: Allow viewing disk attributes while preclearing a disk.
- Fix: Don't sync remote shares when shutting down server.
- Fix: Logic issue on unmounting of UD devices and remote shares.
- Fix: Remove unused duplicate div ID's.
###2022.03.25
- Add: Disable 'Mount' button on Root Share when array is stopped.
- Fix: 'luks' file system designation not showing.
- Fix: Clean up discard option code on disk mounts.
###2022.03.24
- Add: Increase NFS rule field length to 125 characters.
- Add: Dialog message explaining that disk shares has to be turned to off or auto to add a Root Share.
- Fix: Allow a Root Share if disk sharing is set to auto.
###2022.03.22c
- Add: 'User Shares' (/mnt/user0/) and 'User and Pool Shares' (/mnt/user/) can both be root shared.
- Add: Disable Root Share button when disk share is enabled.
- Fix: Remove 'disks' and 'remotes' root shares. Protection on UD folders prevents this from working.
###2022.03.20
- Fix: Unmount of rootshare crashing shfs when shutting down array.
###2022.03.18
- Fix: Rework Root Share dialog so the Root Share Name is a required input.
- Fix: Changes to get_ud_stats to use '.local' if 'Local TLD' is not defined.
- Fix: Don't allow a duplicate root share to be added.
###2022.03.11
- Add: Plugin update check.
- Add: Mounting of root shares.
###2022.03.04
- Add: Message when clearing a disk about losing the preclear signature.
- Fix: Preclear icon showing up on a disk when the first partition did't have a file system, but other partitions did.
- Fix: Changes for 6.10 jQuery and Java updates.
- Fix: Rename EditSettings to EditDeviceSettings.
###2022.02.27b
- Fix: Don't show the remove partition icon if the partition doesn't have a file system.
- Fix: Use 'sgdisk' and 'wipefs' to clear a disk of all partitions.
###2022.02.24b
- Fix: Php warnings with lock files.
- Fix: Remove device from saved pool devices when device is unmounted.
- Fix: Php warning when pool device has not already been saved in json file.
###2022.02.23a
- Add: Device Settings Switch to disable mount button. This also disables disk clear and remove partition.
- Add: Initiate a hotplug event when a device is removed.
- Add: File locking mechanism to be sure udev ini file is not corrupted.
- Fix: Disk read and write rates not showing when disk is passed through.
- Fix: More php warning fixes.
- Fix: Code cleanup.
###2022.02.12a
- Add: More improvements in the debug section.
- Fix: Php warnings.
###2022.02.09a.
- Add: Any disk with a partition label of 'UNRAID' is marked as an array disk.
- Add: Unraid spinner.
- Add: Rewrite of table creation and refresh of UI.
- Fix: Help not enabled on table header. Help not working properly when in non-tabbed view.
- Fix: Changing a device label would not update the udev disk information.
- Fix: More work on udev rules and updates.
- Fix: Some php warnings.
###2022.02.06a
- Add: Udev and hotplug debug messages.
- Fix: Rework udev rules for hotplug events.
- Fix: Rework udev handling to cut down on udev thrashing.
###2022.02.04b
- Add: Changes to support preclear plugin better.
- Add: Historical devices to the list of share names to check for duplicates.
- Fix: Minor GUI changes.
- Fix: Change message about needing credentials to list shares when adding a SMB share.
- Fix: Only query the btrfs status on pool disks when they are first mounted.
- Fix: Change device mounted check to 'cat /proc/mounts' instead of the 'mount' command.
- Fix: Remove the hotplug trigger in disks_mounted event. Seems to be causing issues with udev.
###2022.01.28
- Add: Link to install Unassigned Devices plus in Unassigned Devices Settings. This will take you directly to CA to install the plugin.
- Fix: Many logging issues like incorrect log file when executing SMB/NFS and ISO device scripts, and periodically a blank log file name.
- Fix: Logs getting cleared on every device script execution. Only 'ADD' event will clear the log now. Logs won't continue to grow. If you want to keep a log, download it.
- Fix: Display issue with edit historical device settings.
- Fix: Mounting remote shares with rc.unassigned can sometimes fail if the current ping status is not up to date and the last check showed a remote server was offline.
- Fix: Some devices installed in UD show up as Historical devices.
- Fix: Revert back to a single nchan channel for page refresh instead of per session.
###2022.01.24a
- Fix: Default mount point not always consistent.
- Fix: Disk name would change to default devX when editing settings on any partition. Disk Name only applies to the disk, not a partition.
- Fix: Don't show bus type on historical devices.
###2022.01.23a
- Add: Display bus type (SATA or USB) on the device settings page.
- Fix: Rewrite the device settings page to better conform to Unraid standards. The individual help settings were not working.
- Fix: More fixes for devices showing blank.
- Fix: Clear log only on 'ADD' device script event, not every event.
- Fix: Incorrect log file being sent to device script.
###2022.01.21
- Fix: UD disk detection struggling at times. Disks don't appear at all when hot plugged.
- Fix: Blank devices showing at times.
###2022.01.20
- Fix: Blank disk name being detected as a duplicate name.
- Fix: Detection of new hot plug devices missed the setting of 'devX'.
###2022.01.19a
- Add: Disk device alias name. This overrides the 'Dev X' designation. Disks are sorted by disk name. Disks can be mounted, unmounted, and spundown with the device name.
- Add: Additional code to 'Default' device script to help user with 'udev' or 'user' event.
- Fix: Mountpoint passed to UD script with spaces not bash compatible. Spaces are converted to "\ ".
- Fix: Unformatted disk showing in UD and Historical devices.
###2022.01.15a
- Add: Track the last 'Dev X' device assigned to a UD disk to help with UD disk management.
- Add: SSD icon for 'Disk Log Information' on SSD drives.
- Add: 'macOS interoperability' setting for UD devices separate from the array setting.
- Add: Setting in udev rules so a disk with no partitions will be hot mounted.
- Fix: Error in detection of an array disk.
- Fix: Clear disk, clear partition, and change mount point should not be enabled when a disk is preclearing.
- Fix: Show 'Preclear' on 'Mount' button when pre and post read operations are occuring.
- Fix: Don't allow mounting a disk with the label 'UNRAID'.
- Fix: Show disk settings even when there is no file system on a partition.
###2022.01.09d
- Fix: Don't check USB devices for dropping out of the array.
- Fix: Show 'Array' on a mounted disk that appears to have dropped out of the array.
- Fix: Remove duplcate UD devices.
- Fix: Force unmount on SMB and NFS remote shares on array shutdown.
- Fix: False detection of an array disk on Unraid versions older that 6.9.
###2022.01.08a
- Add: Note on settings page about the normal NFS rule setting.
- Add: Make adjusments to the hot plug events.
- Fix: SCSI devices not showing when the dynamix.scsi.devices plugin is installed.
- Fix: Pool devices duplicate label checks.
###2022.01.03
- Add: Sort UD disk devices by Dev X and not sdX on Unraid 6.9 and greater. Thanks to SimonF for the idea and the coding to do this.
- Add: Disable any disk operations on an array disk dropping out of array (clear disk, remove partition, rename partition, and edit settings).
- Fix: Array disk dropping out of array detection not working.
###2022.01.02c
- Add: Show "Pool" on secondary pooled devices mount button when the pool is mounted so they are not available to unmount separately. Any of the pool devices 'Mount' buttons will mount the pool. Only the primary Pool device can unmount the pool.
- Add: Use disk uuid to combine disk share name of devices in a pool. Pooled disks have a common uuid.
- Add: Ability to save a blank mount point so pooled disks can be managed better. A blank mount point removes the UD setting for a partition.
- Add: Additional characters (less than, greater than, and pipe) not allowed in file paths and names.
- Add: Check for safe name whan a SMB/NFS remote share path is added.
- Add: Fix for Windows computers not resolving to an IP address in all cases that would cause UD to not display Windows shares or mount the remote share.
- Add: Show SMB, ISO, and historical devices in natural order.
- Add: SMB server lookup now shows local servers by name. It's best to use the server name in case the IP address gets changed.
- Add: NFS servers are now listed by name and not IP address.
- Fix: Disk devices not showing in sdX order.
- Fix: Show some tool tips in Unraid style.
- Fix: Change SMB icon to Windows 11. Resize some icons.
- Fix: Change disk logic to exclude CD, DVD, and encrypted devices, instead of including devices (sd, hd, and nvme). SCSI devices should now show in UD with the dynamix.scsi.devices plugin installed.
- Fix: Block parse_ini_file() calls from throwing php errors.
- Fix: Clear disk icon not showing when a disk is precleared.
- Fix: Rewrite 'started' event so the network check won't take longer than 120 seconds and run it in the background so Unraid startup is not delayed.
- Fix: Code cleanup.
- Rem: Remove the dashes from the UI when values are not being displayed.
- Rem: Remove the setting to not check for duplicate UD share names. UD now handles this without this setting.
###2021.12.13
- Add: Ability to clear all partitions from a disk using wipefs that should clear partitions that can't be removed with remove partition.
- Add: Change UD icon to Unraid unlink icon.
- Fix: Devices show 'Array' in 6.8. Unraid doesn't manage hot plugs in 6.8.
###2021.12.09
- Add: Don't add a mountpoint to UD share names if it does not have a file system.
- Add: Setting to turn off duplicate share name checking for pooled UD devices.
- Fix: nvme device partition designation for share name file.
###2021.12.08
- Fix: Deal gracefully with udev not returning any information on a partition.
- Fix: Issue with loss of GUI on 6.9.
###2021.12.07
- Add: Show a disk that drops out of the array and ends up as an unassigned device as unmountable and mark it as 'Array'.
- Fix: Rewrite check for used share name because the scheme used interferred with a device mount.
###2021.12.06
- Add: Check for a mountpoint name that is reserved, in the array, or a UD mountpoint when mounting all UD devices.
- Add: Add 'Debug Log Level' setting to set debug level for troubleshooting.
- Fix: Revert duplicate disk serial number check.
- Fix: Reorganize checks when mounting disks to make more sense of the order of the checks.
###2021.12.03
Add: Check disk and pool device names for a name already used when changing the mount point.
Add: Check reserved names for already used name when changing the mount point.
Fix: Duplicate UD disk serial number check not working properly.
###2021.12.02
- Fix: Selecting a user script would load the user script file content.
- Fix: Don't allow a script file name that is a directory. Limit scripts to the UD directory on the flash drive.
- Fix: Rewrite UD Settings to be in line with Unraid standards.
- Fix: Php errors in get_ud_stats.
###2021.11.30
- Add: Implement debug levels for future troubleshooting.
- Fix: Disk spinning status not working on legacy Unraid.
- Fix: Organize and rewrite some functions for simplicity.
###2021.11.24
- Add: Change UUID on btrfs file system.
- Fix: Handle all cases of SMB enabled when mounting disks.
- Fix: More code cleanup.
###2021.11.22
- Add: Disable NFS icon when adding NFS/SMB share if NFS is disabled.
- Add: Disable SMB icon when adding NFS/SMB share if SMB is disabled.
- Add: Change UUID on encrypted BTRFS device.
- Add: Create a hotplug event when udev detects a change in a disk.
- Add: Remove duplicate disk serial numbers so UD only manages one device. Duplicates come from external drive bays that do not assign a unique serial number to each disk.
- Fix: Rework refresh event calls (nchan) to simplify the call.
- Fix: Change UUID on encrypted XFS device.
- Fix: More code cleanup.
###2021.11.12
- Add: File scrub for btrfs file systems.
- Fix: Delayed update of diskio refresh after diskio switch is changed.
- Fix: Rework polling timers for page refresh and ping polling of remote servers.
- Fix: Encrypted disk file system check not working.
- Fix: Changed SMB version scheme to use for mounting SMB remote shares to be sure we can use the most secure protocol available on the remote server.
- Fix: Remove some legacy and unused code.
- Fix: More code cleanup.
###2021.11.04
- Add: Disable file system check and script execution icons while device is mounting and unmounting.
- Add: Set exact SMB version when mounting remote SMB shares. Should offer some speed improvements.
- Fix: Show disabled script icon when disk is mounted and there is no script defined.
- Fix: Fix screen refresh and conflicts when UD is running in two sessions.
- Fix: Cleanup handling of diskio cookie.
- Fix: Cosmetic changes to device settings page.
- Fix: More code cleanup.
###2021.10.11
- Fix: Add partprobe to 'Refresh Disks and Configuration' to refresh disk partition information.
- Fix: Remove 'auto' and 'async' parameters from disk mounts - these are unnecessary settings.
- Fix: All logs now go to '/tmp/unassigned.devices/logs/'.
- Fix: Remove 'SIZE', 'AVAIL', and 'USED' environment variables from the device script execution. They don't work when a disk is mounted.
- Fix: Script file selection issue with Edit Settings.
###2021.09.26
- Fix: Do not allow exclamation character in disk mount point.
- Fix: Remove legacy partition toggle code.