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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

I kind of unplugged my SSD(boot) from my pi while running, is there any hope?

I unpluged my SSD, which I boot from, while my pi4 was running, sigh. I know I can just start over, but would like to avoid it if I can. I have tried a few things I found around the internet but to be ...
user avatar
0 votes
0 answers
53 views

How to boot multiple raspberry's with one read-only NFS root

I want to boot my raspberry's via NFS using a read-only nfs root filesystem. Refering to technologies like: overlayfs or tmpfs i am curious in how to achive this in the right way using mostly commonly ...
user avatar
-1 votes
1 answer
110 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 ...
user avatar
0 votes
1 answer
21 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 ...
user avatar
0 votes
1 answer
73 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 ...
user avatar
  • 101
0 votes
1 answer
142 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 ...
user avatar
  • 101
1 vote
2 answers
142 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 ...
user avatar
  • 11
0 votes
1 answer
176 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-...
user avatar
  • 151
0 votes
0 answers
47 views

Expand filesystem on first boot, but not to full micro SD size

For the same reasons as detailed in Temporarily disable expand filesystem during first boot (and in this duplicate), I'd like to avoid the filesystem expansion to the full size of the micro SD card. ...
user avatar
  • 654
0 votes
0 answers
46 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 ...
user avatar
-1 votes
1 answer
100 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 ...
user avatar
  • 99
0 votes
2 answers
1k 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 ...
user avatar
0 votes
1 answer
44 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, ...
user avatar
  • 125
0 votes
0 answers
91 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, ...
user avatar
0 votes
1 answer
145 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 ...
user avatar
0 votes
0 answers
53 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 ...
user avatar
  • 101
0 votes
0 answers
56 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 ...
user avatar
1 vote
0 answers
294 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 ...
user avatar
  • 123
2 votes
1 answer
4k 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/...
user avatar
  • 131
0 votes
1 answer
654 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 ...
user avatar
  • 334
0 votes
0 answers
479 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 ...
user avatar
  • 654
1 vote
1 answer
1k 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)? ...
user avatar
  • 654
0 votes
1 answer
330 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?
user avatar
  • 67
2 votes
1 answer
391 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 ...
user avatar
  • 21
1 vote
1 answer
67 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 ...
user avatar
1 vote
1 answer
351 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 ...
user avatar
  • 329
2 votes
2 answers
757 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 $...
user avatar
2 votes
1 answer
1k 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?...
user avatar
0 votes
1 answer
66 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 ...
user avatar
  • 222
6 votes
5 answers
2k 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 ...
user avatar
0 votes
1 answer
57 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,...
user avatar
  • 115
1 vote
2 answers
2k 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=...
user avatar
  • 115
1 vote
1 answer
77 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, ...
user avatar
0 votes
0 answers
178 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 ...
user avatar
  • 67
1 vote
2 answers
109 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 ...
user avatar
  • 231
0 votes
1 answer
217 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. ...
user avatar
  • 113
0 votes
1 answer
173 views

Avoiding wearing out SD card - better to have two partitions on an external solid state drive (Raspian + storage)?

I am new to managing filesystems, but am using a Raspberry Pi 3B with a 16GB SD card, and running an InfluxDB database on there. The Pi writes a datapoint every second, to the database which is just ...
user avatar
  • 109
2 votes
2 answers
454 views

accidently claimed /etc folder to my "pi" user, how can i revert it back?

So i ran into an issue and i needed to rewrite a file taht was in ETC file folder and the system wasn't allowing it. I claimed the whole ETC folder.. the file wrote fine after that. Now as i am using ...
user avatar
1 vote
1 answer
267 views

Raspbian: Send email in a read-only file system

I'm a beginner in linux and Raspberry Pi but I have some experiences with files systems and embedded systems in general. I would like to achieve a read-only file system with Raspbian (Buster) and ...
user avatar
  • 121
1 vote
1 answer
29 views

Plugging in a things crashes this Pi

Recently I find that with one of my Pi 3b+, sometimes plugging in ethernet or unplugging it causes it to crash and display "error reading inode #xxxxxxx", "aborted journal detected", and the like on ...
user avatar
  • 669
0 votes
1 answer
637 views

How can I read files from my LibreELEC formatted SD card?

I've installed LibreELEC 9.2.1 on my Raspberry Pi 4's SD card. For technical reasons, I need to remove the card from the Pi and read a log file using my laptop. I've tried mounting the SD card from ...
user avatar
  • 181
1 vote
2 answers
34 views

More space used than it adds up to

So I have a raspberry pi 4 4GB with a 32GB running raspbian desktop (without extra apps). Its used for plex and transmission. df -h output : /dev/root 30G 28G 212M 100% / devtmpfs 1....
user avatar
0 votes
1 answer
611 views

Can't see files on external drive

I'm using an external drive for my cloud storage. Everything was working fine and then I installed airsonic. I added the tomcat8 user to the www-data group so that airsonic could see the music ...
user avatar
  • 119
5 votes
4 answers
18k views

How do I expand the file system on a Raspberry Pi 4 manually?

I have just flashed an image of my original 16 GB SD card (the one that comes in the Raspberry Pi kit) to a new 128 GB card. It booted up fine but when I tried to expand the filesystem using raspi-...
user avatar
  • 61
1 vote
1 answer
63 views

Consistent filesystem corrruption

It seems that recently my SSD began to get corrupted almost every time I shut my Pi 3B+ down, and on boot I get: [ 4.503731] sda: sda1 sda2 [ 4.511049] sd 0:0:0:0: [sda] Attached SCSI disk [ ...
user avatar
  • 669
19 votes
3 answers
16k views

Where is Raspberry Pi "wastebasket" located in the file system?

I am trying to understand the Raspbian file system better. I opened properties on the Raspberry Pi's "Wastebasket" hoping to find out where it is located in the file system and I found trash:///. ...
user avatar
  • 309
4 votes
1 answer
578 views

Gracefully handle power loss Raspbian on a Pi Zero

I recently installed a Pi Zero running Pi-hole for my folks. They live in a rural area and only have a 4G Modem with a limited data plan. The issue, is that every now and then there are power outages ...
user avatar
0 votes
1 answer
258 views

Delete all empty folder recursively via the command line

I have a mono app and it delete all empty folders in a folder tree. Is there a way to do this via the command line? The idea is that I would call it as an external process. I had tried this: sudo ...
user avatar
0 votes
0 answers
35 views

Auto launch program when I plug raspi into computer?

As the title says, is it possible to launch an exe or run a command when I plug my raspberry pi into my computer so that the program launches ON THE PC/MAC. I know you can auto boot something when you ...
user avatar
1 vote
1 answer
171 views

Why are some file move operations as slow as copy operations? [closed]

I believe I understand how file copy/move operations work (or appear to work). My general understanding being that as long as files and directories are on the same device and filesystem, moving a file ...
user avatar
  • 21

1
2 3 4 5