Ugly Hedgehog - Photography Forum
Home Active Topics Newest Pictures Search Login Register
Main Photography Discussion
Why reformat SD card?
Page <<first <prev 3 of 9 next> last>>
Oct 4, 2022 18:49:49   #
Longshadow Loc: Audubon, PA, United States
 
smf85 wrote:
I originally got the information from Seagate technical documentation for their SSD products.

General information about SDHC class cards - Wikipedia but reasonably written and decent (not great) annotations:
https://en.wikipedia.org/wiki/SD_card

More on wear leveling (which is the point here):
https://www.delkin.com/blog/how-do-wear-leveling-sd-cards-work/#:~:text=In%20wear%20leveling%20SD%20cards,wear%20as%20evenly%20as%20possible.

Point is, that when you delete a file you're making multiple writes to the fat table (or equivalent) to actually delete the file. When you erase (not reformat, although is commonly called that) your basically making a single multi-block write to a few cells which can easily be wear leveled. Its harder to wear level many writes to the fat table - certainly more writes.

The point here is that the erasure process doesn't update the fat table at all - just replaces it with a new empty one. Much less write activity. This isn't that much of an issue with low volume operations - its much more of an issue when you dealing with server farms and very active databases.
I originally got the information from Seagate tech... (show quote)

Thanks! Interesting. I appreciate it.
For how I use mine, I'm not concerned.

Reply
Oct 4, 2022 18:55:05   #
bdk Loc: Sanibel Fl.
 
I copy files to My hard Drive I never cut or move them once I have them I can delete the files on the card .
Some cameras and computers leave files on the card, Some are hidden some you can see. Some times there is remnants of files left on the card. there is a name for this but its long forgotten . With new cards this may not happen but it did on older cards 10 or more years ago.
So formatting the card gets rid of all that unwanted stuff. I do not format after every session. I may go a month or more sometimes before I format .... It is a good idea to do it once in a while. Gives everything a fresh start

Reply
Oct 4, 2022 19:04:54   #
Longshadow Loc: Audubon, PA, United States
 
bdk wrote:
I copy files to My hard Drive I never cut or move them once I have them I can delete the files on the card .
Some cameras and computers leave files on the card, Some are hidden some you can see. Some times there is remnants of files left on the card. there is a name for this but its long forgotten . With new cards this may not happen but it did on older cards 10 or more years ago.
So formatting the card gets rid of all that unwanted stuff. I do not format after every session. I may go a month or more sometimes before I format .... It is a good idea to do it once in a while. Gives everything a fresh start
I copy files to My hard Drive I never cut or move ... (show quote)

Yup. fresh starts can be
pleasing.

Reply
 
 
Oct 4, 2022 22:58:45   #
Orphoto Loc: Oregon
 
I can't add to the discussion on a deep dive technical level. However, after reading voraciously for well over 10 years, there is near uniformity among informed opinions ...best practice is not to write (or delete) to your memory card using your computer. In other words do the transfer, and then use the camera to reformat the card.

All of this is a numbers/probability exercise. Just because someone has done it the other way without a bad outcome does not disprove the best practice.

Reply
Oct 5, 2022 00:18:26   #
NickGee Loc: Pacific Northwest
 
Dragonophile wrote:
On another post several people indicate that they reformat their SD card after transferring files from camera to computer. Why? I just cut files from card and paste to computer folder using a USB card reader. I have never experienced any file corruption on my SD card. I don't reformat a hard disk after deleting and moving files so why do so after using a SD card?

I am wondering if these people are being extra cautious or if there is a valid reason this is beneficial?


I was intrigued by your question (and also wondered if repeatedly reformatting harmed the card or shortened its lifespan) so I did a bit of digging and learned that repeatedly deleting files from the card will shorten its life (all SD cards eventually wear out), and that the recommended best practice is to "delete all" by reformatting. I'll let the expert explain:

"Flash memory has a limited number of write cycles it can tolerate before it fails. The number of write cycles each bit on a flash memory card can handle before it fails is very large but it will eventually wear out. So the controller tries to ensure that each storage location of the entire card is written to roughly the same number of times over the life of the card. What this means is that even after you format the card the controller will continue using parts of the card that have not yet been written to until each storage location on the entire card has been written to before it will go back and begin using the locations that have already been used.

"That's good for recovery because it means not much is overwritten until the entire card has been written to once. But then it's going to go back and use the very beginning again if that space is showing as empty. When you delete a file normally the space that file used is marked as empty but the state of each bit in that space is not altered. When you format a card pretty much all of the regular storage space on the card is marked as empty and available for use.

"Formatting regularly helps the memory controller on the card do a better job of wear leveling. It also allows for better card performance by increasing the likelihood of sequential write operations. If you leave the same files on half the card and repeatedly write files to the other half, erase them, and rewrite other files then all of the wear is going to go to only half the card and the life expectancy of the card before half of it fails will be shorter!"

Reply
Oct 5, 2022 02:28:36   #
mwsilvers Loc: Central New Jersey
 
BebuLamar wrote:
I do not cut and paste as I don't want to remove the files on the card before I am sure I have them on the computer.
After that formatting the card in the camera is quicker.


Absolutely.

Reply
Oct 5, 2022 03:03:22   #
CamB Loc: Juneau, Alaska
 
smf85 wrote:
The limiting factor on card life is the number of writes made to the card. Extraneous writes should be avoided - to delete a file takes multiple writes to the file table. Erasing a a card [aka reformatting it ] uses far fewer actual writes to get to the same point - space for new files.

It’s not much of a limiting factor when you can use, erase and reformat the card a thousand times without a thought.
…Cam

Reply
 
 
Oct 5, 2022 05:13:17   #
cmc4214 Loc: S.W. Pennsylvania
 
BebuLamar wrote:
It's not easy to get to the first and the last files on the cards if you have several hundreds files and you may have to scroll. I hate scrolling the most.


ctrl a selects all files

Reply
Oct 5, 2022 05:14:41   #
cmc4214 Loc: S.W. Pennsylvania
 
cmc4214 wrote:
ctrl a selects all files


By the way, I have never formatted any sd card (even new ones) and never had a problem

Reply
Oct 5, 2022 07:03:28   #
Celtis87
 
BebuLamar wrote:
I do not cut and paste as I don't want to remove the files on the card before I am sure I have them on the computer.
After that formatting the card in the camera is quicker.


Makes sense. New step in my workflow! Thanks.

Reply
Oct 5, 2022 07:27:33   #
bw79st Loc: New York City
 
smf85 wrote:
I originally got the information from Seagate technical documentation for their SSD products.

The point here is that the erasure process doesn't update the fat table at all - just replaces it with a new empty one. Much less write activity. This isn't that much of an issue with low volume operations - its much more of an issue when you dealing with server farms and very active databases.


So what's the bottom line? My Olympus cameras offer me a choice when I wipe a card: "All Erase" or "Format." Which is the option that offers less wear on the SD card?

Reply
 
 
Oct 5, 2022 07:41:11   #
pecohen Loc: Central Maine
 
BebuLamar wrote:
I do not cut and paste as I don't want to remove the files on the card before I am sure I have them on the computer.
After that formatting the card in the camera is quicker.


I've found there is a disadvantage to formatting, however. It is a camera-specific problem, however. Perhaps many Sony A-series cameras store other information on the SD card than just images. My own A-6500 allows variouscamera-setting configurations to be stored for later recall. Two can be stored in the camera but another four can be stored on the SD card. These will be lost if the card is formatted. However the camera also has a bulk delete feature that is just as fast and easy as a format.

Reply
Oct 5, 2022 07:42:03   #
hcmcdole
 
Dragonophile wrote:
On another post several people indicate that they reformat their SD card after transferring files from camera to computer. Why? I just cut files from card and paste to computer folder using a USB card reader. I have never experienced any file corruption on my SD card. I don't reformat a hard disk after deleting and moving files so why do so after using a SD card?

I am wondering if these people are being extra cautious or if there is a valid reason this is beneficial?


I do the same thing as you. I occasionally format the card in the card reader or in the camera as a quick way to insure of a "clean" card. I've never had any issue with all the cameras and cards over 22 years of digital photography. Cards are so much cheaper today than they were in the beginning. Need a faster, bigger card? Buy one at the big box store for very little money. I remember when I bought a 256 MB (mega, not giga byte) for $100 way back when, thinking they aren't getting any cheaper or bigger. Was I ever wrong.

Reply
Oct 5, 2022 08:00:33   #
Robert1 Loc: Davie, FL
 
Cards are like a developed film roll to me. I fill the card, then I use my computer card reader to copy the files, then that card is stored away with the pertinent info of which Camara and date ranges that the card was used.

Then a new card replaces it in the camera. SD Cards are so cheap nowadays, that I don't mind getting new cards to replace the filled ones. This way even if I were to have a catastrophic hard drive failure, I still would always have the original source, that plus I print everything that I consider that needs printing. So no reformatting for me.

Reply
Oct 5, 2022 08:05:25   #
Longshadow Loc: Audubon, PA, United States
 
cmc4214 wrote:
By the way, I have never formatted any sd card (even new ones) and never had a problem


Yea, I don't worry about it either,
I just use the buggers.

Reply
Page <<first <prev 3 of 9 next> last>>
If you want to reply, then register here. Registration is free and your account is created instantly, so you can post right away.
Main Photography Discussion
UglyHedgehog.com - Forum
Copyright 2011-2024 Ugly Hedgehog, Inc.