Modify handling of "Unformatted" status


limetech

Recommended Posts

Currently, any device that does not mount is marked as being 'Unformatted', causing the webGui to present a 'Format' button.

 

Normally this is correct because the only way a mount should fail is if indeed there is no recognized file system present.  However "stuff happens" and for whatever reason if a valid disk should ever not mount, there is possibility of user clicking that Format button and wiping out their file system.

 

We are therefore adding additional safeguards as follows.

- If the MBR of the disk is entirely all zeros OR if the MBR of the disk has the "precleared" signature present, then will will go ahead and mark device as "Unformated" and present the Format button.

 

- If the MBR is not the above, but device does not mount, we mark the device with a new status, call it "Unformatted*".  Devices marked Unformatted* will not be included with those marked Unformatted.  Instead, user can click on device info page for that device and learn why unraid thinks it's unformatted.

 

We also are adding a button called 'Wipe FS' which will wipe any file system from a device and clear the MBR.  This can be used to change a device Unformatted* status to Unformatted.

 

Link to comment

'

Agree with WeeboTech => the names are too close.

 

How about instead of Unformatted we have [glow=red,2,300][shadow=red,left]Unformatted[/shadow][/glow]

 

Yeah I wasn't really going to use unformatted*, just a placeholder.

how about "not mounted" or "cannot be mounted"

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.