I'm just curious: What makes a Flash memory on an USB interface
more durable than a Flash memory on a SD card?
On 20/03/2021 11:22, mm0fmf wrote:
The following are mounted onto tmpfs:
tmpfs on /tmp type tmpfs (rw,nosuid,noatime,size=102400k)
tmpfs on /var/spool/mqueue type tmpfs
(rw,nosuid,noatime,size=30720k,mode=700,gid=12)
tmpfs on /var/tmp type tmpfs (rw,nosuid,noatime,size=30720k)
tmpfs on /var/log type tmpfs (rw,nosuid,noatime,size=102400k,mode=755)
The problem with /var/log on /tmp is you have no clue as to what has
gone wrong when there is a problem and you have to reboot. You can set
up syslog to log to another computer, but this wont help if problems are
due to network issues.
---druck
I'm just curious: What makes a Flash memory on an USB interface
more durable than a Flash memory on a SD card?
The only other thing I do these days is to buy as big an SD card as I
can. That's 32 GB now (I don't know whether the RPi or the PC I use for imaging would take 64 GB).
I've used Pi's since as soon as I could buy them but I've never run one
24/7 before so I'd like to ensure I've done sufficient to maximise SD
Card life.
All this PI does is sit accepting SSH connections and acts as a gateway
to allow tunnelling or SOCKS5 proxying. It also lets me send WOL magic packets to other local computers to wake them up so I don't need to
leave those computers running 24/7. That's all working fine.
However, I'd like to maximise the SC Card life where possible so I have mounted a few places onto tmpfs to minimise writes to the card. I have a couple of cron jobs running that tickle the dynamic DNS provider and
another that reboots the Pi every 24 hours as a crude and simple way of ensuring not the tmpfs log space doesn't fill.
The following are mounted onto tmpfs:
tmpfs on /tmp type tmpfs (rw,nosuid,noatime,size=102400k)
tmpfs on /var/spool/mqueue type tmpfs (rw,nosuid,noatime,size=30720k,mode=700,gid=12)
tmpfs on /var/tmp type tmpfs (rw,nosuid,noatime,size=30720k)
tmpfs on /var/log type tmpfs (rw,nosuid,noatime,size=102400k,mode=755)
There is no swap running as all this does is SSH connection handling.
I have plenty of old small (8Gb) SD Cards to replace the one in use but
I don't want to have to be copying a new one more often than needed.
Is there anything else that really needs doing or is this sufficient?
I've used Pi's since as soon as I could buy them but I've never run one
24/7 before so I'd like to ensure I've done sufficient to maximise SD
Card life.
All this PI does is sit accepting SSH connections and acts as a gateway
to allow tunnelling or SOCKS5 proxying. It also lets me send WOL magic packets to other local computers to wake them up so I don't need to
leave those computers running 24/7. That's all working fine.
However, I'd like to maximise the SC Card life where possible so I have mounted a few places onto tmpfs to minimise writes to the card. I have a couple of cron jobs running that tickle the dynamic DNS provider and
another that reboots the Pi every 24 hours as a crude and simple way of ensuring not the tmpfs log space doesn't fill.
The following are mounted onto tmpfs:
tmpfs on /tmp type tmpfs (rw,nosuid,noatime,size=102400k)
tmpfs on /var/spool/mqueue type tmpfs (rw,nosuid,noatime,size=30720k,mode=700,gid=12)
tmpfs on /var/tmp type tmpfs (rw,nosuid,noatime,size=30720k)
tmpfs on /var/log type tmpfs (rw,nosuid,noatime,size=102400k,mode=755)
There is no swap running as all this does is SSH connection handling.
I have plenty of old small (8Gb) SD Cards to replace the one in use but
I don't want to have to be copying a new one more often than needed.
Is there anything else that really needs doing or is this sufficient?
BY: mm0fmf(3:770/3)
I've used Pi's since as soon as I could buy them but I've never run one 24/7 before so I'd like to ensure I've done sufficient to maximise SD
Card life.
Not sure what Pi you have, but if it's a 4, have you thought about going with USB instead of SD card? I've currently got my BBS running on a RPi 4 with everything on a USB drive. 128 GB flash drive the size of my thumbnail plugged
into one of the USB 3.0 ports. Works fine, and I don't have to worry about read/write cycles.
-Craig
BY: mm0fmf(3:770/3)
I've used Pi's since as soon as I could buy them but I've never run one 24/7 before so I'd like to ensure I've done sufficient to maximise SD
Card life.
Not sure what Pi you have, but if it's a 4, have you thought about going with USB instead of SD card? I've currently got my BBS running on a RPi 4 with everything on a USB drive. 128 GB flash drive the size of my thumbnail plugged
into one of the USB 3.0 ports. Works fine, and I don't have to worry about read/write cycles.
-Craig
BY: mm0fmf(3:770/3)
I've used Pi's since as soon as I could buy them but I've never run one 24/7 before so I'd like to ensure I've done sufficient to maximise SD
Card life.
Not sure what Pi you have, but if it's a 4, have you thought about going with USB instead of SD card? I've currently got my BBS running on a RPi 4 with everything on a USB drive. 128 GB flash drive the size of my thumbnail plugged
into one of the USB 3.0 ports. Works fine, and I don't have to worry about read/write cycles.
On 19.3.21 23.03, Craig Dooley wrote:
BY: mm0fmf(3:770/3)
I've used Pi's since as soon as I could buy them but I've never runone
24/7 before so I'd like to ensure I've done sufficient to maximise SDNot sure what Pi you have, but if it's a 4, have you thought about
Card life.
going with
USB instead of SD card? I've currently got my BBS running on a RPi 4
with
everything on a USB drive. 128 GB flash drive the size of my
thumbnail plugged
into one of the USB 3.0 ports. Works fine, and I don't have to worry
about
read/write cycles.
-Craig
I'm just curious: What makes a Flash memory on an USB interface
more durable than a Flash memory on a SD card?
I'm just curious: What makes a Flash memory on an USB interface
more durable than a Flash memory on a SD card?
On 2021-03-19, Craig Dooley
<nospam.Craig.Dooley@f126.n123.z1.fidonet.org> wrote:
BY: mm0fmf(3:770/3)
I've used Pi's since as soon as I could buy them but I've never runone m> 24/7 before so I'd like to ensure I've done sufficient to
maximise SD m> Card life.
Not sure what Pi you have, but if it's a 4, have you thought about
going with USB instead of SD card? I've currently got my BBS running
on a RPi 4 with everything on a USB drive. 128 GB flash drive the size
of my thumbnail plugged into one of the USB 3.0 ports. Works fine, and
I don't have to worry about read/write cycles.
It's flash whether the interface is SD or USB - there is a write limit!
BY: Tauno Voipio(3:770/3)
I'm just curious: What makes a Flash memory on an USB interface TV>more durable than a Flash memory on a SD card?
I'm not really sure. it's my understanding that SD cards will wear out because of read/write cycles eventually. I've never heard that said of
a USB flashdrive. But I'm not an expert on either.
Dana Sat, 20 Mar 2021 11:42:38 +1300, Craig Dooley <nospam.Craig.Dooley@f126.n123.z1.fidonet.org> napis'o:
BY: Tauno Voipio(3:770/3)
I'm not really sure. it's my understanding that SD cards will wear out because
I'm just curious: What makes a Flash memory on an USB interface
more durable than a Flash memory on a SD card?
of read/write cycles eventually. I've never heard that said of a USB
flashdrive. But I'm not an expert on either.
I've got few of USB flash drives that died. Or got read only.
BY: Tauno Voipio(3:770/3)
I'm just curious: What makes a Flash memory on an USB interface
more durable than a Flash memory on a SD card?
I'm not really sure. it's my understanding that SD cards will wear out because
of read/write cycles eventually. I've never heard that said of a USB flashdrive. But I'm not an expert on either.
It sounds like you usage is a fit for running with the root file system readonly
On 20/03/2021 11:35, Jim Jackson wrote:
It sounds like you usage is a fit for running with the root file system
readonly
Thanks. I found an article from 2016 about making root read only FS for
a Pi. I'll give that a test run tomorrow and see how it goes.
On 19/03/2021 21:03, Craig Dooley wrote:
BY: mm0fmf(3:770/3)
I've used Pi's since as soon as I could buy them but I've never runone
24/7 before so I'd like to ensure I've done sufficient to maximise SDNot sure what Pi you have, but if it's a 4, have you thought about
Card life.
going with
USB instead of SD card? I've currently got my BBS running on a RPi 4
with
everything on a USB drive. 128 GB flash drive the size of my
thumbnail plugged
into one of the USB 3.0 ports. Works fine, and I don't have to worry
about
read/write cycles.
-Craig
I meant to say it's a Pi Zero W but forgot.
| Sysop: | deepend |
|---|---|
| Location: | Calgary, Alberta |
| Users: | 318 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 11:01:27 |
| Calls: | 2,593 |
| Files: | 6,272 |
| D/L today: |
169 files (28,955K bytes) |
| Messages: | 483,935 |