-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDiskSettings.page
105 lines (75 loc) · 4.24 KB
/
DiskSettings.page
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
Icon="icons/disksettings.png"
Menu="OtherSettings"
Title="Disk Settings"
---
<form markdown="1" method="POST" action="/update.htm" target="progressFrame">
Enable auto start:
: <select name="startArray" size="1">
<?=mk_option($var['startArray'], "no", "No");?>
<?=mk_option($var['startArray'], "yes", "Yes");?>
</select>
> If set to 'Yes' then if the device configuration is correct upon server start-up,
> the array will be automatically Started and shares exported.<br>
> If set to 'No' then you must Start the array yourself.
Default spin down delay:
: <select name="spindownDelay" size="1">
<?=mk_option($var['spindownDelay'], "0", "Never");?>
<?=mk_option($var['spindownDelay'], "15", "15 minutes");?>
<?=mk_option($var['spindownDelay'], "30", "30 minutes");?>
<?=mk_option($var['spindownDelay'], "45", "45 minutes");?>
<?=mk_option($var['spindownDelay'], "1", "1 hour");?>
<?=mk_option($var['spindownDelay'], "2", "2 hours");?>
<?=mk_option($var['spindownDelay'], "3", "3 hours");?>
<?=mk_option($var['spindownDelay'], "4", "4 hours");?>
<?=mk_option($var['spindownDelay'], "5", "5 hours");?>
<?=mk_option($var['spindownDelay'], "6", "6 hours");?>
<?=mk_option($var['spindownDelay'], "7", "7 hours");?>
<?=mk_option($var['spindownDelay'], "8", "8 hours");?>
<?=mk_option($var['spindownDelay'], "9", "9 hours");?>
</select>
> This setting defines the 'default' time-out for spinning hard drives down after a period
> of no I/O activity. You may override the default value for an individual disk on the Disk Settings
> page for that disk.
Enable spinup groups:
: <select name="spinupGroups" size="1">
<?=mk_option($var['spinupGroups'], "no", "No");?>
<?=mk_option($var['spinupGroups'], "yes", "Yes");?>
</select>
> If set to 'Yes' then the [Spinup Groups](/Help) feature is enabled.
Default partition format:
: <select name="defaultFormat" size="1">
<?=mk_option($var['defaultFormat'], "1", "MBR: unaligned");?>
<?=mk_option($var['defaultFormat'], "2", "MBR: 4K-aligned");?>
</select>
> Defines the type of partition layout for unformatted hard drives 2TB in size and
> smaller **only**. (All devices larger then 2TB are always set up with GPT partition tables.)
> **MBR: 4K-unaligned** setting will create MBR-style partition table, where the single
> partition 1 will start in the **63rd sector** from the start of the disk. This is the *traditional*
> setting for virtually all MBR-style partition tables.
> **MBR: 4K-aligned** setting will create an MBR-style partition table, where the single
> partition 1 will start in the **64th sector** from the start of the disk. Since the sector size is 512 bytes,
> this will *align* the start of partition 1 on a 4K-byte boundry. This is required for proper
> support of so-called *Advanced Format* drives.
> Unless you have a specific requirement do not change this setting from the default **MBR: 4K-aligned**.
Force NCQ disabled:
: <select name="queueDepth" size="1">
<?=mk_option($var['queueDepth'], "0", "No");?>
<?=mk_option($var['queueDepth'], "1", "Yes");?>
</select>
> This is a system "tunable" parameter.
> If set to 'Yes' then "Native Command Queuing" to array drives is disabled.<br>
> If set to 'No' then it is enabled. Most users find that overall system performance is better with
> NCQ turned off.
Tunable (md_num_stripes):
: <input type="text" name="md_num_stripes" maxlength="10" value="<?=$var['md_num_stripes'];?>"><?=$var['md_num_stripes_status'];?></td>
Tunable (md_write_limit):
: <input type="text" name="md_write_limit" maxlength="10" value="<?=$var['md_write_limit'];?>"><?=$var['md_write_limit_status'];?></td>
Tunable (md_sync_window):
: <input type="text" name="md_sync_window" maxlength="10" value="<?=$var['md_sync_window'];?>"><?=$var['md_sync_window_status'];?></td>
> These tunables let you control [certain properties](/Help) of the unRAID driver.
> Note: For each of these settings, if you delete the value and click Apply, the value is restored to
> its default.
: <input type="submit" name="changeDisk" value="Apply">
<button type="button" onClick="done();">Done</button>
</form>