LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2009, 05:06 PM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
ext2 vs ext3 on usb-is ext2 better for health of usb?


Meaning, is ext2 a better choice for a usb booting a distro via grub?
I ahve heard that ext3 does alot of read/writes due to journaling.
anyone know?
thanks
 
Old 06-08-2009, 06:27 PM   #2
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by linus72 View Post
Meaning, is ext2 a better choice for a usb booting a distro via grub?
I ahve heard that ext3 does alot of read/writes due to journaling.
anyone know?
thanks
Yes, EXT3 is a journaling file system, EXT2 is not, and therefore would be better for the USB stick.

Cheers

Last edited by DragonSlayer48DX; 06-08-2009 at 06:30 PM.
 
Old 06-08-2009, 06:31 PM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK, so everyone Note what it says for USB's in ext2 link above, thanks Dragonslayer48dx.

Quote:
ext2 is still the filesystem of choice for flash-based storage media (such as SD cards, SSDs, and USB flash drives) since its lack of a journal minimizes the number of writes. Flash devices have only a limited number of write cycles.
So, ext3 is a No-No
 
Old 06-08-2009, 06:45 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

To generally lump that 'SSD' drives will fault is not valid. You need to define the type of 'SSD'. There are more types then Flash based 'SSD' units.

Do some google searches for 'SSD' using different cell types.
 
Old 06-08-2009, 06:58 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I was only really thinking about usb's.
I have two usb's, a 2GB and 4GB Kingston DataTravelers.
I was using ext3 but have now re-formatted it ext2.
 
Old 06-08-2009, 07:10 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
There are mount options that limit the writing to disk - especially noatime and nodiratime. Given the safety the journal affords, I would never use ext2 - except for /boot which has almost no updates.
You will probably throw the device away before you wear it out.
 
Old 06-08-2009, 07:18 PM   #7
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by syg00 View Post
Given the safety the journal affords, I would never use ext2 - except for /boot which has almost no updates.
That may only be a matter of opinion. Can you define the 'safety'? I have PuppyLinux installed to HDD on EXT2- I fail to see the problem.
 
Old 06-08-2009, 07:26 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Follow your ext3 link above to "journaled file system" - read that. Seems a reasonable summation.
 
Old 06-08-2009, 07:34 PM   #9
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by syg00 View Post
Follow your ext3 link above to "journaled file system" - read that. Seems a reasonable summation.
I must be really old-school; I still depend on back-ups in case of problems.
 
Old 06-08-2009, 07:43 PM   #10
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Being that all my usb's, pc's and my laptop's are basically "test-beds", data is not as important as reliability and durability.
I will stay with ext2 on usb; as it's life is stressful enough-Every download at my site has went thru both my usb's an uncountable amount of times!!
 
Old 06-08-2009, 10:44 PM   #11
rikxik
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 19
Or you can simply use the ol' FAT32 if you care about reading/writing from both Windows and Linux.
 
Old 06-08-2009, 11:37 PM   #12
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by rikxik View Post
Or you can simply use the ol' FAT32 if you care about reading/writing from both Windows and Linux.
Hehehehe...

There's a reason why MS dropped FAT32- It was more waste of space than Windows.

Cheers
 
Old 06-09-2009, 11:13 PM   #13
rikxik
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 19
Quote:
Originally Posted by dragonslayer48dx View Post
Hehehehe...

There's a reason why MS dropped FAT32- It was more waste of space than Windows.

Cheers
Storage space is cheap now with even 32Gb usb flash drives prices quite reasonably. Its the flexibility which is priceless.
 
Old 06-10-2009, 04:18 AM   #14
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by rikxik View Post
Storage space is cheap now with even 32Gb usb flash drives prices quite reasonably. Its the flexibility which is priceless.
True, if you're going to be using the device on both OSes, then FAT32 may be your best 'lame duck' fs. From what I've gathered of Linus72 though, he doesn't do Windows.

Cheers

Last edited by DragonSlayer48DX; 06-10-2009 at 04:19 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb flash drive / ext2 oddness slimjim Linux - Hardware 3 01-03-2007 05:20 PM
EXT2 -fs warning (device sda1): ext2_fill_super:mounting ext3 filesystem as ext2 snakeo2 Linux - Newbie 6 11-19-2006 07:35 PM
extlinux to boot ext2 USB flash Weavind Linux - Software 1 04-06-2006 04:33 AM
ext2 on usb stick? c.m.klaij DamnSmallLinux 2 01-16-2006 02:17 AM
rm lockup on usb stick formatted as ext2 pbjoiner Linux - General 0 03-18-2005 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration