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.

learn more… | top users | synonyms

2
votes
1answer
52 views

How to shrink down Debian to fit onto 1GB SLC-SD-Card?

I am using a Raspberry Pi in an industrial area as a data-logger and had to deal with SD-Card wear so that I decided to use SLC-SD-Cards with higher quality. To keep costs for those card types low, ...
1
vote
1answer
80 views

Frequent filesystem corruption (compute module, Raspbian)

We have produced a few hundred devices based on the compute module, running Raspbian wheezy. We are seeing random filesystem corruption relatively often. We've seen it on at least 10 devices out of ...
0
votes
0answers
10 views

udev Kernel Device Manager [migrated]

During an update of my Raspbian installation (Pi rev. B+) over SSH I lost connection. After a hard reboot (which may have happened during or after finishing the update) the udev kernel device manager ...
1
vote
1answer
19 views

Raspberry Pi boot error after restoring from image

a few days ago my raspberry started to have problems while running which pointed to a defect file system. So I wanted to restore it with an image I made before one week, when everything worked fine. I ...
-1
votes
1answer
40 views

How to resize partition of a micro SD card. 32GB to 8GB card [duplicate]

I am currently using a 32GB micro SD card for testing. Now I want to save the image however, there is a lot of unused space. I was hoping how can I reformat the image to fit nicely into a single ...
1
vote
1answer
127 views

Disable auto file system expansion in new Jessie image 2016-05-10

Now when you flash the new Jessie image (released 2016-05-10) on the SD card and boot the first time, it auto expands the file system on the whole SD card. I want to stop that script. Reason i want ...
0
votes
0answers
15 views

avconv - adding datestamp to filename

I am using avconv to store a 7 second video using the following command: avconv -t 5 -f video4linux2 -s 320x240 -r 30 -i /dev/video0 -vcodec mpeg1video -t 7 out3.avi Unfortunately, when i try and ...
0
votes
1answer
42 views

Kiosk python app shutil.copyfile files empty on restart

I have a kiosk app written in python which is launched on startup (starting x server but not the window manager as I learnt about here), usbmount is installed to handle automatically mounting pen ...
1
vote
1answer
48 views

linux system file writes to flash card, efficiency and flash endurance

I've got a more common question. I come from bare metal microcontroller development - there we usually avoid flash write access for several reasons. one is to avoid damage of the flash memory because ...
3
votes
2answers
84 views

Where has all my free space gone?

My SD card is full, but I don't know how to find the files/folders to blame. Here is my df -h output: pi@raspberrypi1 ~ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/...
0
votes
0answers
201 views

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 ...
0
votes
0answers
55 views

Raspbian autosizer.sh script with Compute Module to shrink RFS partition

The autosized script located at: http://sirlagz.net/2013/03/10/script-automatic-rpi-image-downsizer works great with my Raspbian images saved with Win32DiskImager. Now I'm trying to get it to work ...
0
votes
0answers
13 views

Zero unused blocks on a scheduled basis?

I've got a ~32 GB ext4 root partition on my pi2 (Raspbian wheezy), and I'd like to zero the free space on a periodic basis (maybe every few weeks) so that SD card backups compress more easily. I know ...
0
votes
2answers
529 views

SD card is titled “RECOVERY” and only has 1GB after using RPi

I was using a Raspberry PI 2 Model B, and I installed NOOBS. I selected and installed Raspbian, and I used my Pi for about 24 hours before I decided to re-install the OS. When I plugged in my micro SD ...
1
vote
2answers
122 views

Raspberry Pi showing 0 Available space

My retropie setup (latest 3.5 version on jessie) is showing 0 available space even though I haven’t used all the blocks. When typing “df” at the command line it shows this: Filesystem 1k-blocks ...
0
votes
1answer
53 views

Difference between …/thermal_zone0/temp and …/thermal_zone0/subsystem/thermal_zone0/temp?

To read the temperature in Raspbian (and most other systems) you can read the file /sys/class/thermal/thermal_zone0/temp, which will output the temperature in millicelsius, like this: pi@raspberrypi0 ...
2
votes
3answers
41 views

how to create an id system for raspberry pis that is not hardware dependent?

I am deploying raspberry pis in classrooms and I would like to store an id on each of them that is not linked to the MAC address, as the hardware might be replaced, but the classroom id shouldn't ...
1
vote
0answers
92 views

PWN PI Setup Error: LIBKMOD Error c:554

I keep on getting this file system mounting error on my Raspberry Pi 2 running PWNPI. The error message seems to be coming from a process called libkmod. The exact error message is: libkmod: ERROR ....
6
votes
1answer
796 views

Automount various USB stick file systems on Jessie Lite

I want to be able to automount USB sticks fat32 and ntfs formatted on the fly, like hot-plugging without rebooting the my Raspberry Pi 2. I have ntfs-3g installed on jessie-lite. Putting the UUID in ...
1
vote
2answers
96 views

Retro Pi expand filesystem keeps reverting

I have gone through the steps to setup a retro pie on raspberry pi 2 with a 32 gb sd card and am having difficulty with the expand filesystem. I expand the file system through using raspi-config (...
4
votes
1answer
87 views

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 ...
0
votes
0answers
13 views

Development setup for taking system state snapshots [duplicate]

I'm doing different system wide experiments with the RPi which often lead to a unusable or messed system. After that I usually have to re flash the drive with Raspbian to start anew and that takes a ...
1
vote
2answers
305 views

Is it necessary to resize the file systems on Ubuntu MATE?

After installing Ubuntu MATE on my Raspberry Pi 2, everything works fine, for once. However, the site I am following to set it up tells me I have to resize the file systems. It tells me to delete the ...
2
votes
1answer
80 views

Raspbian Jessie boot issue after dd image install from Arch partition

I originally used NOOBS to create this card and it had Wheezie + Arch Linux. I had some issues with the wheezie installation so I: -downloaded and unziped the Jessie image onto my Arch partition, -...
0
votes
0answers
15 views

How to prevent card SDcard file system corruption when power is abruptly removed or system is improper shutdown? [duplicate]

Raspberry Pi runs on Linux and the filesystem is prone to corruption when power is abruptly removed or improperly shutdown. Sometimes, users are just impatient to wait for proper shutdown to be ...
2
votes
0answers
78 views

Problems with my 24h torrent box project (maybe related with ExFAT)

I recently acquired a Raspberry Pi 2 Model B to make a 24h torrent box. My external HDD is in ExFat (1TB USB3.0 - WD) and after installing the exfat drivers, I began to configure it for my purpose. ...
2
votes
1answer
118 views

raspberry boot from different partitions

I have a doubt about boot process, is possible set boot partition from boot if /dev/root fails? like a grub select. I prefer no use berryboot and my install is noobs based. My idea is set a boot ...
0
votes
0answers
78 views

USB HDD folder linking?

I've got a 1tb USB HDD connected to my pie to hold a slew of different files. As of right now I have RetrOSMC installed onto my SD card, which is both OSMC + RetroPie. Right now as it is OSMC side of ...
2
votes
1answer
159 views

“Segmentation fault” everywhere

I have a weird problem with my Pi since a few days: A lot of commands result in "segmentation fault". Any "apt-get install" does, some normal programs do. I've googled it and found out it might be ...
0
votes
0answers
105 views

How to make mounted RPi file system writable using sshfs in OSX

I have an exFat-formatted external hard drive mounted on a Raspberry Pi. I use OSX fuse to mount the Pi on my local file system on my Mac using this: sshfs user@IP:/pi/directory/to/mount /local/mount/...
0
votes
2answers
211 views

Alternative Storage Options

I have just started my wonderful journey into using a Raspberry Pi 2 device. I know I could add an external hard drive to the device but my concept of just supplying a black box to my User will ...
0
votes
1answer
282 views

Transmission-daemon permission denied [closed]

When transmission download an file to an file on my external hard disk i get this error: Permission denied (/media/usbhdd/Torrent_complete/sample.avi) I searched for the problem an a solution was to ...
3
votes
1answer
260 views

Where is the home directory on the sd card?

My raspberry pi has stopped working so I want to get the files that I stored on it off it before I reinstall the OS. I have Raspbian from NOOBs and I am on a mac. On what partition and in what ...
1
vote
0answers
133 views

How does BerryBoot work?

Good evening, BerryBoot allows us to put multiple OSes on the same SD card, and I know it uses SquashFS, but I don't understand how everything is done. I'd like more explanation about how do SquashFS ...
0
votes
2answers
64 views

How can I avoid wearing out flash memory by frequently changing symlinks?

I have a circular buffer of files in ram disk. A new file is created every second. I want to always refer to the latest file using the same file name for access by a browser and apache. So, each time ...
1
vote
2answers
45 views

Is it possible to install or move my installed Linux to another partition?

Case scenario (a SD Card with three partitons: a boot partition, and two Linux-type partitions) : $ sudo fdisk -l Disk /dev/mmcblk0: 61.9 GB, 61924704256 bytes 4 heads, 16 sectors/track, 1889792 ...
2
votes
2answers
197 views

Can't connect to the Pi after cloning the SD card

I want to make a new SD card with Raspbian and OpenCV installed. Instead of making it from scratch, I have already done this from another SD card that I use with raspberry. After cloning the SD card, ...
0
votes
2answers
3k views

Installing Kali Pi using all available storage space?

Is there any way to install kali linux for raspberry pi using all space that is available on the micrSD card initially or do you HAVE to go back later and resize partitions in order to utilize the ...
-1
votes
1answer
58 views

Is it possible to shrink the root partition? [duplicate]

Extracted from the instructions from the original docs for installing Ubuntu on RaspBerry Pi 2: There are no Raspbian-specific utilities included, specifically no automatic root resizer. However, ...
0
votes
2answers
123 views

Setting a homeserver with Rasberry PI 2

I was thinking of building a small private cloudserver almost like Dropbox or Google Drive. I'm not expecting a very fast server, it will more be like just a home server for so i can send files easily ...
1
vote
1answer
423 views

PI 2 always got filesystem errors

I have installed raspbian on PI 2, and it always got lots of errors after rebooting. Sometimes I have to unplug the SD card and do fsck on my laptop (the second/ext4 partition), otherwise the PI 2 ...
0
votes
1answer
365 views

How to enable aufs support on raspberry Pi, specifically, raspbian?

I have installed raspbian (and 2 other distro's) on an 8G Class 10 card in my raspberry Pi 2 and I am running out of space on root filesystem after adding a few applications. I understand from debian ...
14
votes
1answer
736 views

Why does the SD card random write performance for record size 8-128 kB drops below the performance of record size 4 kB?

When I check the performance of SD cards for random write, I can see the performance is quite bad for record size 4 kB (this is not surprising) but then for several cards it even drops for larger ...
0
votes
1answer
126 views

Which one is faster? A NAS device or a web server on RasPi B+ [closed]

I'm currently making a project with Raspberry Pi B+. I want to create a solution through which we can access files from a external HDD from anywhere (over the Internet). After googling, I found 2 ...
0
votes
1answer
128 views

How to trace the path on a command [closed]

I'm trying to salvage some code on a project that was passed on to me, but I can't find the actual file for the code that I'm trying to find. I have tried which, echo, rgrep, and gdb. What other ...
2
votes
4answers
176 views

Read-write filesystem + no problem when halting the Pi by removing the power cord?

Is it true that removing the power cord without doing halt on a normal read-write root filesystem could cause filesystem corruption? For my embedded project, it's impossible to shutdown with a clean ...
2
votes
0answers
1k views

External Hard Drive with HFS+ file system mounted read only in OSMC

I used this hard drive with Raspbmc with no problems, but since I updated to OSMC, this seems to mount the disk as read only. I need to change some permissions and modes and I get this message: chmod ...
1
vote
1answer
259 views

Raspberry Pi kernel image installation on new SD Card (no pre installed Raspbian or NOOBS in it - it's free with no partions)

I have been working on kernel compilation of Raspberry Pi on Ubuntu using a cross compiler. I have compiled the kernel, and I got the image file generated (https://www.raspberrypi.org/documentation/...
0
votes
1answer
57 views

Edit size of /root partition BEFORE writing it to SD card?

I have downloaded the latest Raspbian IMG (not NOOBS) onto my Raspberry Pi using wget http://downloads.raspberrypi.org/raspbian_latest I then extracted it. I can mount the root partition to see ...
3
votes
1answer
203 views

On-the-fly / mounted volume encryption for RPi

I have a Raspberry Pi B+, and I want a unitary, encrypted archive which I can read and write from/to at will. I want a single file on the RPi (or attached storage), which contains an entire directory ...