PDA

View Full Version : Is it OK to mount root of new usb HDD to pCP?



moletteuk
2018-09-25, 07:37
I'm setting up pCP on a Rpi3B+ as LMS server and I would like to attach a USB HDD to it to store music for LMS and also other files not related to LMS just for storage and available via samba share.

The HDD is an old one but I have wiped it and formatted it to ext4 for speed of samba share.

I've got pCP installed and working and now I'm following the instructions to add the HDD and set up samba.

I've got it working but I'm not sure about the mount points and permissions.

I want to mount and share the whole drive to pcp.

I have set it up like this with mount point to /mnt/root (with write pemissions clicked on) and samba share to /mnt/root and directed the LMS cache to the HDD which has created a slimserver directory:
https://i.postimg.cc/VNZHdpLq/pcp1.jpg (https://postimg.cc/SX8GPZ9R)

The samba share is working fine with the tc login.

Now, when I go to LMS gui to set up the mount point for the LMS music files, I am seeing root, sda and sda1 like this:
https://i.postimg.cc/1XQ0tr60/pcp2.jpg (https://postimg.cc/cgFtkYF6)

Is this alright, is it OK to have my music and other storage files on root, or do I need to get rid of the root mount point and try and set it to sda or sda1?

Thanks. Please note I'm not very familiar with linux mount points, permissions etc.

kidstypike
2018-09-25, 09:19
I'm setting up pCP on a Rpi3B+ as LMS server and I would like to attach a USB HDD to it to store music for LMS and also other files not related to LMS just for storage and available via samba share.

The HDD is an old one but I have wiped it and formatted it to ext4 for speed of samba share.

I've got pCP installed and working and now I'm following the instructions to add the HDD and set up samba.

I've got it working but I'm not sure about the mount points and permissions.

I want to mount and share the whole drive to pcp.

I have set it up like this with mount point to /mnt/root (with write pemissions clicked on) and samba share to /mnt/root and directed the LMS cache to the HDD which has created a slimserver directory:
https://i.postimg.cc/VNZHdpLq/pcp1.jpg (https://postimg.cc/SX8GPZ9R)

The samba share is working fine with the tc login.

Now, when I go to LMS gui to set up the mount point for the LMS music files, I am seeing root, sda and sda1 like this:
https://i.postimg.cc/1XQ0tr60/pcp2.jpg (https://postimg.cc/cgFtkYF6)

Is this alright, is it OK to have my music and other storage files on root, or do I need to get rid of the root mount point and try and set it to sda or sda1?

Thanks. Please note I'm not very familiar with linux mount points, permissions etc.


Yes, that all seems fine. In this case "root" is just a name you've given to the share, you could call it anything you like, (I would suggest Picore1 to avoid confusion) you would still see the root of your HDD.

Here's mine below, I can write to the drive, I've just copied the track "Gypsy Lady" to it as an example.

25707

25708

25709

moletteuk
2018-09-25, 09:41
Great, thanks.

I've been transferring some files to the HDD via the samba share, pcp is RP3B+ connected via ethernet, wifi laptop is v close to plusnet Hub One router, and the write speeds are about 2MB/s is that to be expected?

kidstypike
2018-09-25, 09:53
Great, thanks.

I've been transferring some files to the HDD via the samba share, pcp is RP3B+ connected via ethernet, wifi laptop is v close to plusnet Hub One router, and the write speeds are about 2MB/s is that to be expected?

I don't know, I don't have a HDD attached, just a USB stick I use for the cache and playlist folder. I've just copied a folder full of flac files across, and got average 10MB/s but that's from a wired computer. Maybe someone with a similar setup as yours can answer your question.

slartibartfast
2018-09-25, 13:00
Great, thanks.

I've been transferring some files to the HDD via the samba share, pcp is RP3B+ connected via ethernet, wifi laptop is v close to plusnet Hub One router, and the write speeds are about 2MB/s is that to be expected?

I get around 5MB/s (I think) using freefilesync from a WiFi laptop with a HDD connected to a USB2 port to a HDD connected to a wired Pi.

Sent from my SM-G900F using Tapatalk

Eyerex
2018-09-26, 04:50
I use Root with a USB drive Seagate Slim attracted to the Pi without any problems as for speeds my PC is downstairs connected to router WRT1900ACS running DD-WRT via WiFi and Pi is upstairs also connected via WiFi and get speeds of 11Mb which is about the max a Pi can do

25712

moletteuk
2018-09-26, 10:09
OK, thank you.

moletteuk
2018-09-27, 09:43
I turns out it was the wifi on the laptop slowing down the transfer speed, I'm getting about 10MB/s if I connect both devices with ethernet, which is great.

Thanks very much to the piCoreplayer people. I've got it all up and running with no trouble at all, LMS and file server in one easy to use and cheap box is brilliant :D