LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 06:06 PM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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, 07:27 PM   #2
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
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 07:30 PM.
 
Old 06-08-2009, 07:31 PM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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, 07:45 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,601
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
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, 07:58 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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, 08:10 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,040

Rep: Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914
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, 08:18 PM   #7
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
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, 08:26 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,040

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

Rep: Reputation: 74
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, 08:43 PM   #10
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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, 11: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-09-2009, 12:37 AM   #12
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
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-10-2009, 12:13 AM   #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, 05:18 AM   #14
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
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 05:19 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:20 PM
EXT2 -fs warning (device sda1): ext2_fill_super:mounting ext3 filesystem as ext2 snakeo2 Linux - Newbie 6 11-19-2006 08:35 PM
extlinux to boot ext2 USB flash Weavind Linux - Software 1 04-06-2006 05:33 AM
ext2 on usb stick? c.m.klaij DamnSmallLinux 2 01-16-2006 03:17 AM
rm lockup on usb stick formatted as ext2 pbjoiner Linux - General 0 03-18-2005 06:29 PM


All times are GMT -5. The time now is 10:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration