referring to a file system allowing both reading and writing files.
Questions tagged [readwrite]
68 questions
7
votes
2 answers
Raspbian stuck in read-only after reboot
I'm the new owner of a Raspberry Pi and I'm having trouble with my file-system getting stuck in read-only mode after rebooting the device.
Here's the hardware I'm working with:
Pi: model B
PSU: Samsung GSIII charger 5A 1A
SD: Kingston 8GB (brand…
Reid A
- 73
- 1
- 1
- 4
5
votes
6 answers
Raspbian: mount: / is busy (tried to remount sd card as read only)
Due to an sd card corruption I decided to mount the root fs as read only. Therefore, I added the 'ro' argument in /etc/fstab
/dev/mmcblk0p1 /boot vfat defaults,ro 0 2
/dev/mmcblk0p2 / ext4 …
user9760
- 51
- 1
- 2
4
votes
1 answer
Pi 2: External HDD Randomly goes into Read Only File System Mode
I've a raspberry pi 2bplus and I've installed the latest Raspbian strectch on it. I've connected External HardDrive to the pi.
I'm running into a really weird problem that doesn't make sense to me but that's probably because of my lack of knowledge…
user2498079
- 171
- 6
4
votes
1 answer
Problem when saving many files in Raspberry Pi
Guys I'm having a problem when I write/save many files in Raspberry Pi.
I'm using the RaspiCam to record videos in HD and at the same time I'm collecting alot of data and writing them in XML files every 1 second. The data is collected at 10 Hz.
I…
Lucas Casagrande
- 141
- 4
4
votes
2 answers
How do I restart a python program on my pi when it crashes?
I have a python program named endless.py. I want to restart it whenever it crashes, and write the time that it restarted, to a file named restartlog.txt. Here is my python code so far:
import time, os, subprocess
while True:
x = os.popen('ps…
A.J. Uppal
- 143
- 1
- 1
- 5
3
votes
1 answer
System writeprotected all the sudden
I've had Raspberry Pi running few years Arch Linux ARM 24/7. All the sudden there seems to be inability to write anything, can't create new files nor edit anything, even as root. Same applies to any software, Nginx refuses to start. For example,…
jvs
- 39
- 3
3
votes
0 answers
Zabbix mmcblk0: Disk read/write request responses are too high
I installed Zabbix on my Raspberry Pi 4 4GB.
So, I was building my dash and noticed a different alarm.
Zabbix server mmcblk0p2: Disk read/write request responses are too high (read > 20 ms for 15m or write > 20 ms for 15m)
Zabbix server …
markfree
- 191
- 2
- 9
2
votes
1 answer
Edit read-only file (in /etc/init.d) or override settings file from /storage directory
I am having issues with lirc and remote button press repeating. I tried everything and the last thing o try is add a parameter (--repeat-filter) to a 62_eventlircd file located in /etc/init.d
Problem is that this directory is in read_only…
DominicM
- 155
- 1
- 3
- 11
2
votes
2 answers
Size of serial port read size in c
I have a Raspberry Pi 3 and I'm currently use read(2) system call to read data from serial port. At this moment, I'm reading byte by byte from port with;
rc = read(uart_fd, &byte, 1);
I'm wondering that if there is a better approach instead of…
Black Glix
- 155
- 1
- 6
2
votes
2 answers
Raspberry Pi is always Read-Only after installing
Model: Raspberry Pi 3 B
SD: 8GB MicroSDHC
For the past couple of weeks I've been stuck with my Pi not working. I've followed numerous guides. I've downloaded Raspbian Stretch With Desktop OS from the official site, Written the image with both…
Sven0567
- 121
- 1
- 1
- 2
2
votes
1 answer
Trying to force OpenELEC to keep HDMI on, but fs is readonly
My question is like this one: How do I force the Raspberry Pi to turn on HDMI? , except for OpenELEC and not Raspbmc.
Basically I have a homemade media center Raspberry PI 3 with OpenELEC/KODI connected via HDMI to a dumb TV. If the TV is turned on…
dr_
- 123
- 5
2
votes
0 answers
Controlling 3 axis brushless gimbal motors
I am new to using the Raspberry Pi 3 and trying to control brushless gimbal motors with encoders to "look around"
Using I2C, I have gotten them to read its orientation from BaseCam's Simple BGC GUI. (mine includes yaw)
How do I go about utilizing…
tam
- 81
- 1
- 1
- 4
2
votes
0 answers
How to read voltage using expander pi?
I am trying to read voltage using ADC of expander pi. when I connect one sensor the output is correct but when I connect more than 1 sensor the reading is not right. help me out on this issue. I am using the following link to read adc…
arslion
- 370
- 1
- 3
- 9
2
votes
2 answers
Lost all file changes after reboot
When I create any file, like .bash_aliases for example, and then I reboot using sudo reboot, all my changes are lost.
I don't know if the card is read-only (I can actually create files).
I am running under Raspbian Jessie and I've been looking…
Flag
- 53
- 1
- 1
- 6
2
votes
2 answers
How do I use the /sys file to control the GPIO pins
I am using a Raspberry Pi 2 Model B v1.1.
I have looked at the GPIO file in /sys but I don't understand how I actually turn on/ turn off GPIO ports or I set them to read in/read out, I am trying to do a project for college using my Raspberry PI and…
Floofk
- 23
- 3