Forums » Kodi (XBMC) as frontend »
Tvheadend Openelec Rapberry Pi B+ - how to add a usb hdd?
Added by Simon Jowett over 9 years ago
Hi - its taken a couple of days but I have successfully set up my Raspberry Pi B+ with openelec and tvheadend. I would like to add a 2nd USB HDD to be able to record live tv stream.
1) I have plugged in the HDD (a solid state 64Gb Sandisk), it seems to mount ok and I can see it on the Rpi with the command "blkid", this is the result (it is sda1):
/dev/mmcblk0: PTUUID="307439bc" PTTYPE="dos"
/dev/mmcblk0p1: SEC_TYPE="msdos" UUID="3B28-9F9B" TYPE="vfat" PARTUUID="30743 9bc-01"
/dev/mmcblk0p2: UUID="b4fb34ce-7fa9-453a-b9fc-26c64afbcf0e" TYPE="ext4" PARTU UID="307439bc-02"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="EFD9-88AB" TYPE="vfat"
2) I understand I probably need to format it as "ext4", is the the case or is vfat ok?
3) I can see how to amend or add a new recording location in tvheadend under Configuration > Recording under the "Digital Video Recorder Profiles" tab there is a "Recording System Path" currently the path is "/storage/recordings" which I guess is the micro sd card in the Rpi. What path should I use for the new HDD.
So...I seem to be missing a few steps. I have googled around for a while and can see how to to add a HDD in the full version of the Rpi debian package but openelec is seemingly setup in a minimal and different structure.
Any help would be greatly appreciated.
Replies (1)
RE: Tvheadend Openelec Rapberry Pi B+ - how to add a usb hdd? - Added by András Frankovics over 9 years ago
Hello
1. You need to mount sda1 to somewhere. (I think under /storage/...)
2. I think yes, you need to format it to ext4. For linux I think its the best.
3. You should use the mount point mentioned in the first answer.
I am not sure in two things.
I. Is it enough the power for the hdd from the RPi?
II. Because the OE is very unique - the total system in the ram, write protected file system parts, etc - could it automatically mount a device, after reboot? A necessarily fstab line is enough?
I hope, I could help you!