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

0
votes
1answer
25 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 ...
0
votes
0answers
15 views

How to check if SD card become corrupted? [migrated]

As far as I know, whenever a removable media becomes corrupted (or shows signs it's going to be), the system disables all writes on the disk to prevent any further data corruption. This is done by ...
1
vote
1answer
41 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
79 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 ...
0
votes
0answers
80 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
40 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
12 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
183 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
105 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
40 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
40 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
87 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
432 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
79 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
65 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
235 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
68 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
71 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
107 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
70 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
95 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
92 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 ...
0
votes
2answers
184 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
174 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
195 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 ...
2
votes
0answers
114 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
61 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
43 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
180 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
2k 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
53 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
117 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
398 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
319 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
603 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
119 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
109 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
170 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
238 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 ...
0
votes
1answer
54 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
184 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 ...
1
vote
1answer
1k views

Owncloud fails to create data folder

I'm trying to set up Owncloud on my Raspi following this howto: http://tech-blog.clericare.com/2013/08/how-to-deploy-owncloud-with-postgresql.html The Raspi should serve as an Owncloud server, a print ...
0
votes
1answer
1k views

Adding hfsplus file system to fstab

I have a external drive that is formatted in HFSX. And I have installed the hfsplus etc using sudo apt-get install hfsplus hfsutils hfsprogs After this I have retrieved the UUID for the disk using ...
0
votes
1answer
313 views

My 4T disk with ext4 does not work for more than 5 minutes

I got a WD large drive, 4T with USB enclosure (powered by a dedicated AC adapter). I formatted it in my laptop (Ubuntu 12.04) as a single ext4 file system without any partition. mkfs.ext4 /dev/sdb ...
4
votes
1answer
462 views

Can I view/copy the contents of an img file from Windows?

I have a backup .img file of an old Raspbian installation that I used to have running as a webserver. I'm unable to get the Raspberry Pi to boot from it any more, I think due to running out of space ...
3
votes
1answer
229 views

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

where are rapsian files located?

short story I browse file on SD card from my windows box, but was unable to see any files related to home dir of the new user I create. long story I tought I lost pi's passwd. my first idea was to ...