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
0 votes
2 answers
127 views

RAM Change on the raspberry pi 4

Can you change your RAM in your pi that you get 16gb RAM?
0 votes
1 answer
928 views

How to run OpenVPN for Docker on a Raspberry Pi 4

I am trying to add a VPN to my Raspberry Pi NAS, that I have created, so I can access it away from home while still securing my network. I am currently going through the OpenVPN for Docker walk ...
0 votes
2 answers
1k views

Berryboot, raspbian, docker, SSD, aufs vs overlay2 storage drivers, nnc1: timeout waiting for hardware interrupt, pi 4b

My goal is to step up my Raspberry Pi 4B with berryboot loading the OS onto an SSD where I can start running docker to become better familiar with it. Then use pi-hole and pivpn and whatever else ...
0 votes
0 answers
35 views

New SSD on Raspberry PI

I am trying to add a new 8TB SSD (connected by SATA to USB Enclosure) to my Raspberry Pi 4, to use it as a Backup of my 8TB media drive from the PC. I would set this up using openmediavault. I did ...
1 vote
1 answer
100 views

Pi 3 B as wi-fi usb stick for my TB

I have a Raspberry PI 3 B + external 300 GB HDD. What I want is, to use the PI as a simple USB stick/storage for my TV. Also, I want to access the device over wi-fi/samba from my computer, to upload/...
-1 votes
1 answer
2k views

can't mount usb drive to Zero W: "can't open blockdev" and "special device /dev/sda does not exist" errors

I have a Pi Zero W, and I want to plug in a USB drive and use it as a tiny little backup server. I have a USB OTG cable, and when I plug in a flash drive (later I hope to use a much larger external ...
0 votes
0 answers
97 views

Pico BOOTSEL mode stopped working - device descriptor read/64, error -110

This is my first RPi Pico experiment, so I'm a rookie here. I've connected an ultrasonic sensor to it and written a script in Python (in Thonny) to get readings and save them to local flash memory. ...
0 votes
3 answers
243 views

How can I run a Raspberry Pi for a long time without disk failures?

I tried running Pis on SD cards. Those failed after days. Then, I switched to USB thumb drives. I tested two models only so far (Store 'n' Stay NANO and SanDisk Ultra Fit, 32 GB). They fail within ...
0 votes
0 answers
51 views

Raspberry pi OS crashing

I am using raspberry pi 3B+ for a project. I have installed the bullseye which is currently the OLD STABLE. The raspbian mirror that I am using is: http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/...
1 vote
1 answer
600 views

Raspberry Pi 4: Owncloud docker with external hard disk and permission problem

I'm having problems using owncloud docker with external hard disk on a Raspberry Pi 4. The OS version I'm using is the following: PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="...
0 votes
0 answers
19 views

Moving an external hard drive to a fresh install

I use a pi4 with 32-bit raspbian and a USB drive with an ext4 partition as a NAS. I want to upgrade the pi4 to 64-bit through a fresh install. If I reinstall raspbian with the same user/pw, will my ...
0 votes
0 answers
167 views

Can a pi powered by a POE hat use an external Storage?

I have a handful of POE security cameras. I want to add a raspberry pi with shinobi or some other NVR software. I have an extra POE port on my switch and would like to just use a POE hat to power the ...
0 votes
0 answers
124 views

Building a NAS: OpenMediaVaultV6, Raspberry Pi4 with Samsung QVO 8TB SSD / BTRFS vs. EXT4 / expected write rates with Wifi V6?

I am trying to build a NAS with openmediavault V6. Hardware: Raspberry Pi4 8GB Samsung QVO 8TB connected via the lower USB 3.0 SSD case: https://icybox.de/externe_speicherloesungen/IB-246-C31-G ...
0 votes
3 answers
2k views

SD card full, how to clear space?

I have a RPi 4 running 3 web apps which I had running without issues for a few years. About 6 months ago the original SD card (32gb) died so I replaced it with a new 64gb card and reinstalled ...
3 votes
1 answer
1k views

automatically mount usb storage on Raspberry OS bullseye Lite (as Desktop version does)

in raspberry OS Desktop the usb storage is automatically mounted when inserted. I would like to get the same behavior on Raspberry OS Lite as well. I tried autofs. It doesn't match my needs, since I ...
6 votes
1 answer
8k 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/...
1 vote
0 answers
74 views

Using a Pi as storage from a dashcam

I have a dashcam that writes to a SDXC card. I would like to replace this card with a Pi and store my video on it then when I get home have the Pi automatically connect to my WiFi and transfer the ...
0 votes
0 answers
412 views

Connecting 4TB NAS Hard Drive to RPi 4B

I have currently set up a NAS using a 2TB external USB hard drive on my RPi 4b using Samba. The problem is my HDD is now slow and doesn't provide enough speed for my plex media server direct stream to ...
2 votes
1 answer
2k 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?...
2 votes
2 answers
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 ...
0 votes
0 answers
195 views

Raspberry pi Wireless NAS router

I know there is a way to make the pi into a wireless router with USB WiFi dongle, and I know how to make the raspberry pi into a NAS, but is there a way I could do both on the same Pi? The idea behind ...
0 votes
1 answer
123 views

How is Raspberry Pi OS bootable on all boards?

A single Raspberry Pi OS instance seems able to boot on any board. Some other OSes don't. I'm under the impression that the various MCUs don't share instruction sets that are fully compatible with ...
0 votes
2 answers
181 views

Memory card issues

So I have had it the piwh for a while running pihole never had any problems until recently got a memory issue. I have used the clean and autoremove and gained 28% but of a 32gb SD card it's showing 6....
1 vote
1 answer
6k views

Can I use a USB drive instead of a micro sd card?

I have a USB but not a micro SD card. I installed the operating system onto it. Can I use that as the storage and OS layer for my Raspberry Pi 4?
0 votes
2 answers
825 views

Can I use more than one USB Gadgets with the raspberrypi zero?

it's my first question over here. I'm wondering if I could use more than one USB Gadget like in that Tutorial just that I use g_ether and the mass storage. Thanks in advance!
1 vote
1 answer
822 views

What are the expected write speed for external storage connected to USB 3 (blue) on Raspberry Pi 4 B

I am using an enclosure that has the JMicron JMS567 SATA 6Gb/s bridge as a controller. I am also using the My Book Duo which has a WD controller. Both report same speeds. File systems are ext4. Both ...
0 votes
0 answers
2k views

Pi 4 doesn't recognise SSD

I bought new Pi 4 8GB from authorised seller including power cable. It recognises HDD and works fine. But it doesn't recognise SSD (crucial mx500 1tb sata 2.5-inch 7mm internal ssd). This SSD works ...
0 votes
1 answer
120 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, ...
0 votes
2 answers
262 views

Can't mount RAID5 via USB: File too large

I have RAID 5 self-powered external array in here, and I can't mount it. pi@raspberrypi:~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 36.4T 0 disk ├─sda1 8:...
0 votes
1 answer
195 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 ...
4 votes
3 answers
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....
0 votes
0 answers
49 views

Pi 4 - Any good Backup Solutions for Backing Up attached External HDD to another attached external HDD on a Schedule

I am looking at building a Pi 4 NAS using Open Media Vault using some gear I have lying around the house. I have a external WD USB 3.0 HDD and an external 4TB USB 3.0 HDD I was planning on setting up ...
0 votes
0 answers
1k views

Best way to connect 4 or 5 SATA HDDs to RasPi

I'm trying to figure out the best way to connect 4 or 5 3.5 inch SATA internal hard drives to a RasPi, haven't decided which one yet. Also, I don't want to connect a purchased 4 or 5 bay hard drive ...
1 vote
1 answer
73 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 ...
3 votes
2 answers
2k views

raspberry pi 4 suddenly won't recognize nvme on USB3 port

I'm running ubuntu 20.10 arm64 on Raspberry Pi 4b. I was booting from a western digital NVMe drive in a USB-to-NVMe adapter/enclosure thing attached to the USB3 port. This has been working fine for ...
0 votes
0 answers
196 views

Deleted file still takes up space?

I was using my SMB server and I uploaded 3GB worth of files. Turns out some things were wrong and I ended up deleting it. Before 60% of my 16 GB SD card was free, now it is more like 16% (2.2 GB ish). ...
1 vote
2 answers
673 views

alternatives.tar.0 file fills /var/backups daily using all available space on Debian

On Raspbian stretch, every day at 6:30 am, an alternatives.tar.0 file is created in the /var/backups folder, leaving 0% free space. So far, I have not been able to figure out what is doing this or why....
2 votes
1 answer
139 views

Some USB3 pendrives are fast in Windows, and slowest on the RPi [closed]

I own several (cheap, but original) 32GB Kingston USB3 Datatraveler pendrives, and I tested all of them as USB root devices (either with or without USB boot, some of them work everywhere, others boot ...
1 vote
1 answer
169 views

Files in mounted USB drive use up HDD not mounted usb drive

I've got a Pi 4b that is booting/running from a ssd and running some home automation software (Home Assistant) that creates backups and places them in /usr/share/hassio/backup. This location for the ...
0 votes
0 answers
41 views

How significant are faster SD cards for raspberry pi?

Assuming we are using something more IO-heavy than a pi-hole. For example if we have a database running and a web service running, will we notice differences with different Cards? Does somebody tested ...
4 votes
2 answers
2k 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
0 answers
357 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 ...
0 votes
0 answers
366 views

Raspberry pi 3 B+ Disk IO Bottleneck

I have a RP3 with several docker containers (11) running at home, some for network purposes, other for IoT. The thing is, I've notice several issues related to disk IO, specially when performing unzip ...
1 vote
1 answer
2k 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
1 answer
221 views

How to fix SD Card partition resize mistake? [closed]

Im new to RaspberryPi and also Linux so bare with my ignorance. My RetroPi SD card stopped uploading due to which turned out to be a common problem of the SD drive being full... even though it wasnt ...
-2 votes
2 answers
135 views

Why can't I SSH or Real VNC into my RPi4 after expanding the root partition to use the full 32GB sd card? [closed]

I was following the solution here to make full use of my 32GB sd card. After I hit enter to accept the default for the last sector I saw; Created a new partition 2 of type 'Linux' and of size 29.5 GiB....
0 votes
0 answers
861 views

OTG mode Multi (g_multi) is not working on Raspberry Pi 4

I want to use the Raspberry Pi 4 as ethernet and mass storage device. According to the documentation I have to do configure the following files: /boot/config.txt: dtoverlay=dwc2,dr_mode=peripheral /...
10 votes
4 answers
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-...
-1 votes
1 answer
240 views

What happens when a microSD card is worn out by Pi? [closed]

"Many have experienced their micro SD card becoming corrupted or flat out dying over time when used on the Pi." -- Some person on Reddit. I have read that microSD card is not designed to be ...
2 votes
1 answer
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 ...