Raspberry Pi / filesystem stability

BBrendon

ok You gotta let me know how you’re doing that. I have a 4tb NAS with GigE and various SoCs including Odroid C2+, a couple PCDuino3 Nanos, An Odroid HC-1, and a couple PIs. I would love to just have them grab their image from the NAS. Right now I can’t even get hass to run from NAS.

Anyone had luck with mlc based nand cards? I’ve just ordered an industrial Kingston card in the hope it’s a bit more robust.

These are my very old notes. At least 3+ years old but I think my Pi is running the latest OS so it should sitll work. Good luck NFS mounting :slight_smile:

Copy the root partition from the SD card to my NFS server: “tar -cf - --one-file-system -C / . | ssh server tar -xpf - -C /foo/rpi”

change /boot/cmdline.txt
From: dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

To: dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/nfs ip=dhcp nfsroot=192.168.1.11:/volume1/bb-rpi/root,vers=3 rw elevator=deadline rootwait

Comment out the eth0 lines in /etc/network/interfaces

comment out the root (/) mount in /etc/fstab

http://www.raspberrypi.org/forums/viewtopic.php?f=2&t=5974

http://blogs.wcode.org/2013/09/howto-netboot-a-raspberry-pi/

Anybody tried booting completely off USB? https://github.com/raspberrypi/documentation/blob/master/hardware/raspberrypi/bootmodes/msd.md

This is only possible with rpi3, but if that works I would consider upgrading my pies :slight_smile:

My pi’s are fully running on a SSD connected to USB. No SD-card what so ever.

I’m running off a 32GB USB drive, on my RaspberryPI 3 with no SD card installed. I followed the instructions here:

https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md

1 Like

Raspberry Pi system is quite fragile… So, I, persnally, constantly needed a backup. But now, Ihave solved the issue)) This backup has really helped How to Backup up and Restore your Raspberry Pi SD Card

I run Hass on raspbian with

  • Root filesystem RO
  • home-dir in memory overlayfs

I used the following instructions

Is it stable? Running a pi 3B+ crashes within a week. On my fourth rebuild.

It was stable until the 32GB drive became corrupted (it was an old thumb drive I’ve had for several years) I replaced it with a new 128GB thumb drive in early October, and haven’t had any problems.

I run Hassbian, and back it up a couple of times a week.

Had to corrupt SD cards aswell in 1 year. Think about moving away from a SD card.