5

I'm making a custom bootable USB flash drive with a persistent partition. Formatting the partition as ext2 obviously makes the filesystem very sensitive to improper unmounting. I remember a while back that Ubuntu (and other distributions) had problems when Flash memory was formatted as ext3/4, writing data so frequently that the flash drives died very quickly.

Have these issues now been resolved? Is there any reason to not use a journaled filesystem when formatting a USB flash drive?

Pablo Bianchi
  • 17,371

3 Answers3

1

I use the ext4 file system and turn off journaling in USB drives and memory cards. I also set the mount option 'noatime' in /etc/fstab in an installed system. See these links:

Finally, backup the system or at least your personal data at regular intervals and whenever important data are stored!

Pablo Bianchi
  • 17,371
sudodus
  • 47,684
0

Even if there were I'd still journal the USB stick. There is a slim possibility that it would increase the wear on the drive, but it's not nearly as certain as the fact that if you mistakenly fail to umount the thing properly one time you will be boned. The answer is buy more drives when they wear out, not turn off the only protection the filesystem has against damage.

sean
  • 546
0

I think that usb drive's every cell has it's own limit number of read/write.
So journaling is not used.
solving this problem may be very difficult.

xiaodongjie
  • 2,874