freeman
Posts: 50
Joined: Wed Sep 18, 2013 7:57 am
Location: European Union
Contact: Website

What is recommened media for system 24/7

Wed Nov 20, 2013 4:31 pm

I have Raspberry 24/7 working since August. I have lost 3 SD cards and 1 USB pen drive due to 24/7 working.

Generally speaking SD cards are burned from about 3-4 weeks, and USB pen drive about 8 weeks. What you recommend to use as root media? SD, USB pen drive, SSD disk, HDD, other? HDD and SSD are too big, for my needs, I use as much as 4GB for entire files system.
-----
Tomas Freeman

freeman
Posts: 50
Joined: Wed Sep 18, 2013 7:57 am
Location: European Union
Contact: Website

Re: What is recommened media for system 24/7

Wed Nov 20, 2013 4:57 pm

I found something.
I want to share with RPI community, almost ideal solution. It is SSD disk drive.

Mach Xtreme MX SATA DOM MXSSD2MSLD8G-H/V
8GB
SATA II
MTBF +2,500,000 Hours
Power Consumption DC 5V

Do you know any chip interface USB2SATA?
-----
Tomas Freeman

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23679
Joined: Sat Jul 30, 2011 7:41 pm

Re: What is recommened media for system 24/7

Wed Nov 20, 2013 5:00 pm

I got a USB to Sata cable (does other formats) - was about £10, came from Ebuyer.

But try the latest firmware which has an SD card fix - that may help - and also, unless its not possible, you can reduce the amount of SD card accesses by turning off logging and using RAM disks for temporary files. That can really help too.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

User avatar
RaTTuS
Posts: 10459
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: What is recommened media for system 24/7

Wed Nov 20, 2013 5:26 pm

if you are burning SD cards that fast you must be doing a lot of writing to the disk -
your SSD will not last much better
what are you using it for?

[I've got one of the original RPI that is still on the SD card I got for it and it has been running 24x7]
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

freeman
Posts: 50
Joined: Wed Sep 18, 2013 7:57 am
Location: European Union
Contact: Website

Re: What is recommened media for system 24/7

Thu Nov 21, 2013 1:49 pm

jamesh wrote:I got a USB to Sata cable (does other formats) - was about £10, came from Ebuyer.

But try the latest firmware which has an SD card fix - that may help - and also, unless its not possible, you can reduce the amount of SD card accesses by turning off logging and using RAM disks for temporary files. That can really help too.
Do you need drivers for Linux kernel for setup this type of cable?

I did firmware update, not so long time ago. Now i have:
Linux ******* 3.6.11+ #557 PREEMPT Wed Oct 2 18:49:09 BST 2013 armv6l GNU/Linux

I need logging, this is development stage. Hmmm i did not know that have so huge impact. I will try to reduce logging to minimum.

Can you tell more about using RAM disk? What type of files are thinking abour?
-----
Tomas Freeman

freeman
Posts: 50
Joined: Wed Sep 18, 2013 7:57 am
Location: European Union
Contact: Website

Re: What is recommened media for system 24/7

Thu Nov 21, 2013 1:54 pm

RaTTuS wrote:if you are burning SD cards that fast you must be doing a lot of writing to the disk -
your SSD will not last much better
what are you using it for?

The SSD disk has "better driver logic" and longer cel livings time. I use my RPI for LAMP + Wordpress + Cacti.

[I've got one of the original RPI that is still on the SD card I got for it and it has been running 24x7]
What kind of SD card you have?
Now i boot from SD card, and have root files system on USB pendrive.

Aha....USB pendrive did not burn in 100%, it is still readable, but unable to boot.
Found few files broken, like inittab file.
-----
Tomas Freeman

User avatar
RaTTuS
Posts: 10459
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: What is recommened media for system 24/7

Thu Nov 21, 2013 2:10 pm

A variety of SD cards
"good names" mostly but not all
if you logging then that may be causing issues
but swapping to rootfs on HD will be fine
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

MoosePi
Posts: 112
Joined: Wed Nov 06, 2013 4:42 pm

Re: What is recommened media for system 24/7

Thu Nov 21, 2013 3:52 pm

I did firmware update, not so long time ago. Now i have:
Linux ******* 3.6.11+ #557 PREEMPT Wed Oct 2 18:49:09 BST 2013 armv6l GNU/Linux
There is a Beta release which has the USB/SD Card fixes, which I am running AOK, I started with a fresh install of Raspbian Wheezy "2013-09-25-wheezy-raspbian.zip" then:

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot

sudo rpi-update
sudo reboot

Now:

/opt/vc/bin/vcgencmd version
Nov 12 2013 23:43:03
Copyright (c) 2012 Broadcom
version 4aee5454c7955e7bc0bbb152ca4c0e26e75376e1 (clean) (release)

uname -a
Linux raspberrypi 3.10.18+ #594 PREEMPT Wed Nov 13 17:59:34 GMT 2013 armv6l GNU/Linux
Pi Forum Search and Google yields answers to many questions

freeman
Posts: 50
Joined: Wed Sep 18, 2013 7:57 am
Location: European Union
Contact: Website

Re: What is recommened media for system 24/7

Thu Nov 21, 2013 5:42 pm

Ok, I will try to do it following your post.

But any body can tell we what kind of USB 2 SATA2 interface to buy? Is it need driver for kernel? How to install?
-----
Tomas Freeman

Return to “General discussion”