Jump to content
limetech

Modify handling of "Unformatted" status

11 posts in this topic Last Reply

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.

 

Share this post


Link to post

new status, call it "Unformatted*".  Devices marked Unformatted*

 

Wouldn't unmountable be a better status?

 

The device could be formatted, but unmountable due to unclean shutdown.

 

 

Unformatted and Unformatted* Seem too close to one another to help discern the real state

Share this post


Link to post

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.

Share this post


Link to post

Agree with WeeboTech => the names are too close.

 

I had to read it twice to spot the difference. You absolutely cant use these two names they are too close. unmountable is WAY better

Share this post


Link to post

Based on Tom's latest comment, I think it's clear his original suggestion for an alternate name was a big "tongue-in-cheek"  :)

 

Not sure just what he'll really use, but I think it's safe to say it will also NOT be [glow=red,2,300][shadow=red,left]Unformatted[/shadow][/glow]

 

Share this post


Link to post

'

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"

Share this post


Link to post

maybe the term that could be used from unraid's perspective is claimed / unclaimed?

Share this post


Link to post

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.