Hot answers tagged

7 votes

Transmission: permission denied on USB disk

None of the answers here worked for me, so I am writing a new one referencing https://pimylifeup.com/raspberry-pi-torrentbox/ which worked great for me and allowed me to run transmission as pi user to ...
Sammaye's user avatar
  • 181
6 votes

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

I'm using a SanDisk Extreme Class 10 with UHS-U3 on my RPi3, I have the microSD driver overclocked and I hit 33.80MB/s while reading/writing. Speed don't decrease with capacity, just ensure to use a ...
MadAntrax's user avatar
  • 921
6 votes

Problem when saving many files in Raspberry Pi

Linux kernel is caching disk operations. That means data is written not in real time, but when it is "time to do it". There could be two reasons of behaviour you described: 1. Your SD card (or disk) ...
nsilent22's user avatar
  • 421
6 votes
Accepted

How to install FreeNAS

I think it's unlikely that a Pi would work well, if at all, with FreeNAS. Note the recommendation on their download page: The new recommended boot device size is 8GB. FreeNAS 11 requires 8GB of ...
Aurora0001's user avatar
  • 6,278
6 votes
Accepted

What is Wolfram engine and can I delete it?

Wolfram is the programming language of mathematica. Don't just delete the files. This may confuse and break your installation system. If you don't need wolfram just deinstall it with: rpi ~$ sudo apt ...
Ingo's user avatar
  • 41.9k
5 votes

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

https://www.raspberrypi.org/documentation/linux/filesystem/backup.md explains backup and restoration. You don't indicate what OS you are using but it is simple on any 'NIX system. I use the following ...
Milliways's user avatar
  • 58.6k
5 votes

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

Already answered here dd-on-entire-disk-but-do-not-want-empty-portion Assuming you want to save /dev/sdXN to /tgtfs/image.raw and you are root: mkdir /srcfs && mount /dev/sdXN /srcfs Use ...
MatsK's user avatar
  • 2,726
5 votes

Issue with multi-user NAS setup

This seems to be a classical unix rights problem. Let's have a look on it. To avoid confusion I set user of /media/NAS to root and then check where is the problem: pi@raspberry ~$ sudo chown root /...
Ingo's user avatar
  • 41.9k
4 votes

Will this MicroSD card work with my Raspberry Pi 3?

Yes it will work. The Pi does not support the protocols (or have the hardware) required to implement the higher speeds such as UHS, but will operate. Any Class 4, 6 or 10 card will work - the only ...
Milliways's user avatar
  • 58.6k
4 votes

Online Storage that I can mount on my mac

If you install netatalk on the Pi you can use it from OS X. You can connect using open afp://raspberrypi.local on the Mac. It is also possible to connect from the sidebar in Finder although I find ...
Milliways's user avatar
  • 58.6k
4 votes
Accepted

Online Storage that I can mount on my mac

There are many ways you could set this up. You could use a whole host of software to mount the RPi's storage as an ftp or sftp drive, you could use OwnCloud, btsync, or a zillion other things that ...
Jacobm001's user avatar
  • 11.9k
4 votes
Accepted

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

You can put your filesystem on an external drive, there are instructions to use an external drive to boot your Pi. See https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md ...
Milliways's user avatar
  • 58.6k
3 votes

Will this MicroSD card work with my Raspberry Pi 3?

You can check if your SDCard has been tested here http://elinux.org/RPi_SD_cards and see the results. Probably it will work without problems. Also you can add your test if there isn't available. You ...
Huczu's user avatar
  • 1,251
3 votes

Performance with an encrypted disk

So I tried that out and it works pretty nicely so far (except for some problems with the 4.1.18 kernel). Using cipher aes-xts-plain64 the speed is around 3MB/s for both reading and writing.
Petr's user avatar
  • 201
3 votes
Accepted

Ubuntu Mate not using all its storage

From the Ubuntu Mate Raspberry Pi page to re-size the file system: sudo fdisk /dev/mmcblk0 then delete the second partition and recreate it by selecting the following menu options: - d - 2 - n ...
Steve Robillard's user avatar
3 votes
Accepted

Bluetooth Audio to Raspberry Pi Zero W as USB Mass Storage

You can build such a thing with a Pi. However, the problem would be how the head unit accesses the MP3 files, and the fact that you are changing it out from under it. Most programs (like the one the ...
YetAnotherRandomUser's user avatar
3 votes
Accepted

Root directory using all space?

The first line of df isn't saying the root directory is using all that space, that's the root mount point, containing every directory which isn't covered by one of the other mount points. I suspect ...
Douglas Leeder's user avatar
3 votes
Accepted

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

The behavior you describe can apparently be achieved through installation and configuration of the hdparm utility (ref). You might check the Arch Linux repo for this package, or you might try ...
Seamus's user avatar
  • 21.1k
3 votes

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

Since you have a Raspberry Pi 4 it is possible to get it to boot from USB. The process to switch from SD card boot to USB boot is demanding that you FIRST boot from a SD card. So YES you need a SD ...
MatsK's user avatar
  • 2,726
3 votes

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

To answer your questions sequentially: If you are using a portable external hard drive from a reputed manufacturer, the enclosure should have vibration pads inside to protect the drive from shocks ...
Shivang P Swain's user avatar
3 votes

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

To add to Shivang's answer: I've used a "spinning disk" USB drive powered from one of the USB3 ports on my RPi 4B for over a year now, and on a 3B for years before that. It runs 24x7, and I'...
Seamus's user avatar
  • 21.1k
3 votes

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

I have had a very similar problem (I/O errors) with SATA USB adapters that were also manufactured by JMicron. It seems to be a known problem especially for SATA (see here) that some manufacturers are ...
Experts-say's user avatar
3 votes
Accepted

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 would be surprised if modifying a couple of text files confused the compression algorithm to the point it produced an extra 300MB of output. So I would start by comparing the sizes of uncompressed ...
Dmitry Grigoryev's user avatar
3 votes

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

I'm also using JMicron JMS567 SATA 6Gb/s in Bulk Only Transport protocol and I'm getting similar write speed: Write speed test: sync; dd if=/dev/zero of=./test.tmp bs=1M count=1024 > 1073741824 ...
Vasil Kalchev's user avatar
3 votes
Accepted

How is Raspberry Pi OS bootable on all boards?

There are several approaches to this problem (which are not Pi specific actually). One is "fat binaries" where a binary includes code segments for multiple cpus, and the start up execution ...
user10489's user avatar
  • 981
3 votes
Accepted

SD card full, how to clear space?

With the following commands you get a list of disk usage summaries for files and directories in the root directory /, sorted by size. cd / sudo du -skx *|sort -n If necessary repeat the command in ...
Bodo's user avatar
  • 243
2 votes

Transmission: permission denied on USB disk

I think one of the main things people are overlooking is that you should mount your usb/external drive in /mnt/myUsbDrive folder, and NOT in /media/pi/myUsbDrive. sudo umount /media/pi/usb_disk sudo ...
SolutionHelper's user avatar
2 votes

Transmission: permission denied on USB disk

I found that the file system was the problem for me. Luckily it was a brand new usb hard drive so wasn't an issue to format it. I first formatted the hard drive to ext4 sudo mkfs.ext4 /dev/<usb ...
Nick's user avatar
  • 203
2 votes

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

I don't know how much space Ubuntu mate needs specifically, but the Raspberry Pi maxes out at 32 GB, and that's the size I use on all but one of my Pi's and I never have space problems. Amazon usually ...
John Pfersich's user avatar
2 votes

Raspberry Pi Space Recovery

Raspbian has a package manager built into the OS. It's called "apt-get". You can install software by typing sudo apt-get install {package name here}. Likewise, you can delete the software by typing ...
Jacobm001's user avatar
  • 11.9k

Only top scored, non community-wiki answers of a minimum length are eligible