Questions tagged [filesystem]
The file system is the way an operating system organises its data on the storage (usually non-volatile, like an SD card) available to it.
246
questions
0
votes
0
answers
10
views
Is it possible to install ZFS on OSMC on Pi 4?
I've tried installing ZFS on OSMC, but when installing zfs-dkms with apt it fails to build because it cannot "build an empty module". The configure script is failing, and when following the ...
0
votes
0
answers
12
views
RPI 5 8G + Debian 12: Long stalls in I/O throughput to the sd card in the PCB slot, but only when Debian installed
Did the "stock" install of Debian 12 as I understand it:
-installed gdm3 as the display manager
used raspi-config to set the window manager to wayland
Doesn't happen with Ubuntu 24.04 or ...
0
votes
0
answers
43
views
/etc/fstab suddenly empty – why?
I have a Raspberry Pi 5 with 8 GB memory that boots from an M.2 (NVME) drive. OS is the latest Raspberry Pi OS.
I installed xrpc
and connected to the Raspi from another Linux box through Remmina RDP – ...
0
votes
0
answers
90
views
Structure needs cleaning problem
I have a samba server on my raspberry with external SSD. I created ext3 filesystem on the SSD and it worls fine. But every time if I umount the SSD and mount it again I get the error Structure needs ...
0
votes
1
answer
43
views
Corrupted Micro SD on Pi 0 W (RAW partition, can't format)
I have a 256gb card and a Pi 0 W. both were sitting on the shelf for the past year until I decided to try flashing Raspbian with Pi imager and boot the Pi. I made the ssh file, plugged it in and ...
-2
votes
1
answer
111
views
Raspberry Pi - hosting website - change index.html - where to put other .html files and folders?
I have installed Nginx on a Rasperry Pi 4 to host a website.
I can see the default nginx index.html on my IP Address 192.0.9.11 (example IP)
I just have a few questions:
What can I use to edit the ...
0
votes
0
answers
151
views
Mainsail OS booted with Read Only File System
I have an install of mainsail running on my Raspberry Pi 3B+, and the nginx is unable to start because the file system is in read only mode.
How can I fix this so I have a writeable filesystem?
Here ...
1
vote
1
answer
2k
views
Enabling overlayfs makes external drives read-only
After updating to bookworm enabling overlayfs via raspi-config seems to have changed its behaviour.
Before the update, it only affected the sd card filesystem but now it also changes my external usb ...
0
votes
1
answer
126
views
Move /var/lib/readarr folder to different location
I'm stumped. I'm trying to run Readarr (https://wiki.servarr.com/en/readarr) on a Raspberry Pi NAS that only has 8 GB of internal (mmc) storage but two larger SSDs for data. When I populate the ...
0
votes
3
answers
4k
views
SD card full, how to clear space?
I have a RPi 4 running 3 web apps which I had running without issues for a few years. About 6 months ago the original SD card (32gb) died so I replaced it with a new 64gb card and reinstalled ...
1
vote
0
answers
138
views
Setting up "read-mostly" / "write-rarely" system - minimising writes as much as possible
Per the title - I've seen all the stuff about using read-only filesystems and overlay filesystem but there's drawbacks with that - either you have to use multiple partitions, have some method of ...
0
votes
1
answer
124
views
Why can I mount an NTFS HDD, but mounting an NTFS SSD fails?
I have a Pi 4 and want to mount my Samsung 860 EVO SSD. I am unable to accomplish this, but attaching a HDD (same adapter and usb port) work just fine.
Both the SSD and HDD were formatted in NTFS (...
1
vote
2
answers
910
views
How to restore a corrupted SD card
I'm well aware this question has been asked about a million times already but apparently nothing seems to help me.
I was just going about my business over ssh on my raspi zero when I suddenly lost ...
0
votes
1
answer
46
views
RAM disk space leak? (grows in df to 100% although only 20% are used)
I am trying to use a RAM disk on a Pi 4, 4GB, to speed up processing and avoid writing a lot to the SD card. But somehow my application fills up the RAM disk until a java.io.IOException: No space left ...
2
votes
1
answer
309
views
Boot order breaking due to automount (running into emergency mode)
I have a Raspberry Pi running Raspbian GNU/Linux 10 (buster).
The Pi is running on a microSD-Card with a read-only boot partition and activated overlay-filesystem (both is currently deactivated for ...
1
vote
0
answers
202
views
Can I use overlay filesystem on an expanded filesystem?
I've used raspi-config to activate overlay filesystem and made the boot partition read only. As I was running out of space I decided to use raspi-config to expand the filesystem to fill the entire SD....
-1
votes
2
answers
625
views
How to extend rootfs before booting
I installed raspbian on an sd card and then booted into a pi zero to do my required configuration and setup.
I then made an .img off of this sd card which I'm planning to use in a manufacturing ...
-1
votes
1
answer
1k
views
Can I have more than 32GB on the boot sd card?
My understanding is that the card reader can handle SDXC cards (ie >32GB) but that the bootloader has a limit of 32GB. Can I get around this by having multiple partitions?
The OS would only need to ...
0
votes
1
answer
36
views
Where are the cube2 sauerbratren runtime binaries located? [closed]
I have a raspberry pi 4. It has cube2 sauerbraten intalled on it with sudo apt install sauerbratren. I want to know where it's runtime binaries are located. What directory would I find them in?? I ...
1
vote
1
answer
611
views
Change default filesystem root
I have an external hard drive that I want to set as the filesystem root but boot from an SD card. How would I do this?
I've copied the filesystem to the partition, and tried updating config.txt with ...
0
votes
1
answer
750
views
Pi4 input/output error filesystem corruption after some time - bad sd cards? bad ps?
Having an issue I've not really had before. The Pi(4) doesn't hang (remains connected via ssh) but looks like the filesystem gets corrupted (get input/output errors for any command). If I pull the ...
1
vote
2
answers
749
views
Failed SD Card file expand on Raspberry Pi
I´m trying to expand an SD that´s running on a Raspberry Pi. The original SD was 8Gb. I saved it to PC with Win32DiskImager, then wrote a new 32Gb SD from that image, and run the file expand option in ...
0
votes
1
answer
497
views
Ubuntu Desktop fails to boot on Raspberry Pi 400 with 32GB SD card
I have used Pi Imager to write Ubuntu Desktop to my SD card. When I try to boot from it in my Pi 400, I get the following error:
[50B]: Failed to remount '/' read-only: Device or resource busy
systemd-...
0
votes
0
answers
82
views
Kernel not updating with atp-get update/upgrade - Ubuntu 21.04 - TFTP boot NFS root
I am gradually getting a Pi 4 cluster up and running, and have hit an issue I have not been able to resolve with google. It is my understanding of the Ubuntu boot process that is lacking really.
I ...
-1
votes
1
answer
992
views
How to copy files onto a raspberry pi os using only the microSD it is on - no networking, bluetooth or usb?
I would like to copy a file to a raspberry pi using a Macbook.
I have installed ubuntu on the 64GB microsd and booted it up no problem.
I have turned off bluetooth and wifi/networking on the raspberry ...
2
votes
2
answers
13k
views
Why is my Raspberry Pi file system read only?
Why is my Raspberry Pi FS read only when I didn't make it that way?
Here is my error:
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state ...
0
votes
1
answer
140
views
Recover zero-byte size file on attached USB storage
I have an attached USB hard disk drive on my Raspberry Pi with an NTFS file system used as a network-attached storage.
My problem is after a while, some big files, like 2GB and up (usually ISO, Zip, ...
0
votes
0
answers
343
views
formatting SSD as ext4 becomes corrupted, superblock
I want my Pi4b to mount an external ssd (connected by usb3), and have some new drives that came formatted exfat. Since I need symlinks and other advantages of ext4, I change the partition type to 83, ...
0
votes
1
answer
743
views
File Recovery from thumb drive - Bad Superblock
So I have a 64GB SanDisk Cruzer Glide, and recently something happened to it. Whenever I would try to fsck it said the magic number for the superblock was corrupted, I didn't know what that meant, so ...
0
votes
0
answers
503
views
"Bad message" when trying to access a directory on external hard drive
I'm running a media server using a Raspberry Pi 4 with an external hard drive connected via USB 3.0.
One issue I've been seeing for a while is "Bad message" returned when I try to ls or stat ...
0
votes
0
answers
114
views
Why does the SHA512 hash of my SD card change while Overlay File System is enabled?
I enabled “Overlay File System” to make file system read-only.
I was surprised to see that the SHA512 hash (computed using sudo openssl dgst -sha512 /dev/rdisk2) of my SD card changes each time I ...
1
vote
0
answers
746
views
CM4 eMMC - safe shutdown / power supply schemes
I'm working on a design that uses a CM4 with eMMC and may (optionally) use an external SD card or USB stick for "user" file storage.
The unit could (potentially) be hard powered-down by the ...
7
votes
1
answer
9k
views
What is Wolfram engine and can I delete it?
I am low on space. Inspectin my store with
sudo find / -xdev -type f -size +100M -exec ls -la --block-size=M {} \; | sort -nk 5
gave me 20 most heavy files
-rw-r--r-- 1 pi pi 102M Dez 18 11:58 /opt/...
0
votes
1
answer
1k
views
Unable to change config.txt or cmdline.txt permanently
I am trying to edit the /boot/config.txt and /boot/cmdline.txt files.
However, anytime I edit or even copy them to the /boot like this:
sudo cp /boot/config.txt /boot/config.txt.orig
when I reboot ...
0
votes
0
answers
724
views
Non-FUSE drivers for NTFS and exfat
I've run long benchmarks about write speed on a USB3 external HDD on a RPi4 (goal: use it as a NAS), with and without encryption.
I've noticed that write speed is very fast with ext3, ext4 (it can ...
1
vote
1
answer
2k
views
How to mount a VeraCrypt container on a RPi with optimal performance?
On a Raspberry Pi, in order to use a VeraCrypt encrypted container/partition, which solution offers the best performance between installing VeraCrypt or using cryptsetup (that seems to support it)?
...
0
votes
1
answer
1k
views
how to enable pcmanfm to copy paste in directories that say "permission denied" [closed]
I need to enable pcmanfm (aka file explorer) to copy and paste from all directories for programing purposes. Can anyone tell me how to do this?
2
votes
1
answer
1k
views
Why do I get a "Segmentation fault" during "apt update" on a fresh installation of Raspberry Pi OS?
I found my old Raspberry Pi 3 B and wanted to start a new project. When I flash a new Raspberry Pi OS (32 bit) on an SD card (128 GB, bought a new one to make sure its not the SD card) via the ...
1
vote
1
answer
162
views
Why won't Buster Lite boot to anything other than emergency mode on wired Pi Zero when a file system check is done?
I'm running a wired (no onboard bluetooth or wifi) Pi Zero with Buster Lite with latest update/upgrade. When I touch /forcefsck, or put an equivalent statement in /boot/cmdline.txt, it ALWAYS fails ...
1
vote
1
answer
595
views
pcmanfm constantly writing errors to its run log
My Raspberry pi4's file system is getting filled up with log messages from the default desktop file manager, pcmanfm, which is writing 100 megs of errors to its run log (in ~/.cache) per second ...
2
votes
2
answers
2k
views
Unable to edit cronjob, /tmp is read-only
I am trying to make my raspberry pi automatically restart every week. But I am unable to create the cronjob as I get a error message that the temporary crontab file was unable to be created.
/home/pi $...
2
votes
1
answer
2k
views
Recommended filesystem for USB flash drive
I've got a Raspberry Pi 4 used as a home automation server and I would like to add a USB flash memory stick as yet another drive. Question is: what filesystem would be the best choice for such a stick?...
0
votes
1
answer
137
views
Run script once unattended once when system has booted
I am currently creating a very minimal image for the Raspberry Pi 4. And I need the image itself to be as small as possible in order to reduce the time to flash the SD-card.
I do however, want to ...
6
votes
5
answers
3k
views
Is there a way to remove old files without relying on internet time service?
I have a Raspberry Pi that is acting as a sensor which I am sending out to various customers. The sensor is recording approximately 1 GB every 2-3 days, so I would like to have a way to remove old ...
-1
votes
1
answer
196
views
How to delete SMB shortcuts/links from the desktop?
I used File Manager to browse some files on my NAS:
//BACKUP/Files
When I did so, a shortcut (or symlink) was automatically placed on my desktop.
Now I cannot delete this item. When I attempt to do so,...
1
vote
2
answers
4k
views
How to create a shortcut to a directory?
I'm trying to create a desktop shortcut that starts File Manager at a specified directory, in this case a mounted USB drive.
Here's what I have so far:
Backup.desktop
[Desktop Entry]
Version=1.1
Type=...
1
vote
1
answer
234
views
Alpine Linux - Changing/Moving the file system
recently I installed alpine linux on my 16gb sd and everything went right (I followed this tutorial https://www.youtube.com/watch?v=RQZRHvmlUU8 ), but I realized that my file system is 200mb/457mb, ...
0
votes
0
answers
537
views
Cannot open file
I need to open the "retroarch-joypads" folder and open a file inside it. For some reason file manger can't open the folder. Can anyone tell me how to open it?
Edit: The command:
sudo pcmanfm
...
1
vote
2
answers
146
views
Does having a separate writable partition eliminate benefits of having a read-only /boot and root?
To hopefully prevent filesystem corruption I've setup the /boot and / partitions as read-only. For some use cases I still need a writeable partition to store data. If plan to create a 3rd partition ...
0
votes
1
answer
380
views
Expand file system not needed anymore?
Expanding the file system on the first boot of a fresh Raspberry Pi OS (buster) - or expanding it at all - has always been under discussion and there is a lot of material out there for how to do it.
...