Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #11245 > unrolled thread

Linux installed on a USB Stick & Wear Levelling

Started byRahul <nospam@invalid.invalid>
First post2014-06-10 06:24 +0000
Last post2014-06-10 16:56 +0000
Articles 11 — 8 participants

Back to article view | Back to comp.os.linux.misc


Contents

  Linux installed on a USB Stick & Wear Levelling Rahul <nospam@invalid.invalid> - 2014-06-10 06:24 +0000
    Re: Linux installed on a USB Stick & Wear Levelling Baho Utot <baho-utot@invalid.com> - 2014-06-10 08:02 -0400
      Re: Linux installed on a USB Stick & Wear Levelling Alias <aka@maskedandanonymous.commmm> - 2014-06-10 14:18 +0200
        Re: Linux installed on a USB Stick & Wear Levelling Baho Utot <baho-utot@invalid.com> - 2014-06-10 09:55 -0400
          Re: Linux installed on a USB Stick & Wear Levelling Clark Smith <noaddress@nowhere.net> - 2014-06-10 15:25 +0000
          Re: Linux installed on a USB Stick & Wear Levelling William Unruh <unruh@invalid.ca> - 2014-06-10 16:08 +0000
            Re: Linux installed on a USB Stick & Wear Levelling Baho Utot <baho-utot@invalid.com> - 2014-06-10 13:04 -0400
          Re: Linux installed on a USB Stick & Wear Levelling Aragorn <thorongil@telenet.be.invalid> - 2014-06-10 18:51 +0200
      Re: Linux installed on a USB Stick & Wear Levelling Eli the Bearded <*@eli.users.panix.com> - 2014-06-10 18:34 +0000
    Re: Linux installed on a USB Stick & Wear Levelling "J.B. Wood" <arl_123234@hotmail.com> - 2014-06-10 12:34 -0400
      Re: Linux installed on a USB Stick & Wear Levelling Rahul <nospam@invalid.invalid> - 2014-06-10 16:56 +0000

#11245 — Linux installed on a USB Stick & Wear Levelling

FromRahul <nospam@invalid.invalid>
Date2014-06-10 06:24 +0000
SubjectLinux installed on a USB Stick & Wear Levelling
Message-ID<XnsA348792957D006650A1FC0D7811DDBC81@78.46.70.116>
Has anyone tried running Linux off a USB-stick? A full regular install, not 
a LiveUSB. Reason I ask is, how bad is the wear levelling problem? 

I tried using a LiveUSB with persistant storage but the continously growing 
Copy on Write Overlay was nasty. 

Any workarounds or ideas? 

[toc] | [next] | [standalone]


#11247

FromBaho Utot <baho-utot@invalid.com>
Date2014-06-10 08:02 -0400
Message-ID<qn8j6b-g73.ln1@raspberrypi.bildanet.com>
In reply to#11245
Rahul wrote:

> Has anyone tried running Linux off a USB-stick? A full regular
> install, not a LiveUSB. Reason I ask is, how bad is the wear levelling
> problem?

I have. Don't worry about wear leveling.  Use ext3 filesystem.

> 
> I tried using a LiveUSB with persistant storage but the continously
> growing Copy on Write Overlay was nasty.
> 
> Any workarounds or ideas?

[toc] | [prev] | [next] | [standalone]


#11248

FromAlias <aka@maskedandanonymous.commmm>
Date2014-06-10 14:18 +0200
Message-ID<ln6t3l$rul$4@dont-email.me>
In reply to#11247
Baho Utot wrote:
> I have. Don't worry about wear leveling.  Use ext3 filesystem.

Why not ext4?

-- 
Alias

[toc] | [prev] | [next] | [standalone]


#11249

FromBaho Utot <baho-utot@invalid.com>
Date2014-06-10 09:55 -0400
Message-ID<ubfj6b-pc3.ln1@raspberrypi.bildanet.com>
In reply to#11248
Alias wrote:

> Baho Utot wrote:
>> I have. Don't worry about wear leveling.  Use ext3 filesystem.
> 
> Why not ext4?
> 

Because of the journaling.
Google is your friend

[toc] | [prev] | [next] | [standalone]


#11250

FromClark Smith <noaddress@nowhere.net>
Date2014-06-10 15:25 +0000
Message-ID<ln781b$8o2$3@news.albasani.net>
In reply to#11249
On Tue, 10 Jun 2014 09:55:51 -0400, Baho Utot wrote:

> Alias wrote:
> 
>> Baho Utot wrote:
>>> I have. Don't worry about wear leveling.  Use ext3 filesystem.
>> 
>> Why not ext4?
>> 
>> 
> Because of the journaling.
> Google is your friend

	But ext3 does journaling as well.

[toc] | [prev] | [next] | [standalone]


#11251

FromWilliam Unruh <unruh@invalid.ca>
Date2014-06-10 16:08 +0000
Message-ID<ln7ahf$ut$2@dont-email.me>
In reply to#11249
On 2014-06-10, Baho Utot <baho-utot@invalid.com> wrote:
> Alias wrote:
>
>> Baho Utot wrote:
>>> I have. Don't worry about wear leveling.  Use ext3 filesystem.
>> 
>> Why not ext4?
>> 
>
> Because of the journaling.

ext3 has journaling as well. 

> Google is your friend
>

[toc] | [prev] | [next] | [standalone]


#11255

FromBaho Utot <baho-utot@invalid.com>
Date2014-06-10 13:04 -0400
Message-ID<8eqj6b-9o3.ln1@raspberrypi.bildanet.com>
In reply to#11251
William Unruh wrote:

> On 2014-06-10, Baho Utot <baho-utot@invalid.com> wrote:
>> Alias wrote:
>>
>>> Baho Utot wrote:
>>>> I have. Don't worry about wear leveling.  Use ext3 filesystem.
>>> 
>>> Why not ext4?
>>> 
>>
>> Because of the journaling.
> 
> ext3 has journaling as well.
> 
>> Google is your friend
>>

I meant to say ext2, I miss typed
I am running this on a raspberry pi server that does nntp, dns, mail and 
file serving on my local network.  
The os which is my own scratch built linux is on the SD card and all the 
other storage (mail files, logs and etc) goto a 64GB usb drive.

[baho@raspberrypi ~]$ uptime
 13:02:06 up 235 days,  2:21,  1 user,  load average: 0.03, 0.04, 0.05



[toc] | [prev] | [next] | [standalone]


#11253

FromAragorn <thorongil@telenet.be.invalid>
Date2014-06-10 18:51 +0200
Message-ID<ln7d25$l4n$1@dont-email.me>
In reply to#11249
On Tuesday 10 June 2014 15:55, Baho Utot conveyed the following to 
comp.os.linux.misc...

> Alias wrote:
> 
>> Baho Utot wrote:
>>> I have. Don't worry about wear leveling.  Use ext3 filesystem.
>> 
>> Why not ext4?
>> 
> 
> Because of the journaling.
> Google is your friend

As others have said, ext3 does journaling as well.  However, ext3 with 
the journaling turned off is essentially ext2, while ext4 with the 
journaling turned off is a lot faster than ext2/ext3.

Other Linux-native filesystems can also be used with the journaling 
turned off: reiserfs, xfs, jfs.  I don't recommend btrfs for that 
purpose.

-- 
= Aragorn =

         http://www.linuxcounter.net - registrant #223157

[toc] | [prev] | [next] | [standalone]


#11256

FromEli the Bearded <*@eli.users.panix.com>
Date2014-06-10 18:34 +0000
Message-ID<eli$1406101420@qz.little-neck.ny.us>
In reply to#11247
In comp.os.linux.misc, Baho Utot  <baho-utot@invalid.com> wrote:
> Rahul wrote:
> > Has anyone tried running Linux off a USB-stick? A full regular
> > install, not a LiveUSB. Reason I ask is, how bad is the wear levelling
> > problem?
> I have. Don't worry about wear leveling. 

[Snip filesystem suggestion, which is well covered down-thread]

Also, turn off the atime updates (which cause a lot of small writes) if
your filesystem supports it. The most general way is to put "noatime"
in the options field of your fstab, but some filesystems may have other
options. The ext[234] family have "relatime" which is a slightly less
drastic measure than "noatime". The ext2 and "relatime" was the default
on the eeepc / Xandros system I had several years ago, which was
essentially booting off a soldered on SD card. I put the eee Ubuntu[*]
distro on to a larger removable SD card and used that computer regularly
and heavily for a couple of years before the card failed. 

[*] I don't remember the exact name of this distro.

Elijah
------
loved how small that system was

[toc] | [prev] | [next] | [standalone]


#11252

From"J.B. Wood" <arl_123234@hotmail.com>
Date2014-06-10 12:34 -0400
Message-ID<ln7c36$g7l$1@ra.nrl.navy.mil>
In reply to#11245
On 06/10/2014 02:24 AM, Rahul wrote:
> Has anyone tried running Linux off a USB-stick? A full regular install, not
> a LiveUSB. Reason I ask is, how bad is the wear levelling problem?
>
> I tried using a LiveUSB with persistant storage but the continously growing
> Copy on Write Overlay was nasty.
>
> Any workarounds or ideas?
>
Hello, and I've run Red Hat EL, Fedora and CentOS distrubutions from 
CompactFlash cards without any "overlay" problems as you described.  The 
CF cards were either 8 GB or 16 GB and I used the fastest SanDisk 
Extreme IV CF cards available (not exactly cheap).  But I'm guessing 
less speedy CFs would also work fine.

A few years back I installed a freeware version of Linux called "SliTaz" 
on a thumbdrive.  It had a desktop environment, web browser (Firefox) 
and other goodies and took up very little storage space on the 
thumbdrive.  Of course these days with 64 GB or greater flashdrives 
available you can put just about any Linux OS there.  Sincerely,

-- 
J. B. Wood	            e-mail: arl_123234@hotmail.com

[toc] | [prev] | [next] | [standalone]


#11254

FromRahul <nospam@invalid.invalid>
Date2014-06-10 16:56 +0000
Message-ID<XnsA348E44CD46CF6650A1FC0D7811DDBC81@78.46.70.116>
In reply to#11252
"J.B. Wood" <arl_123234@hotmail.com> wrote in news:ln7c36$g7l$1
@ra.nrl.navy.mil:

> Hello, and I've run Red Hat EL, Fedora and CentOS distrubutions from 
> CompactFlash cards without any "overlay" problems as you described.  The 
> CF cards were either 8 GB or 16 GB and I used the fastest SanDisk 
> Extreme IV CF cards available (not exactly cheap).  But I'm guessing 
> less speedy CFs would also work fine.
> 
> 

Thanks everyone for the tips. 

As an aside, if it works so fine I've no clue why Fedora / Ubuntu etc. 
still use the silly COW overlay trick for persistant storage on their 
LiveUSBs. That thing just sucks. 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web