Pi, XBMC and 3TB HD


19 posts
by BailDnide » Sun Feb 17, 2013 11:37 am
Hello,
I'm looking into buying a Pi to learn Python and to use it for XBMC. My question is, will the Pi recognise a 3TB external HD with the full amount of storage, or will there be a problem?
I'm considering this HD if it helps answer the question :)

http://www.ebuyer.com/384243-seagate-3tb-backup-plus-desktop-hard-drive-stca3000200

Thanks!
Posts: 1
Joined: Sun Feb 17, 2013 11:31 am
by 4thdwarflord » Thu Feb 21, 2013 3:25 pm
with a powered hub you will probably be able to.
Posts: 142
Joined: Mon Dec 03, 2012 4:26 pm
Location: Deep in the mines of Moria
by Jessie » Thu Feb 21, 2013 11:37 pm
I have connected 3TB drives to other ARM devices running Arch and have never had any issue seeing the full volume. Both with NTFS and EXT4 they have been recognized. NTFS is real slow on Linux so if possible you should reformat EXT3 or 4. I don't see why the R Pi would have any issues. My pogoplug has 128MB ram and it has no issues with the 3T drive.

No 3T drive is powered by the USB port on the R Pi so don't worry about a powered hub. It will come with a power brick. I have that exact drive you linked and if you want me to plug it into my R Pi just to make sure let me know and I will take some time to disconnect it from my server.
Click my website link under my avitar for the RetroPie 2.3 guide in progress.
User avatar
Forum Moderator
Forum Moderator
Posts: 1557
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA
by nginx » Fri Mar 22, 2013 12:26 pm
@Jessie, can you please try it out and confirm if your 3TB drive works with the Pi? There are many threads on the forum where users have reported problems with 3TB drives not working, so I am a bit apprehensive about whether the Raspbian OS can actually handle disks bigger than 2TB. Also, if you do get it to work with ext4 file system, do tell us if you had to do anything special, like initializing it with GPT or if it worked right out of the box.
Posts: 41
Joined: Sun Dec 09, 2012 2:35 pm
by stubright » Fri Mar 22, 2013 6:11 pm
I use an IcyBox IB-351StU3-B, it cost around £25 without a hard drive. I already had a 3TB internal drive which I installed and formatted as GPT in the enclosure.

Initially I formatted the drive on my Ubuntu PC but when I installed it in the enclosure it came up as blank. So I left it in the enclosure and set it up there.

My Pi (using Raspbian) has a 256MB sdcard and the root partition is on the 3TB drive.

It's partitioned as 8GB ext4 for the Pi and the rest as xfs for storage (NAS).
It's been running for about a month now without issue.

There are a lot of hard drive enclosures that can't handle anything bigger than 2TB. It took me a little while to find an enclosure that stated it supported 3TB drives.

If your enclosure came with a 3TB hard drive, I don't see it being a problem. But don't hold me to that. :)

Raspbian supports drives of that size and it supports GPT.

I hope that helps a bit.

Stu
Posts: 68
Joined: Sat Dec 24, 2011 11:12 pm
by nginx » Sat Mar 23, 2013 2:10 am
Thanks stu. Good to hear that its working for you. That's encouraging. I hope Jessie or another person can confirm as well. That will ease my doubts even more.
Posts: 41
Joined: Sun Dec 09, 2012 2:35 pm
by Jessie » Sat Mar 23, 2013 3:16 am
I will give it a shot. Give me a day or two. I have to shut down my server and move it. Send me a PM to remind me if I don't post back in a day.
Click my website link under my avitar for the RetroPie 2.3 guide in progress.
User avatar
Forum Moderator
Forum Moderator
Posts: 1557
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA
by nginx » Sat Mar 23, 2013 3:26 am
Sure thing mate. Glad you responded.
Posts: 41
Joined: Sun Dec 09, 2012 2:35 pm
by Jessie » Sat Mar 23, 2013 5:19 am
I got a little time today so I plugged it in. I didn't hot-plug it, but rather plugged it in then booted. It auto-mounted the drive the media directory. All my files were there and space was reported properly. I tested it with the newest build of Raspian, so I would venture to say that the R Pi can read a 3TB HDD. I checked in the File manager in LXDE and at the command line using "df -BM" I was going to show a screenshot with more details, but I was embarrassed by all the garbage my wife had been saving to the media share.
3T.JPG
3T.JPG (184.39 KiB) Viewed 4532 times
Click my website link under my avitar for the RetroPie 2.3 guide in progress.
User avatar
Forum Moderator
Forum Moderator
Posts: 1557
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA
by Jessie » Sat Mar 23, 2013 5:21 am
I should also note that there were no issues with the shutdown either, I could hear the heads park and then the drive turned off before the R Pi halted. This drive is currently formatted EXT 4 which is what I would suggest anyone format the drive. I can understand some people may want to disconnect it from the Pi and download files from a Windows PC but if you don't need to do that EXT 4 is much faster, and I don't have a NTFS external drive to even check to see how well they work with the R Pi.
Click my website link under my avitar for the RetroPie 2.3 guide in progress.
User avatar
Forum Moderator
Forum Moderator
Posts: 1557
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA
by nginx » Sat Mar 23, 2013 6:29 am
Thanks a lot for taking time out and doing this. If 3TB works, I am pretty sure 4TB will as well, I might just go all out and get 4TB then.

I am currently using ext4 with all my drives connected to the Pi, works brilliantly. I get over 11MB/s for both read/write. In case you are interested, I did try NTFS but speeds are abysmal, around 2-3 MB/s and CPU is always 100%. I got no reason to use NTFS since my drives are permanently connected to the Pi.
Posts: 41
Joined: Sun Dec 09, 2012 2:35 pm
by nginx » Wed Apr 03, 2013 9:46 am
So I finally got the Seagate 4TB Backup Plus from Amazon. Raspbian had absolutely no trouble detecting it. All I had to do was plug it in, edit the fstab and issue the mount command.

Subsequently I fired up Ubuntu on my desktop PC in order to format the drive in ext4 and copy all the data to it and that's when all the headache started. For some reason Ubuntu refused to recognize the drive at all. After a whole day of troubleshooting, I got the drive to detect by blacklisting the uas module. From there on it was smooth sailing. The transfer speed over USB3 was blinding, over 145MB/s all the way through.

I hope this helps people who are looking for assurance whether 3TB+ drives work with the Pi.
Posts: 41
Joined: Sun Dec 09, 2012 2:35 pm
by sminons » Wed Apr 10, 2013 6:29 pm
I got myself a 1TB Seagate Backup plus and connected to the PI. It wasn't getting detected and so I bought a powered USB hub and tried, still the drive was not getting detected by Pi. For a brief period of time the light on the drive lights up and then dies down. Please help with some directions. Thanks for any help
Posts: 13
Joined: Sat Apr 06, 2013 3:38 pm
by nginx » Wed Apr 10, 2013 11:22 pm
Please post the dmesg output. That's the only way somebody can figure out what's going on.
Posts: 41
Joined: Sun Dec 09, 2012 2:35 pm
by sminons » Thu Apr 11, 2013 1:45 am
I did a grep for usb in dmesg

Code: Select all
[    3.292383] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.424967] usb 1-1.2: New USB device found, idVendor=0bc2, idProduct=a013
[    3.440998] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    3.462275] usb 1-1.2: Product: Backup+ BK
[    3.468501] usb 1-1.2: Manufacturer: Seagate
[    3.491528] usb 1-1.2: SerialNumber: NA52XJH2
[    3.509757] scsi0 : usb-storage 1-1.2:1.0
[    3.602557] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    3.724323] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[    3.734011] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.744360] usb 1-1.3: Product: USB2.0 Hub
[   86.284928] usb 1-1.2: reset high-speed USB device number 4 using dwc_otg
Posts: 13
Joined: Sat Apr 06, 2013 3:38 pm
by nginx » Thu Apr 11, 2013 4:07 am
Hmm...USB reset problem. Possibly voltage dropping between TP1 and TP2. Refer to this wiki:

http://elinux.org/Rpi_USB_check-list

If problem still persists, I would recommend you to open a new thread with your issue so that others can chip in too.
Posts: 41
Joined: Sun Dec 09, 2012 2:35 pm
by sminons » Thu Apr 11, 2013 5:48 am
Possibly voltage dropping between TP1 and TP2


Thank you for the pointers. Pardon my ignorance, what is TP1 and TP2
Posts: 13
Joined: Sat Apr 06, 2013 3:38 pm
by nginx » Thu Apr 11, 2013 5:54 am
Take a look at your board and you will find the TP1 and TP2 markers. You can measure the input voltage that the Pi is seeing by placing your multimeter probes at those two points. Since the Pi doesn't have any wide range voltage regulator onboard, your supply voltage must be within 5% tolerance band of 5V at all times or else problems like you are facing start cropping up.
Posts: 41
Joined: Sun Dec 09, 2012 2:35 pm
by sminons » Wed Jun 05, 2013 4:38 am
I did some research and found out that the Rpi was underpowered. So I got an adapter with 5v and 1000ma rating, chopped of its round pin and fused a micro usb at its end. Now everything works and the external hard disk works perfectly.
Posts: 13
Joined: Sat Apr 06, 2013 3:38 pm