partition mounts read only after rdiff error
by Janus84 from LinuxQuestions.org on (#59MAT)
I have RPi with USB SSD that I use to backup my Home folder using rdiff.
This worked fine until now, after few seconds of syncing it halts, the RPi spits out lots of errors and ssh session closes.
I have tracked this down to the USB drive re-mounts due to some errors as read only.
Code:$ cat /proc/mounts
/dev/sda1 /backupdrive ext4 rw,nosuid,nodev,noexec,relatime 0 0after it fails the mounts changes to
Code:/dev/sda1 /backupdrive ext4 ro,nosuid,nodev,noexec,relatime 0 0


This worked fine until now, after few seconds of syncing it halts, the RPi spits out lots of errors and ssh session closes.
I have tracked this down to the USB drive re-mounts due to some errors as read only.
Code:$ cat /proc/mounts
/dev/sda1 /backupdrive ext4 rw,nosuid,nodev,noexec,relatime 0 0after it fails the mounts changes to
Code:/dev/sda1 /backupdrive ext4 ro,nosuid,nodev,noexec,relatime 0 0