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
0answers
20 views

Electron application some icon images are being deleted from /tmp

I am executing an Electron application on Raspberry Pi in kiosk mode, but some icon images from menus and animations are being erased from /tmp. I can see in the chrome debugger that the error is: ...
0
votes
0answers
42 views

Reading usb stick using Pico

I want to read files from the USB stick (preferably FAT, Ext3, Ext4, and NTFS, but if that's too complicated, then I'll stick with FAT32) Is it possible without external modules (like CH376 for ...
0
votes
0answers
22 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 ...
0
votes
0answers
13 views

Rpi do not responds on opening chromium-browser while Rpi is in Overlay Filesystem mode

Facing issue while Raspberry Pi runs on overlay filesystem ON.. Here is steps to reproduce: 1: load and run raspberry pi image 2020-12-02-raspios-buster-armhf.img 2: open chromium--browser (browser ...
1
vote
0answers
62 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 ...
-1
votes
1answer
214 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
1answer
111 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
0answers
139 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
1answer
374 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
1answer
59 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
1answer
182 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
1answer
32 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 ...
0
votes
1answer
109 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
2answers
188 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
0answers
323 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
1answer
25 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
5answers
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 ...
0
votes
1answer
35 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
2answers
702 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
1answer
29 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
0answers
60 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
2answers
57 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
1answer
94 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. ...
0
votes
1answer
115 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 ...
2
votes
2answers
113 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 ...
1
vote
1answer
177 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 ...
1
vote
1answer
24 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 ...
0
votes
1answer
307 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 ...
1
vote
2answers
32 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....
0
votes
1answer
289 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 ...
4
votes
4answers
11k views

How do i expand file system on 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 an new 128 GB card. It booted up fine but when i tried to expand the filesystem using raspi-...
1
vote
1answer
47 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 [ ...
19
votes
3answers
10k 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:///. ...
4
votes
1answer
282 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 ...
0
votes
1answer
166 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 ...
0
votes
0answers
23 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 ...
1
vote
1answer
104 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 ...
0
votes
1answer
728 views

Can't open mounted USB stick - Permission denied

I followed this guide to automount a USB stick to my Raspberry Pi 2. I'm using Raspbian Lite. https://www.raspberrypi.org/documentation/configuration/external-storage.md The USB stick is a Sandisk ...
4
votes
1answer
133 views

One volume does a *full* fsck every boot, even though it's clean

As the subject says, I have a Raspbian system (Buster, and this happened with the prior Raspbian version too) that runs a full fsck on one particular volume every time it boots. And this only happens ...
1
vote
4answers
146 views

Is it safe to reuse a crashed SD card?

I have the following set-up: RPi 3 8GB MLC microSD partition 1: root and the rest (read-only) partition 2: /var filesystem (rw) continuous writes to /var/logs system will experience unexpected sudden ...
2
votes
2answers
45 views

is the Raspbian NTFS implementation journaled?

I read somewhere that Raspbian NTFS implementation is not journaled, but I didn't find confirmation that it is true. If it is true there is a way to have it journaled? I'm using it on a USB stick ...
4
votes
1answer
681 views

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 ...
0
votes
1answer
1k views

Unknown filesystem type 'hfsplus' when mounting HFS+ volume on Raspbian Stretch

I am looking to mount an HFS+ volume on my Raspberry Pi running Raspbian Stretch. I have just installed the packages hfsplus hfsutils and hfsprogs. When I run cat /proc/filesystems it looks like ...
0
votes
1answer
305 views

Error executing ifdown and ifup command

I'm running a python script to configure the wifi interface, but I'm having a problem with the ifdown and ifup command. It looks like this command has been replaced by: sudo ip link set wlan0 down ...
2
votes
1answer
363 views

Why is there unallocated space at the beginning of Raspbian image file?

I always wondered why there is unallocated space at the beginning of any medium written with a Raspbian image file. I usually use dd to do so, whatever medium I use (flash drive, SD card or USB drive)...
2
votes
2answers
924 views

Not enough space for 105M archives when 869M is left

The command sudo apt-get upgrade says [...] Need to download 105 MB in archives. After this operation, 2.108 kB disk space will be used E: Not enough space in /var/cache/apt/...
0
votes
0answers
16 views

creation of filesystem image in another image

I am creating Ubuntu raspberry pi os from scratch using this https://a-delacruz.github.io/ubuntu/rpi3-setup-filesystem Iam struck here please provide full procedure 1. full filesystem creation as ...
0
votes
1answer
96 views

Does formatting 120gb SSD with FAT damages raspbian filesystem at expansion?

I have recently bought a new ssd of 120 GB, and I ended up format it to FAT filesystem, then later I flashed raspbian jessie onto it. Everything went well and is booted from SSD until I hit expand ...
1
vote
2answers
3k views

sda2 is not on SD card. Don't know how to expand

I created image of raspbian jessie on 32GB memory card using dd command. sudo dd if=/dev/disk3 of=~/os_images/raspbian_jessie.img bs=1m then I used etcher tool to flash that image to the 120GB SSD, ...
1
vote
1answer
390 views

Pi won't boot after memory swap

When turning on my Raspberry Pi, the boot fails after an error. It says: -bash: /usr/local/virtualenvwrapper.sh: No such file or directory This happened after I changed the /etc/init.d/dphys-...

1
2 3 4 5