I'm trying to follow intructions found here (http://www.jeremymorgan.com/tutorials/raspberry-pi/how-to-raspberry-pi-file-server/) on how to set up a file server with the Raspberry pi, but cannot mount my drive. The error I get is cannot find /dev/sda1. When I look into /dev, I see that I have no folders /DEV/SDA. Why is that and how can I create them?
Asked
Active
Viewed 1.5k times
0
2 Answers
1
Try lsusb and see if you see the device listed. Do not bother with mknod, if udev does not create the node you won't be able to.
As mentioned in my comment, do not plug the device into the pi after boot. Plug it in before you power up or use a hub.
goldilocks
- 58,859
- 17
- 112
- 227
-
"do not plug the device into the pi after boot" - I can confirm this. Plugging in a WiFi adapter also caused my Pi to restart. – Lord Loh. Feb 21 '13 at 18:41
-
Thanks! I just bought myself a powered USB hub, plugged it in, and now I see the /dev/sda1 drive pop up. - Though strange - after I entered the mount command
sudo mount -t ntfs-3g -o uid=pi,gid=pi /dev/sda1 /media/USBDRIVE/I received an error "Mount is denied because the NTFS volume is already exclusively opened" and if I cd to /media/elements (not /media/usbdrive) I see my drive. did it auto mount? – Bunny_ross Feb 22 '13 at 02:25
0
I had the same problem, nod /sda or sdb or anything. It was a USB 3.0 and the raspberry pi was seeing it but not able to access it. I changed it to USB 2.0 and worked perfectly fine
user79577
- 1
- 1
tail -f /var/log/messagespart of that tutorial work?? Do you see anything that indicates the USB devices enumerating? – Lord Loh. Feb 21 '13 at 06:19# mknod /dev/sda1 b 8 1it ran but did not return anything, and nothing was created – Bunny_ross Feb 21 '13 at 13:06