Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 06 Dec 2016, 06:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
f3 - Test the health of your flash media
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 10984
Location: Stratford, Ontario

PostPosted: Thu 10 Jul 2014, 18:50    Post subject:  f3 - Test the health of your flash media  

See the original discussion here.

Look for f3 in the System menu or in a submenu.

F3 can also be used as a non-destructive "bleaching" tool for flash drives because it writes random data over all the empty space on the drive.

1. Mount the flash drive.
2. Run f3 and select the flash drive partition.
3. Click the "Write to" button. When done, close the terminal window.
4. Repeat with "Read back".
5. Click "Quit". The temporary files are deleted.

-----------------------

Update: Version 5.0 of f3 also contains the experimental tools like f3probe as described here. It can test whether your flash device is genuine and is faster than the full write/read procedure. There are several caveats.

1. To run the experimental tools, you need a Puppy with libudev.so.1, like Tahrpup 604. Symlinking an older version of libudev won't work.

2. The tools are located in /usr/local/f3, so you must run them from the command line.
Code:
./f3probe /dev/sdb

3. They operate at the device level, not on mounted partitions. Don't pick the wrong device!

4. You need a lot of RAM (2-3 GB) to run f3probe in non-destructive mode. Otherwise, run
Code:
./f3probe --destructive /dev/sdb

This destroys all data on the drive! You will need to reformat the drive when done.

5. Be patient - f3probe may take several minutes.

[Edit] Version 5.0 deleted due to lack of testing.

---------------------
f3-3.1.pet
Description  Updated 2016-03-07
pet

 Download 
Filename  f3-3.1.pet 
Filesize  13.09 KB 
Downloaded  63 Time(s) 
screenie.png
 Description   
 Filesize   14.8 KB
 Viewed   1278 Time(s)

screenie.png

f3-3.0.pet
Description 
pet

 Download 
Filename  f3-3.0.pet 
Filesize  13.06 KB 
Downloaded  337 Time(s) 

Last edited by rcrsn51 on Mon 07 Mar 2016, 16:08; edited 18 times in total
Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Thu 10 Jul 2014, 19:55    Post subject:  

Hi rcrsn51 (et al),

Thank you very much for your pet which works well, but I hope I do not seem churlish if I comment that it might be ideal to add an option to be able to set the size of the write and read speed test to say, 500 MB (or some sensible figure) as well as keeping the current Remaining Space Health Check which also reports speeds (though taking a long time if the drive/partition is non-usb3 with lots of unused space).

My regards

EDIT:

The suggestion in your post immediately below also works well. Thank you again
_______________________________________________

Last edited by Jasper on Thu 10 Jul 2014, 20:39; edited 2 times in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 10984
Location: Stratford, Ontario

PostPosted: Thu 10 Jul 2014, 20:23    Post subject:  

This applet is just a GUI front-end for f3. What I think you are asking for is not an option in f3.

If you want to write a small amount of data, press Ctrl-C to kill the writing step and read it back.

Last edited by rcrsn51 on Fri 11 Jul 2014, 03:27; edited 2 times in total
Back to top
View user's profile Send private message 
neerajkolte


Joined: 10 Feb 2014
Posts: 517
Location: Pune, India.

PostPosted: Fri 11 Jul 2014, 00:29    Post subject:  

Thanks for the pet and GUI rcrsn51.

Edit: Could you please give me links to know how to make simple GUI like this.
- Neeraj.

_________________
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson

“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.”
- Amara’s Law.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 10984
Location: Stratford, Ontario

PostPosted: Fri 11 Jul 2014, 03:25    Post subject:  

neerajkolte wrote:
Could you please give me links to know how to make simple GUI like this..

Read here.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Mon 01 Dec 2014, 15:51    Post subject: Re: f3 - Test the health of your flash media  

rcrsn51 wrote:
f3-3.0.pet

I just discovered this discussion.
Thank you rcrsn51!

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 10093
Location: Mer méditerrannée (1 kms°)

PostPosted: Thu 03 Dec 2015, 14:24    Post subject: Très bien !  

Très bien !
_________________
November : protect your Puppies of frosts (to freeze, Confused froze, frozen)
Back to top
View user's profile Send private message Yahoo Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 10984
Location: Stratford, Ontario

PostPosted: Fri 11 Dec 2015, 20:12    Post subject:  

F3 updated to include the experimental tools like f3probe. It can test whether your flash device is genuine and is faster than the full write/read procedure.
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 412

PostPosted: Fri 11 Dec 2015, 23:48    Post subject:  

Hi rcrsn51,

Thanks for compiling the experimental build.

Does this also include f3fix?

Thanks.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 10984
Location: Stratford, Ontario

PostPosted: Fri 11 Dec 2015, 23:51    Post subject:  

In the time it took to ask the question, you could have downloaded the PET and checked yourself.
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 412

PostPosted: Fri 11 Dec 2015, 23:58    Post subject:  

Sorry I am at work and on mobile.
Will do when home.
Back to top
View user's profile Send private message 
phat7

Joined: 05 Jun 2015
Posts: 71

PostPosted: Sat 12 Dec 2015, 00:03    Post subject:  

In the time it took to write your charming response you could have written "Yes" (32 times faster) or "No" (48 times faster).
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 412

PostPosted: Sat 12 Dec 2015, 00:09    Post subject:  

Phat7, no need to stretch this buddy.

I misinterpreted his post.
I thought he just mentioned f3probe.
But he said "tools like", so it means both f3probe and f3fix.
Sorry.
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 2047
Location: King's Lynn, UK.

PostPosted: Sat 12 Dec 2015, 10:58    Post subject:  

Hallo, rcrsn51.

Just discovered this thread. Thanks for this. I've already used it to test one of my SanDisk Cruzer 'Blades', which had been behaving very oddly since I bought it 3 months ago. Turns out it was actually coming up as a SanDisk 'Ultra' (which I've not heard of before), And the thing that made me want to test it, is the fact that although I could install a Puppy to it, it would not boot at all. Not even using CBC; it just hung.

And if I re-booted (resetting the BIOS to hard drive as normal), leaving the stick plugged into the powered hub that I use seemed to actually prevent the machine from booting. Even removing the stick and rebooting again, it still wouldn't boot.....until I powered down manually, unplugged the machine, and held the power button for 30 seconds to completely clear RAM. Then, it would boot normally.

Never had a stick do this before. Test results showed that the media was thoroughly corrupted.....and nothing I could do to it would make it behave as it ought to have done. So, I've given it up as a bad job, returned it to the store, and exchanged it for another. Which is behaving itself impeccably..!

Apologies for not taking a screenshot, or otherwise saving the output; didn't think of it at the time.....and in light of the outcome, academic anyway. But this would at least let me 'take a look' at it, where nothing else would even touch it. This is useful.

I think the stick must have been a 'Friday afternoon' job!

Thanks again.


Mike. Wink

_________________
If the advice given has helped you, please have the courtesy to post back & say 'Thanks!' Wink Laughing
----------------------------------------------------

Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 10984
Location: Stratford, Ontario

PostPosted: Sat 12 Dec 2015, 12:44    Post subject:  

@Mike: Did you run the standard write/read test or the new f3probe test?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0744s ][ Queries: 13 (0.0054s) ][ GZIP on ]