Questions tagged [hard-drive]

Questions related to connection hard disks to the Raspberry Pi. For primary storage media, see sd-card.

Filter by
Sorted by
Tagged with
65 votes
5 answers
131k views

Can I attach a SATA controller?

I would like to use my Raspberry Pi as a file server (NAS/SMB). Will I be able to attach a SATA/RAID controller?
Alex L's user avatar
  • 7,595
48 votes
6 answers
21k views

Boot from USB hard disk?

Is there a way to boot from an external hard drive connected to the device through the USB port (as opposed to booting from the SD card)?
System Down's user avatar
27 votes
16 answers
121k 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 ...
Igor Kulman's user avatar
23 votes
2 answers
20k views

Why doesn't my external hard drive appear in /dev?

I want to mount my external HDD, but my Raspberry Pi can't recognize anything. I loaded usb-storage with modprobe, but if I insert the HDD into the USB port, nothing changes. I can't see any changes ...
Gergely Fehérvári's user avatar
23 votes
6 answers
60k views

Can the Raspberry Pi power this 2.5" drive without a USB hub?

I want to use my Raspberry Pi model B as a NAS, but I'd like to avoid using a USB hub. I have a 2.5" Western Digital 1 TB USB hard disk drive (this one), and a 2 A power supply for the Raspberry ...
vkjb38sjhbv98h4jgvx98hah3fef's user avatar
21 votes
1 answer
7k views

How can I use a USB HDD to extend the life of my SD Card?

How can I set up a USB HDD to extend the life of my SD Card and maximize the performance of my Raspberry Pi? Related: How can I extend the life of my SD card?
Andrew Fogg's user avatar
  • 5,903
14 votes
4 answers
34k views

How do I mount the correct drive everytime the Raspberry Pi reboots?

I generally know how to mount hard drives in a UNIX system. But I am confused with one thing. Say I have disk #1 and disk #2. I mount disk #1 with sudo mount /dev/sda1 /mnt/drive. How will I know that ...
StarShire's user avatar
  • 177
13 votes
7 answers
76k views

How can I put RaspberryPi to Shut down and wake up later?

I want my raspberryPi to shut down during the night and wake up in the morning. I.e., at 10pm raspberry should shutdown or at least turn of the WiFi and the HDD. At 10am every day my raspberry ...
Michael's user avatar
  • 249
13 votes
3 answers
11k views

HDD without external power is working. Is this dangerous?

I have connected a 2,5" HDD to my Raspberry Pi directly and it works. The only one question I have - Can my HDD/RPi be damaged? (When I use the HDD without powered usb hub - Are there any risks?)
cupakob's user avatar
  • 997
12 votes
2 answers
25k views

NTFS USB HDD Read-Only - How to enable write permissions

I have a 500GB SATA drive connected via a USB to my Pi 2. I can read data off it fine, but I can't write to it. It is formatted as NTFS. On my desktop, it is write-able, but not on Raspbian.
willem.hill's user avatar
12 votes
3 answers
15k 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 ...
verpfeilt's user avatar
  • 463
11 votes
5 answers
38k views

Can Rpi4B power external / portable USB HDD / SSD?

I was not able to power an external HD directly from a Raspberry pi 3 (the HD was constantly complaining about a lack of power). Would a Raspberry Pi 4 be able to power a portable hard drive (using ...
raspberry's user avatar
  • 111
10 votes
1 answer
7k views

Raspberry Pi 3: microSD card vs hard drive

In my bachelor's thesis I compared the speed performance of a hard drive connected via USB adapter with a microSD card. I was challenged to answer the question "Why is the difference in speed drives ...
sunny's user avatar
  • 133
8 votes
1 answer
16k views

Raspberry Pi WiFi to Ethernet Bridge for a server?

I wanted to create a Wifi to Ethernet Bridge on my Raspberry Pi, similar to this one. The problem is: I want to conntect a Network Harddrive (WD MyCloud) to the ethernet side. The Harddrive seems to ...
Galevux's user avatar
  • 81
8 votes
3 answers
9k views

Is it safe to power my external hard drive with a Raspberry Pi 3 B+ USB port?

I have a external hard drive that has written on it "5V ⎓ 1A". Both power and data transfer happen over a single USB. I have been reading about powering this hard drive with the USB ports on my ...
Eric's user avatar
  • 83
8 votes
1 answer
30k views

How to change permissions on external hard-drive connected to Raspberry?

I am following this tutorial to create Samba Share on my Raspberry Pi Zero. My problem is at this step: "Make sure your user is the owner of the path you are trying to share via Samba sudo chown -R ...
bac's user avatar
  • 83
8 votes
1 answer
26k views

Hard drive not detected by the Pi

My raspberry pi is unable to detect my external hard drive, I'm wondering if I might have messed up in my setup. The hub is connected to the pi in two ways: from the hub to the pi's microusb to give ...
SBSTP's user avatar
  • 181
8 votes
2 answers
8k views

Problems with External Hard Drive - kernel: journal commit I/O error

I'm having issues keeping a 3TB USB 2.0 External Hard drive (self powered) mounted on my pi. I'm using a 1.0 A wall charger to power the pi. I'm connecting the hard drive to a powered Belkin USB hub ...
ndmweb's user avatar
  • 201
7 votes
3 answers
10k views

External SSD or External HDD more suitable for Raspberry Pi 2 Model B?

I just bought a Rasberry Pi and I want to turn it into a media center, but I dunno if I should use SSD or HDD, I know SSD is faster, but HDD is cheaper so.
user32542's user avatar
7 votes
3 answers
6k views

What is the best way to reliably mount a USB drive?

I've installed raspbmc, but from what I've seen it's based on raspbian, so this might go for raspbian too. I've connected a USB hard-drive. Most of the time, it will be automatically mounted on /...
Chris Wesseling's user avatar
7 votes
3 answers
4k views

Is it possible to use MariaDB data on an external USB hard drive?

I have a rpi3 and successfully installed MariaDB / PHP7 / Nginx server combination. How ever i want to keep the data on a USB HD. Security of the data is not critical, but the amount of writes to the ...
Simon Markham's user avatar
7 votes
2 answers
13k views

Periodically losing connection to external hard drive

I have the following setup Raspberry Pi : Hardware BCM2708, Revision 0002 Powered USB Hub: Manhattan Hi-Speed USB 2.0 Micro Hub External Hard drive: Western Digital My Passport 0730 The pi is ...
Robert Munteanu's user avatar
7 votes
2 answers
20k views

How can I run smartctl in Raspbian?

I have several USB hard drives that have SMART capabilities. I know this, because they work fine on my normal computer. However, the Pi (Model 3B) reports them as not. After running sudo smartctl -t ...
Sparhawk's user avatar
  • 693
7 votes
1 answer
397 views

Xbian does not allow harddisk to stand-by for long

I have an external 2TB WD Elemens harddisk recently purchased plugged into the USB of my Raspberry Pi with Xbian 1.0 beta 2 installed. This disk has internal power management so it enters stand-by ...
Puiu Ioan's user avatar
6 votes
1 answer
12k views

Rpi can't see external hard drive

I got stacked. I have a Raspberry Pi 2 Model B with OSMC installed on it. I want to connect an external drive (Seagate Backup Plus 1TB) to it. I connected it through a usb hub and there is an ...
Gleb  Vishnevsky's user avatar
6 votes
3 answers
28k views

Is it possibly to have my pi play videos stored on my external hard drive?

im very new to all this, and i want to know if its possibly to have my raspberry pi play movies and such that i have stored on a WD My passport 500GB External Hard Drive. ive mounted the hard drive i ...
mobious's user avatar
  • 61
5 votes
4 answers
10k views

How to Boot from one usb drive but have multiple drives connected to hub

After searching google, I know you can let a external usb flash drive take over after booting from the SD or microSD card. I want to know what is the easiest way to boot from one usb drive but have ...
AncientOwl's user avatar
5 votes
6 answers
4k views

External hard disk disappears after a few hours

I have an external hard disk drive, formatted with ext4 and connected to my Pi 3B+ running Raspbian with Kernel 4.19.97-v7+. Every now and then, usually after about 12 hours, but sometimes a few ...
Arthur's user avatar
  • 153
5 votes
1 answer
9k views

Correctly partition 4TB drive with enclosure using Pi

When I first connected my new hard drive enclosure with 4TB drive to my Pi, the drive was not listed when I typed sudo fdisk -l. I want to mount this drive, but I think I first need to partition it ...
Rab's user avatar
  • 241
5 votes
1 answer
5k views

Will RPI3 power down an external USB hard disk if not used for a certain amount of time?

Supposing I am more interested in power consumption than the lifespan of the HDD, does Raspberry Pi 3 power down automatically an external USB hard disk? If it doesn't do it automatically by default, ...
Andrei Rînea's user avatar
5 votes
3 answers
21k views

How to connect SATA drives without USB

I want to connect a SSD SATA HDD to the pi without using USB. Possible? I was hoping some sort of module would be available or a way of connecting using a breadboard. Tried searching on stack ...
JeffreyShran's user avatar
5 votes
2 answers
1k views

Do HDDs drain power when not in use?

I'm thinking of getting a Pi to use as a file and webserver for personal apps and data backup. I heard the Pi consume little power even when running 24/7. If I attach a laptop HDD to the Pi for data ...
stormtrooper's user avatar
5 votes
2 answers
11k views

How Can My Raspberry Pi 3 B+ Power All My Devices?

I have a bunch of questions. I have searched LOTS but I can't seem to figure this out. I hope an expert can answer this for me. I read that a Raspberry Pi can only output 0.6A for those 4 USB ports in ...
May's user avatar
  • 105
5 votes
3 answers
20k views

mount: special device /dev/sda1 does not exists

I bought a Raspberry Pi and installed Raspbian and transmission. I want to connect my USB hard drive to save there the transmission's downloads. The HDD is formatted in FAT32, Windows recognizes it ...
Federico's user avatar
  • 153
5 votes
3 answers
15k views

Unable to mount external harddrive (Openmediavault)

I try to connect a harddrive via a SATA to USB3 adapter to my raspberry (The adapter is externally powered, so there cannot be a power problem). The adapter gets detected and shows up under /dev/sda ...
exilit's user avatar
  • 53
5 votes
5 answers
26k views

How can I automatically mount USB hard drives (regression)?

Recently (perhaps due to an update?) my hard drives no longer automatically mount. I have a USB hub attached to the Pi, with a wifi card and some hard drives attached to the hub. The hard drives are ...
Sparhawk's user avatar
  • 693
5 votes
3 answers
10k views

Make fsck run without intervention after non-clean shutdown

I'm using my raspberry pi as a NAS mostly. If on reboot it does a non-clean fsck the pi dumps to a terminal. I don't have it hooked up to a monitor or keyboard so this is a pain for me to actually ...
Paul Tarjan's user avatar
5 votes
2 answers
2k views

Where's my USB Disk / Memory Stick

So, I did a sudo apt-get update sudo apt-get upgrade today and it all went smoothly from an installation point of view. My Wi-Fi dongle works much better as well. However, the PI now fails to see ...
Skizz's user avatar
  • 323
5 votes
2 answers
4k views

Expanding size of the root / using external HDD

I bought Raspberry Pi and got it up and running. I also happened to have an external HDD which I then mounted to the Raspberry Pi. The mount can be accessed in the /mnt folder. I have SD card in the ...
Hicks48's user avatar
  • 51
5 votes
1 answer
9k views

Spin down idle hard drive

I use raspbian and am looking for a way to connect an ~old seagate 500GB usb (externally powered) hard drive so I can store my movies etc on it. But obviously, there may be large amounts of time ...
Lucidnonsense's user avatar
4 votes
3 answers
27k views

How can I connect an internal 3.5'' SATA HDD to Raspberry Pi [duplicate]

I know this is theoretically difficult, but I dare to ask: what are the possible ways to connect an internal 3.5'' SATA HDD to the board (let's say 2TB)? Let's ignore the need for additional power. I ...
Alexandru Irimiea's user avatar
4 votes
2 answers
2k views

What are pin headers and what are they used for

I see almost all modern development boards (Raspberry Pi, Cubieboard, Odroid, etc) have pin headers attached. I couldn't find a clear description of what they do. What are the practical uses of them? ...
Alexandru Irimiea's user avatar
4 votes
2 answers
7k views

Attach SAS Drives

I have 4 SAS drives that used to be in a server that just died. Is there any way to add a SAS controller to the Ras Pi so I can use it as a NAS?
ScottishTapWater's user avatar
4 votes
1 answer
11k views

Permission denied to access `/media/pi` folder

I connected a HDD to USB port, then Raspbian allow me to mount the unit. So I can access to logical drive with this path: /media/pi/PICTURES-HDD. Then I installed a DLNA server (serviio) to view the ...
riofly's user avatar
  • 143
4 votes
2 answers
159 views

Powered USB3 Hub vs USB3 Y Power Cable

I have an issue that means I have to use a powered USB hub for the HDD that is attached to my RPI4 (long story). The hub just broke. My budget doesn't allow for a decent powered USB3 hub BUT does ...
lukenm's user avatar
  • 183
4 votes
2 answers
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 ...
User98764431's user avatar
4 votes
2 answers
401 views

Is hard disk necessary for not over-using the sd?

I recently got my rPI and I was thinking about using it as a torrent hub: in case this word is not accurate, I mean that I want to run a torrent client on my box, freeing my other computers. For that,...
Helios's user avatar
  • 41
4 votes
1 answer
2k views

External HDD will not spin down

I am having an issue with my external hard drive and it is quite annoying. So, I purchased the Samsung M3, for the sole purpose of acting as a mass storage device for my Raspberry Pi. Lovely. I ...
Jake Ball's user avatar
  • 191
4 votes
2 answers
5k views

Unable to connect Seagate external drive

I'm new to Raspberry Pi and I wanted to use an external hard drive as my primary storage.. so went and got a Seagate BUP Slim BK 1TB HDD. It is not externally powered. My Pi is set up with Raspbian, ...
Jody Heavener's user avatar
4 votes
2 answers
2k views

RPi rev 2 and USB powered harddrive

I am getting my RasperryPi Rev2 soon, and I plan to use it as a media centre. I have a WesternDigital Elements 1TB USB3 2.5" USB powered external harddrive. I know that a normal USB port outputs 500mA,...
KCranky's user avatar
  • 41

1
2 3 4 5
7