WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ext2 vs ext3 on usb-is ext2 better for health of usb?  (Read 8139 times)

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
ext2 vs ext3 on usb-is ext2 better for health of usb?
« on: June 08, 2009, 03:30:40 PM »
OK, which is beter?
i have heard ext3 does alot of read/writes back to usb 'cause of journaling.
is this true?
Is ext2 better for health of USB.
Note, I am writing this from newly ext2 formatted usb(was ext3), booting tinycore_2.0 with
microcore elements.
It runs great, Tinycore rocks.
I am redoing my whole tinycore section and so this will be good info for the how-to also.
thanks ;D

Offline softwaregurl

  • Suspended
  • Full Member
  • ***
  • Posts: 109
Re: ext2 vs ext3 on usb-is ext2 better for health of usb?
« Reply #1 on: June 08, 2009, 10:10:03 PM »
I was just reading Wikipedia articles on ext2 and ext3 and journaling a few days ago. 
from http://en.wikipedia.org/wiki/Ext2
Quote
ext2 is still recommended over journaling file systems on bootable USB flash drives and other solid-state drives. ext2 performs fewer writes than ext3 since it does not need to write to the journal. As the major aging factor of a flash chip is the number of erase cycles, and as those happen frequently on writes, this increases the life span of the solid-state device.[1] Another good practice for filesystems on flash devices is the use of the noatime mount option, for the same reason.
the ext3 page is http://en.wikipedia.org/wiki/Ext3
I was actually looking for file size limits.
Old wounds that have never healed need to be re-exposed before the cure can be applied.  The cure must be available before the wound is re-exposed.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: ext2 vs ext3 on usb-is ext2 better for health of usb?
« Reply #2 on: June 09, 2009, 03:52:03 AM »
ext2 limits:
Quote
Filesystem block size:     1kB        2kB        4kB        8kB

File size limit:          16GB      256GB     2048GB     2048GB
Filesystem size limit:  2047GB     8192GB    16384GB    32768GB
From kernel documentation
The only barriers that can stop you are the ones you create yourself.

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
Re: ext2 vs ext3 on usb-is ext2 better for health of usb?
« Reply #3 on: June 09, 2009, 06:04:49 AM »
OK, having checked it out I believe I am going to go with ext2, as it damages usb less and the data is not that important that I need a journaling fs.
Block size shouldn't be an issue on 2GB and 4GB usb either right?
thanks.
Nice to meet you software gurl-Please don't be offended by my eager use of the female figure in some of my screenshots/downloads/wallpapers. ::)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ext2 vs ext3 on usb-is ext2 better for health of usb?
« Reply #4 on: June 09, 2009, 06:19:15 AM »
Hi,

Todays flash drives have much longer lifetime than in the past so I think it is not a real argument.

Please consider that TC is running in RAM and do not require flash drive to run, only for initial load and backup.

It is whorth to use a journaling ext3 to have safety against file system corruption.

Regards

Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: ext2 vs ext3 on usb-is ext2 better for health of usb?
« Reply #5 on: June 09, 2009, 11:01:38 AM »
....have to agree on the corruption issue.  I recently moved my backup to an ext3 partition, after noticing
substancial corruption even with frequent e2fsck fixes...generally ionode issues.     

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ext2 vs ext3 on usb-is ext2 better for health of usb?
« Reply #6 on: June 09, 2009, 11:10:30 AM »
Yeah, and a 1-2 GByte stick what is enough for such work is cheap. Much cheaper than your extra time spent to recover lost data  ;)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: ext2 vs ext3 on usb-is ext2 better for health of usb?
« Reply #7 on: June 09, 2009, 12:35:12 PM »
..and also much faster boot time by not having to include 'checkfs' in bootoptions (..although rarely mentioned in our "instant on, no-rot" aspirations).  
« Last Edit: June 09, 2009, 12:38:21 PM by jpeters »