Hi,
Did a from scratch install of latest live cd 0.7 RC2 build 4882 i386 under VirtualBox.
1-
Do not remember all the steps but created a RAID1 (+ apply) , did deletion but RAID1, etc ... and RAID1 comes sticky in Initialising state, even if I apply configuration.
2-
To leave this state, I did a reset to factory defaults + FreeNAS reboot then :
2.1 - recreate my 2 disks (Disks|Management) ->OK (disks seen as ONLINE)
2.2 - wanted recreate RAID1 via Disks|Software RAID|RAID1|Management but its seems remaining some configuration : did not create/touch anything, there is no RAID listed but it propose me to Apply the modified configuration ?!
Message displayed :
Warning: You are going to delete a RAID volume. All data will get lost and can not be recovered.
The configuration has been changed.
You must apply the changes in order for them to take effect.
But listing RAID state gives this :
GEOM concat
n/a
GEOM mirror
n/a
GEOM raid5
n/a
GEOM stripe
n/a
GEOM vinum
n/a
2.3 - So does Apply change hoping it will clear error : nothing changed.
2.4 - So decide to cope with this error and proceed to RAID1 creation
Creation -> RAID in Initializing state (OK)
Apply it -> sticky to Initializing state with this display (NOK) :
Disks|Software RAID|RAID1|Management
Warning: You are going to delete a RAID volume. All data will get lost and can not be recovered.
The configuration has been changed.
You must apply the changes in order for them to take effect.
Volume Name Type Size Status
MonRAID 1 Initializing Initializing
But it seems creation really succeeded as here is the display :
Software RAID information and status
Geom name: MonRAID
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 933946675
Providers:
1. Name: mirror/MonRAID
Mediasize: 1073741312 (1.0G)
Sectorsize: 512
Mode: r0w0e0
Consumers:
1. Name: ad1
Mediasize: 1073741824 (1.0G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Priority: 0
Flags: NONE
GenID: 0
SyncID: 1
ID: 2596839177
2. Name: ad3
Mediasize: 1073741824 (1.0G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Priority: 1
Flags: NONE
GenID: 0
SyncID: 1
ID: 98290481
3- Delete this RAID + apply
RAID list becomes empty (OK)
No RAID seen in Disks|Software RAID|RAID1|Information (OK)
But button Apply changes + comment ' Warning: You are going to delete a RAID volume. All data will get lost and can not be recovered.
The configuration has been changed.
You must apply the changes in order for them to take effect.' are still present.
Conclusion :
Reset to factory defaults seems to have cleaned up physical configuration but GUI is inconsistent compared to physical configuration as GUI seems to detect a configaration modified but not applied.
It comes sticky in this state. No way to reset it.
BR
To give more information :
The bug seen (RAID1 GUI sticky in Initializing state) is encountered while re-installing FreeNAS and re-create RAID1 but keeping disk content (iow, the Format disk step of a clean install from scratch are voluntarily not executed here in order to keep/retreive previous install disk content).
The procedures works (disk content can be retreived), but GUI for RAID1 seems trubled and is sticky in Initialising state instead of expected Complete.
1 - Add both disks in Disks|Management but declare them as SofRAID as they were previously fomated like this.
2- Re-create the RAID1 configuration :
The RAID1 is sticky in Initializing whereas it has been successfuly re-created in the information tab.
3 -Re-create the mount point
The previous RAID1 content is now readable : previous files are all present.
Hope these new information can help to understand the way RAID1 GUI comes sticky.
BR