PDA

View Full Version : picoreplayer + usb hd



nervoteso
2017-09-03, 04:46
hello
now i've raspberri pi 3 and it reads files mounted on qnap ts 269l. qnap is having issues, could i copy all files from qnap to a normal usb hd and use this usb hd with rasp for LMS? could it be a way to make LMS work better then QNAP?
thanks

Mnyb
2017-09-03, 04:57
That wold work very well .

Reading the files is faster on USB than the network, scanning would be faster .

I don't have any suggestions for a suitable USB drive .

nervoteso
2017-09-03, 05:23
That wold work very well .

Reading the files is faster on USB than the network, scanning would be faster .

I don't have any suggestions for a suitable USB drive .

thanks. just bought a toshiba usb. so should i plug usb hd in raspberry and then mount it? should i set any path (files are stored in a directgory called music)?
i'm copying all files from qnap hd to usb hd (it takes a lot - 700 gb of stuff)

Mnyb
2017-09-03, 05:31
thanks. just bought a toshiba usb. so should i plug usb hd in raspberry and then mount it? should i set any path (files are stored in a directgory called music)?
i'm copying all files from qnap hd to usb hd (it takes a lot - 700 gb of stuff)

You mount the drive in picore web interface and set the path you have in LMS settings for music library.

nervoteso
2017-09-03, 05:37
You mount the drive in picore web interface and set the path you have in LMS settings for music library.

i see this on web picofreplayer


Mount Point /mnt/

i set Mount Point /mnt/music?

in the usb hd the files are stored inb directory music.

now the LMS path is the one of QNap (multimedia)

drmatt
2017-09-03, 05:38
Except .. most USB HDD go to sleep pretty aggressively so the latency on spin up (particularly for high platter count drives) can be in the region of 6-8 seconds. Would bet the qnap will manage this better than a USB HDD firmware does. Network latency should add relatively little to the transaction. Second I would bet the qnap performs better. Most USB HDD are optimised for streaming not IOPs (as backup drives) so I'd say no it won't perform better. Finally the Pi only has USB2, so performance is limited to ~30MB/s and worse this bandwidth is *shared* with the network devices on the Pi so if you're streaming from disk and to the network, halve that limit. Plenty for audio but limiting if you're running backups etc.

Obviously given you are having issues with your qnap it may still be a better choice, but in the long term you might be disappointed with the USB option and want to move back to a proper Nas.

Transcoded from Matt's brain by Tapatalk

paul-
2017-09-03, 07:26
The onboard ethernet is even a poor implementation. Plugging in a USB Gigabit ethernet will give the better throughput (You will need to load the net-usb-KERNEL.tcz that is included.)

Back to the OP's question. Have you copied the drive already? I would copy it from a PC. Plug the drive into the QNAP and copy directly would be the best if you have that option. After the files are copied, just unmount the network drive first. Then you can mount the USB drive at /mnt/multimedia

d6jg
2017-09-03, 08:09
Personally I think using a USB is a retrograde step. The Pi's USB implementation is probably its weakest point. I predict issues where the USB drive just disappears for no apparent reason. I'd stick with a network mount. A NAS is going to be far more resilient unless it is either very old or very cheap.


Sent from my iPhone using Tapatalk

nervoteso
2017-09-03, 08:11
The onboard ethernet is even a poor implementation. Plugging in a USB Gigabit ethernet will give the better throughput (You will need to load the net-usb-KERNEL.tcz that is included.)

Back to the OP's question. Have you copied the drive already? I would copy it from a PC. Plug the drive into the QNAP and copy directly would be the best if you have that option. After the files are copied, just unmount the network drive first. Then you can mount the USB drive at /mnt/multimedia

i'm copying using qnap usb, i'm copying to an usb hd. what option are you talking about?

it is very slow to copy , i'm at 2 per cent after 6 hours, it could take 300 hours...

WAD62
2017-09-03, 08:14
hello
now i've raspberri pi 3 and it reads files mounted on qnap ts 269l. qnap is having issues, could i copy all files from qnap to a normal usb hd and use this usb hd with rasp for LMS? could it be a way to make LMS work better then QNAP?
thanks
Are you running LMS on the QNAP?

nervoteso
2017-09-03, 08:16
i'm doing backup cos qnap manager says there is an anomaly on volume 1 of my qnap hds (they're set in raid 1). now everything is still working fine but maybe i should change the hd with errors. if i change the failed hd with an other hd (the same brand but 2 tb instead a tb) and rebuild raid 1 will i lose data? the failed hd is seagate ST2000VX000 (SATA - 1 TB) and i can't seem to find it everywhere.
after backup, you would wait to change hd or change immediately? i 'm afraid to lose something on qnap configuration

nervoteso
2017-09-03, 08:17
Are you running LMS on the QNAP?

no, lms is running on rasp

WAD62
2017-09-03, 08:31
no, lms is running on rasp

Ah Ok, I wondered if LMS was killing the QNAP, I have an old TS-119, which I formerly used as both a NAS, and an LMS server, it's now consigned to purely NAS duties, as I now run LMS 7.9 on a Pi3, referencing the NAS files and serving a mixture of pi2s and SBs

I compared the pi3/LMS reindexing speeds for both USB, and wired network to the NAS, both were about 35 mins for a complete rebuild of 3k flac albums, the USB was marginally faster, but I prefer the security and accessibility of a NAS over an HD...

drmatt
2017-09-03, 09:18
Personally I think using a USB is a retrograde step. The Pi's USB implementation is probably its weakest point. I predict issues where the USB drive just disappears for no apparent reason. I'd stick with a network mount. A NAS is going to be far more resilient unless it is either very old or very cheap.


Sent from my iPhone using Tapatalk.. and all of a Pi's I/O hangs off that USB bus .. and even plugging in a gigabit USB port on a USB 2 seems somewhat pointless.

A Pi is not a good server. Convenient, very, but it's no file server. Banana Pi is much better (PCI linked gig-e and SATA, but even that still has no USB 3).


Transcoded from Matt's brain by Tapatalk

nervoteso
2017-09-03, 09:26
.. and all of a Pi's I/O hangs off that USB bus .. and even plugging in a gigabit USB port on a USB 2 seems somewhat pointless.

A Pi is not a good server. Convenient, very, but it's no file server. Banana Pi is much better (PCI linked gig-e and SATA, but even that still has no USB 3).


Transcoded from Matt's brain by Tapatalk

which server do you suggest me? banana pi?

drmatt
2017-09-03, 10:03
I would stick to a proper NAS, for use as a NAS. A raspberry pi will cope as an LMS node.


Transcoded from Matt's brain by Tapatalk

paul-
2017-09-03, 11:48
.. and all of a Pi's I/O hangs off that USB bus .. and even plugging in a gigabit USB port on a USB 2 seems somewhat pointless.
A Pi is not a good server. Convenient, very, but it's no file server. Banana Pi is much better (PCI linked gig-e and SATA, but even that still has no USB 3).


Agreed, but the throughput is much better than onboard ethernet, if throughput is important to you.

There are so many arm platforms better suited for a low cost/power server, if only they had reasonable software/kernel support. I had ported piCore to oDroidC1, but stuck at 3.10 kernels and backported wifi drivers was painful. Otherwise the C1 was binary compatible with the rpi. Of coarse there is the wandboard too, which is a good product, albeit much more expensive

sbp
2017-09-03, 12:20
I use pCP and a RPi3+ connected to a WD 1TB USB hard disk, it is working really well. I don't have a problem with any power down issue on the HDD. Samba is enabled so I easily can add new files.

The initial transfer of the files to the HDD was done by attaching the HDD directly to the computer that contained the files. Then I moved the HDD to the RPi

epoch1970
2017-09-04, 02:00
i'm doing backup cos qnap manager says there is an anomaly on volume 1 of my qnap hds (they're set in raid 1). now everything is still working fine but maybe i should change the hd with errors.
IMHO the best is to take a cold, full backup copy right away, as you're doing with an USB drive.
If both drives in the array were identical, the healthy one has now, statistically, a high chance of failing.

AFAIK you can rebuild and extend a 1TB mirror array into, say, a 2TB mirror array using qnap's OS. However, rebuilding is a prolonged stress period for the HDDs, and there is a small possibility for failure of the 1TB healthy drive during the operation.

I would take a full copy on the USB drive, then buy 2 new drives, create an empty array and fill it from the USB drive.
It will take time, but you'll still have the original 1TB mirror in its current state in case something goes wrong.

HTH

d6jg
2017-09-04, 10:36
IMHO the best is to take a cold, full backup copy right away, as you're doing with an USB drive.
If both drives in the array were identical, the healthy one has now, statistically, a high chance of failing.

AFAIK you can rebuild and extend a 1TB mirror array into, say, a 2TB mirror array using qnap's OS. However, rebuilding is a prolonged stress period for the HDDs, and there is a small possibility for failure of the 1TB healthy drive during the operation.

I would take a full copy on the USB drive, then buy 2 new drives, create an empty array and fill it from the USB drive.
It will take time, but you'll still have the original 1TB mirror in its current state in case something goes wrong.

HTH

Good advice. Take the opportunity to increase capacity with 2 x 2 Tb at the same time.


Sent from my iPhone using Tapatalk

florca
2017-09-04, 16:56
which server do you suggest me? banana pi?
Hi - I've been trying out an Odroid HC1 as a replacement for my Pi2B / Raspbian Stretch LMS+Local Player and so far the results look pretty impressive. Only just available, it's based on the Odroid XU4 but adapted as a headless micro-server, with no display output or GPIO and at a lower overall cost than the XU4 + a USB/SATA adaptor. In truth the P12B is also working well, but I wanted something that would also reliably serve HD video content to Kodi clients and the HC1's combination of built-in, well regarded USB3/UAS SATA bridge, (real) GigE and a chunky heatsink / 2.5" Drive mount looks like it will handle significantly higher throughput.
After an evening mired in Perl dependency hell with both the Hardkernel and Armbian Ubuntu 16.04 Xenial images I now have a fully working system based on Armbian Jessie running the latest 7.9.1 ARM LMS nightly. I'll do a full writeup once everything is fully up and running and I've migrated the full library, but so far I'm pretty impressed. Definitely more money than a Pi, but far less than a "real" NAS or x86 Server and (to me at any rate) rather more interesting.

More details here: http://www.hardkernel.com/main/products/prdt_info.php?g_code=G150229074080

Bought in the UK from here: https://www.liymo.com/index.php?_route_=mc-odroid&product_id=817

They're apparently planning an "HC2" version for 3.5" drives (with 12V Power) for release in November, but was too impatient to wait...

Phil

drmatt
2017-09-05, 00:20
Everyone has their right price/performance compromise. As the price creeps up you're heading towards Intel NUC territory and genuine hardware x86 processors. Hell, you can pick up a Celeron based HP microserver with four 6gb sata 3.5" drive bays, two gig-e ports and a bunch of USB3 for 120. No arm server is going to beat that for function or performance or, critical for a lot of people, ease of integration.


Transcoded from Matt's brain by Tapatalk

johnbeverley
2017-09-05, 03:10
I've been using Synctoy to synchronise music files from my Desktop PC to the USB HDD attached to my LMS Server. I was using LMS on Max2Play and it worked out-of-the-box.

I've just started using LMS on PiCorePlayer and have set up SAMBA which gives me visibility of the files on the network. But, when I run Synctoy although it properly identifies any changes it cannot commit them to the LMS USB HDD.

I tried changing file attributes using Windows. Unsuccesful.

I tried changing Create File Mode to 666 (from 664). Unsuccessful.

Any help appreciated.

d6jg
2017-09-05, 03:20
I've been using Synctoy to synchronise music files from my Desktop PC to the USB HDD attached to my LMS Server. I was using LMS on Max2Play and it worked out-of-the-box.

I've just started using LMS on PiCorePlayer and have set up SAMBA which gives me visibility of the files on the network. But, when I run Synctoy although it properly identifies any changes it cannot commit them to the LMS USB HDD.

I tried changing file attributes using Windows. Unsuccesful.

I tried changing Create File Mode to 666 (from 664). Unsuccessful.

Any help appreciated.

Can you write to the Samba share on the Pi from Windows manually ?

johnbeverley
2017-09-05, 05:16
Can you write to the Samba share on the Pi from Windows manually ?

Yes

paul-
2017-09-05, 06:38
I've not tried synctoy, but I would suspect special characters.

Is your USB drive formatted FAT32? Do you have the extra file system support installed? If not install the Extra File system support, then reboot. This will enable UTF-8 encoding on Fat32 devices.