Jump to content

Flash drive to READ ONLY ...RW after reboot...


zwientie
Go to solution Solved by zwientie,

Recommended Posts

Hello !

 

Got a pretty new unRAID install (max 2 months?) ...

Anyway all the sudden got a warning that it was read only (and yes, checking the mounted disks from the prompt it had the "ro" flag) ...did a reboot and it is back to read/write ...

 

root@ServerName:~# mount | grep sda
/dev/sda1 on /boot type vfat (rw,noatime,nodiratime,fmask=0177,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,flush,errors=remount-ro)
root@ServerName:~# 

 

after the reboot...

USB stick used is a brand new Samsung BAR Plus.

 

I have made a backup of the drive. Did just order 3 new USB sticks from Amazon

 

Samsung Bar Plus 128GB Type-A 400MB/s USB 3.1 - we all know this one now 

Sandisk SDCZ48-032G-U46 Ultra , Usb 3.0 Flash Drive, 32Gb, 130Mb/S - had 2 of these for a long time, not in a server though :p

Kingston DataTraveler Kyson USB 3.2 Flash Drive 64GB - Gen 1 (metal housing)
(The BAR seems the go-to but well...I am using one ....hmm :)) The other 2 were cheap so thought heck why not, keep a few as backup...
 

What puzzles me is that it went to read-only ....rw after reboot....

 

Wonder if the flash drive is faulty at all ....

 

(Cannot find the old Kingston Datatraveler anymore, full metal housing...got one but it is -old- :))

 

 

Thank you for your time!

Link to comment
1 hour ago, zwientie said:

What puzzles me is that it went to read-only ....rw after reboot....

 

Every file system will remount a device as read-only when corruption gets detected to prevent further corruption from occurring.

 

Unraid when it reboots automatically does a correcting file system check on the flash which presumably fixed the issue.

Link to comment
1 hour ago, zwientie said:

Samsung Bar Plus 128GB Type-A 400MB/s USB 3.1 - we all know this one now 

Sandisk SDCZ48-032G-U46 Ultra , Usb 3.0 Flash Drive, 32Gb, 130Mb/S - had 2 of these for a long time, not in a server though 😛

Kingston DataTraveler Kyson USB 3.2 Flash Drive 64GB - Gen 1 (metal housing)

 

Please note that only one of these three meet the Size requirement!

 

image.thumb.png.30a937e47e61a2106cc6006f1a3b7b72.png

 

I have long suspected that the slower USB drives may last longer because they run cooler.  This can be a reason to consider using only USB2 flash  drives as they might run cooler.   Many folks picked smaller capacity drives because  (years ago) the smaller drives had larger cells.  (I suspect that virtually all USB drives made today have cells about the same size cell.  I further suspect that the reason why large capacity drives push the speed up is that, otherwise, it takes half-a-day to write enough data on one to fill it up!)   Plus, avoid the physically small drives as they have less mass which could result in higher chip temperatures.

Link to comment
8 hours ago, Squid said:

Every file system will remount a device as read-only when corruption gets detected to prevent further corruption from occurring.

 

Unraid when it reboots automatically does a correcting file system check on the flash which presumably fixed the issue.

 

Ah alike Linux ? Kinda ? Not sure on that. But odd, it's a brand spanking new Samsung BAR Plus .... Should have checked the log files before rebooting...perhaps they're still there in a cycle (again, alike Linux ? :)) (say syslog.1.gz ..etc)

 

7 hours ago, Frank1940 said:

 

Please note that only one of these three meet the Size requirement!

 

image.thumb.png.30a937e47e61a2106cc6006f1a3b7b72.png

 

I have long suspected that the slower USB drives may last longer because they run cooler.  This can be a reason to consider using only USB2 flash  drives as they might run cooler.   Many folks picked smaller capacity drives because  (years ago) the smaller drives had larger cells.  (I suspect that virtually all USB drives made today have cells about the same size cell.  I further suspect that the reason why large capacity drives push the speed up is that, otherwise, it takes half-a-day to write enough data on one to fill it up!)   Plus, avoid the physically small drives as they have less mass which could result in higher chip temperatures.

 

I did not know that ....max 32gig in size (VFAT perhaps ? still...it can make a 32gig partition then..).

 

Hm bummer...and the one that is 32gig is the only non metal one !@# :\ :)

Been looking for full metal small ones ...and bigger sticks....only did not consider a slower speed .....clever nonetheless.. I got an 80GB Intel SSD ..very very old one ...single cell I believe and it stilll runs without any problem...

 

Think I got an OLD Kingston Datatraveler still..those full metal ones ? that might be my best option and just keep whatever I have at hand ...does 1 break use one of those and look for the best replacement online :) (those Samsung BAR Plus's are fast though :\)

 

Thank you guys !

Link to comment

Sorry, one more question .....64GB is out of the question ? (It did run good for ~90 days or so....hm) (Can't the software (needs to be coded then...) use 32GB of the flash drive?)

 

If so I think I'll order 2 or 3 x a 32GB Samsung BAR Plus (I don't know of any other recommended metal ones .... Yes..these are fast .... :\) All I have now is that plastic housing Sandisk in 32GB :).

 

Thanks for your time!

Link to comment

The USB creator program is supposed to work with most flash drives > 32G  The Manual method of creating flash drives does not work with > 32G, without jumping through some major hoops (and yes its a FAT32 issue)

 

Life is simpler though just staying within the FS limitations of 32G devices.  (and an 8G is more than sufficient)

 

Link to comment

Thank you....so >32gigabyte can be used without any problem....

 

Odd ? In the syslog before the reboot, when my USB drive went -somewhere- in read-only mode ...nothing is mention in the syslog file....

Would love to know what caused it....odd one....

I'll close this thread, if it happens again I'll jump to that problem only ....might be more wise :). - crap I cannot...would have to select a reply as a solution which is not there ! :))) -

Thank you.

Edited by zwientie
(cant close it :p)
Link to comment
  • 2 months later...

image.thumb.png.53770178fcb64bfba105567d07879d02.png

 

This happened after I did a simple find / ...etc command of the command line "terminal" prompt via the unRAID browser window, as root. Thereafter, after remounting the stick in rw mode it happened again and again, randomly ....

 

I do not think the USB stick is the problem...nonetheless, went ahead, got me 2 16GB Verbatim sticks (strange, yet logical how hard it can be to find smaller USB sticks on like amazon :p ...these have a metal housing...*shrug*)

 

Now, I used the tool of unRAID and restore from zip file etc...:

image.thumb.png.efd1c72cedff1f1c661d6b3fe31fe316.png

 

it is a vFAT again .....should be FAT32  or meh ? ...no clue on this part..what it -should- or better: has to be ...

Say it fails again, a 2nd key restore cannot be done automatically can it ? (e.g.: longer downtime on the server)

 

edit: wanted to use a card reader(/writer...) as my flash drive but Unraid.USB.Creator.Win32-2.1 does not see it as a flash drive ....bugger....

Edited by zwientie
Link to comment
  • 1 month later...
  • Solution

it keeps running fine as vFAT, I'll leave it at that for now .....will mark this is a solution albeit a bit confusing (it isn't but having a too big a flash drive which then of course becomes vFAT by the flash tool and then backing that one up and using that again to flash a 16GB one and that one becoming vFAT also ....hm:))

 

Thanks guys!

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.

×
×
  • Create New...