Questions tagged [storage]

Storage is the retention of retrievable data on a computer or other electronic system; memory. This tag should be used for questions about how to store data on the Pi, how to store data to be used by the Pi, and about how to use the Pi to store data for other computers.

Filter by
Sorted by
Tagged with
181
votes
5answers
377k views

How can I resize my / (root) partition?

Even though my SD card is 16GB, the image I flashed onto it was only 2GB and now I can only see 2GB of storage space on the disk. How can I resize the image so that I have more space on my root ...
51
votes
5answers
92k views

What's the maximum SD card size that the Raspberry Pi will accept? Do larger cards give slower performance?

On my digital camera, I noticed a performance decrease when I used a larger card; will this happen with the Raspberry Pi too? What's the maximum sized SD card it can handle? I see there is ...
27
votes
16answers
114k views

Transmission: permission denied on USB disk

I have Raspberry Pi running RaspBMC with a WD MyBook connected using USB. The drive is automatically mounted to /media/My Book. I have created a folder /media/My Book/downloads and I have set ...
25
votes
1answer
41k views

Possible to connect SATA device to the SD slot?

I have been searching around for a cable which could be used to connect a normal hard-drive (SATA) to the SD slot, and therefore get a lot more storage without having to go via the (comparatively slow)...
20
votes
4answers
74k views

How to tell how much memory is left on the SD card?

I have a raspberry pi, I've downloaded quite a few extras on it. I would like to be able to check how much memory I have left on my SD card. Is there a command that tells you memory available? Is ...
17
votes
7answers
60k views

How to get a good overview over used space?

Is there a command line package/application to get a good (maybe visual) overview over the free/used space left on Pi's SD-card. ls -lh is nice but it does not show me how much space the content of a ...
16
votes
1answer
24k views

How do I create and mount a partition using the remainder of my SD card?

I have seen instructions for resizing the partition here, but how do I create a whole new partition using the remaining space, and then mount it?
14
votes
2answers
21k views

How do I expand a raw disk image?

The official images supplied are raw disk images, which could have been created using dd. How do I make an image bigger? I'm not interested in repartitioning said image as that has already been ...
11
votes
3answers
14k views

How do I set up a storage device that is only "on" when used?

I use my Pi as a homeserver (headless via ssh, always on, restarted once a week). It's running raspbian, and I am running Ubuntu on my Desktop. Now, I want to add hard drives for backups and NAS to ...
10
votes
4answers
14k views

use ssd as main drive

I would like to know, if it is possible to use a SSD as the only drive for a Raspberry PI. The reason is, I would like to use it as database- and webserver and I am not sure about the lifetime of SD-...
8
votes
2answers
14k views

How to make a high powered USB hard drive work with the Pi?

I tried directly connecting my WD My Passport Ultra 1TB USB hard drive to the Pi but it draws too much power, and it doesn't even run the OS. Is there any way to connect it without damaging the Pi?
7
votes
1answer
45k views

How to install FreeNAS

Can FreeNAS be installed on a Raspberry Pi 3?
6
votes
2answers
9k views

How do I configure (hardware) the Pi as a NAS?

I want to use my Pi as a NAS for my iTunes library, Time Machine backups and Home Theatre. I am planning to use a small SD card to boot and put the OS on another storage medium. But something that I ...
4
votes
4answers
11k views

Is there a way to compress a backup of the RPi because the backup has empty space?

I did a backup for my RPi (64GB microsd card) and it saved the entire 64GB worth .img file... while theres only ~14GB worth actual data, the image file accounts also for that empty space. Anyone know ...
4
votes
2answers
807 views

Online Storage that I can mount on my mac

Not sure if this is possible, but I would like to set up one of my RaspPi's as online storage. That I can access over the internet but I would like to be able to mount it as a drive on my mac when I ...
4
votes
1answer
1k 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 ...
4
votes
3answers
3k views

g_mass_storage on rpi zerow is readonly (Use as Usb Stick)

Heyho, i have a tiny problem, i will use the rpi zero w as device to submit space on my nas as USB Stick, for test i used local file only. I used this tutorial withouth the samba things https://www....
3
votes
2answers
587 views

Issue with multi-user NAS setup

I want to build a NAS server with multiple users. To test this I created 2 users, pi and pi2. The external drive is mounted in /media/pi. Here is the ls -al output: drwxrwx--x 4 pi nasusers 4096 ...
3
votes
2answers
23k views

Will this MicroSD card work with my Raspberry Pi 3?

I'm looking forward to buy myself a new MicroSD card for my Raspberry Pi 3. It is Kingston 64gb Class 10 Uhs-1 And here is Question: Will this work with Pi 3? I heard many stories about cards not ...
3
votes
2answers
692 views

How safe is it to connect a Seagate 2TB Expansion Drive to Raspberry Pi 4B?

I wish to build myself a NAS and I figured that a 32GB SDHC (on which the Arch Linux ARM is installed) won't quite cut it. I would very much want to connect my 2TB Seagate Expansion Drive but how safe ...
3
votes
2answers
3k views

How to use external flash drive as raspberry pi 3 root storage?

What I want to be able to do is make my raspberry pi use my 1TB Flash drive as the root file system drive for raspberry pi so I can run everything trough it. I want to do this because my current SD ...
3
votes
3answers
1k views

Is 8gb enough to support Ubuntu MATE without storage issues?

After becoming familiar with Rasbian and Terminal, I decided to try something new with ubuntu MATE. Aside from the microSD card that the Raspberry pi came with, which I want to keep the Rasbian ...
3
votes
1answer
1k views

Boot from SD but use a thumb drive as RootFS

How would I make my RPi boot from the SD card, then immediately direct to my thumb drive (USB/Flash Disk) to run the Root FileSystem. I need to do this because I will be doing some quite heavy storage ...
3
votes
1answer
359 views

Pi 3 nextcloud server and NAS

Is it possible to use something like dietpi, install nextcloud as well as have a NAS in the same thing accessing the same files? What I would like is a system where I can access the NAS via my Linux ...
3
votes
3answers
4k views

android device as USB Mass Storage

I've connected my nexus 4 to one of the usb ports on the model b, but it fails to mount the internal storage in /media. How do I get access to the internal storage? Connected as Media device (MTP), ...
3
votes
1answer
3k views

Using Rasp Pi 3 as Plex Home Server, network drive storage

I've just set up a raspberry pi at home as a plex server. I don't want to use external USB storage for the media, ideally I'd like to use a network drive located on a netbook I run on my home network ...
3
votes
1answer
855 views

Would booting off of a USB hard drive increase the responsiveness of my Raspberry Pi 2?

I love the Raspberry Pi as a computing platform but sometimes I cannot stand the sluggish performance of the device. Occasionally when I'm browsing the internet or even trying to open the regular ...
3
votes
2answers
3k views

Will reformatting external hard drive to Ext4 from NTFS speed up data transfers?

I have two (externally-powered) external USB hard drives plugged into my Raspberry Pi. I use this to download torrents (using Transmission) and to share these with the other computers on the network (...
3
votes
0answers
104 views

PI Zero W Mass storage device mode

I need some help regarding the mass storage mode with Raspberry PI Zero W. This is my first time configuring this mode and I've found a lot of guides about it that only explain how to use the PI as ...
2
votes
1answer
7k views

16GB Micro SD Card, but out of space.

I have a 16 GB SD card, but apparently I am already out of space! I ran ncdu / and apparently I am only using 2.5 GB. How is this possible? There is no way that the OS (Raspbian) is taking up the ...
2
votes
1answer
5k views

How to write raspistill image to usb drive

I want to write an image with raspistill (or video with raspivid) to a folder on an usb drive, but get an error. I connected my usb drive and found the storage location with sudo blkid: /dev/sda1. To ...
2
votes
1answer
55 views

How can I figure out why two closely related Raspberry Pi OS image files vary substantially in size despite having nearly identical folder sizes?

I have two disk images, compressed with the xz algorithm and shrunk using the PiShrink tool, that are 669.5MB and 1.03GB respectively. The thing is, the smaller image was copied from the larger one ...
2
votes
1answer
53 views

How to let Raspberry 4 B stop spinning the external hard disk when there is no write or read request?

Device: Raspberry 4 B; OS: Arch Linux ARM; Interface: USB 3.0 I have a Raspberry and external HDD, all the stuff's details are above. I want to automatically suspend my hard disk (in order to ...
2
votes
1answer
361 views

Bluetooth Audio to Raspberry Pi Zero W as USB Mass Storage

My car audio system has only a USB Memory input (it does not have Bluetooth). The audio system is able to read the content of the USB memory, find the folders (MP3 files) and show them on the screen. ...
2
votes
1answer
2k views

Performance with an encrypted disk

Is Raspberry Pi (model B, rev. 2) suitable for a home file server with external disks encrypted with LUKS? In particular, is the de/encryption throughput reasonable? I used to have such a disk in a ...
2
votes
2answers
2k views

rPi2 + Sandisk Ultra/Extreme plus/Extreme pro: would it work?

I'm thinking of using Sandisk Ultra/Extreme Plus/Extreme Pro with either 8GB or 16GB capacity. I've searched the net about people having problem with Extreme/Ultra series but those are from older ...
2
votes
2answers
1k views

Options for mounting a hard drive to lessen the chance of data loss?

I have a Raspberry Pi as my NAS machine with a USB external hard drive connected. When I remove the drive or power down the machine, I don't want to SSH to the computer (non-technical people will be ...
2
votes
1answer
3k views

Transfer file between raspberry pi and android app over internet

Things I have: raspberry pi android phone Pi connected to the internet at all times What i want to achieve: Using android app to send a file to raspberry pi (over internet), storing it on a hard ...
2
votes
1answer
3k views

What's the better choice to prevent wear leveling?

I recently asked a question about how to shrink down an image so that it fits onto a very small SD-Card. In both answer and comments people were giving me the advice to not use a SD-Card smaller than ...
2
votes
1answer
112 views

No disk space after switching from B+ to 2 model B

Before switching to the RPi 2 model B, I used the commands sudo apt-get update and sudo apt-get upgrade. However, on using the new RPi 2 model B, it keeps saying no disk space left on device. I am ...
2
votes
2answers
4k views

How can I save images of the RPi camera on a network drive?

I would like my RPi to take a sequence of images and store them on my mac directly. My mac and RPi are connected via ethernet cable and I can ssh into my RPi via ssh pi@192.168.1.20. I installed the ...
2
votes
2answers
4k views

External Hard-drive backing up using Time-Machine

I want to connect an external Hard-drive (1TB) to my Raspberry Pi. However I want to do the following: 1) Partition 500GB for backing-up using "Time Machine" 2) Partition 250GB for general use for ...
2
votes
3answers
2k views

Cloud storage: external hard drive vs USB stick

I have made a cloud storage server using NextCloud and a Raspberry Pi and currently I am using an external hard drive as the data directory. However, the external HD has a capacity of 1TB and I don'...
2
votes
1answer
883 views

Brand-new 32GB flash drive unmounts randomly, in an matter of minutes

I purchased a new flash drive, and mounted it to my pi in two steps: Step one: Get the drive ID: ls -l /dev/disk/by-uuid/ Result: total 0 lrwxrwxrwx 1 root root 15 Sep 22 22:17 04DC-AE7F -&...
2
votes
1answer
4k views

What is the Maximum Size for an SD Card that the Pi 3 B?

I have an Raspberry Pi 3 Model B, I want to buy an SD Card for it. Are there any limits to the Maximum Size it can handle? I wanted to buy an 128 GB Micro SDXC Card, but I heard that not all devices ...
2
votes
1answer
802 views

Can't mount volume encrypted with aes-xts-plain64 after upgrading to Jessie

I have an encrypted disk attached via USB. After upgrading to Jessie, I'm not able to mount it any more, getting error Check that kernel supports aes-xts-plain64 cipher (check syslog for more info) ...
2
votes
1answer
170 views

How do I make a fast NAS setup using the PI and a Mybooklive?

I have a mybooklive and although it has a lot of storage it comes with a slow cpu and just 256mb of ram. I was wondering if adding a PI in the mix would give me more speed. I mounted the NAS and I ...
2
votes
1answer
94 views

If I mount a SD reader (for external storage) will I be able to access any SD card in the same way?

I think this may work, but I wanted a second opinion before I go off and buy all of the parts! I am working on a data logger where it would be useful to use a second SD card (not the OS card) to ...
2
votes
1answer
565 views

NAS storage mount is not showing

I got my first 2 pies yesterday, and they are indeed funny to play with. But I have a problem, when I try to mount my NAS server to pi1, nothing happens. - Funny is that I do the same thing on pi2, ...
2
votes
1answer
266 views

transmission-daemon troubles

I set up transmission-daemon today and got the web UI working and stuff. When I went to download a small file, it gets about half way and says that I don't have permission to download it to my ...