Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Cannot set up USB hard drives
#9
@Cymbal Monkey

Let me expand on Tim's answer.

Does your partition contain music files? If not, it won't show up.

If it does, then:

When you SSH into your moOde player, what do you get when you execute the following commands

1. sudo blkid

2. ls -l /media

Example: 

Here I have a moOde 6.4.2 player with a USB Thumb Drive plugged in. 

The drive has three partitions. The first is a  FAT32 partition with label "LEXAR8GB1" [left over from a previous test], the second is an ext4 partition with no label, the third is an ext4 partition with label "part3". It's been mounted by Raspbian as /dev/sda1, /dev/sda2, /dev/sda3. 

The rest of the lines here relate to the uSD card.

Code:
pi@moodevu:~ $ sudo blkid
/dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="5203-DB74" TYPE="vfat" PARTUUID="6c586e13-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="2ab3f8e1-7dc6-43f5-b0db-dd5759d51d4e" TYPE="ext4" PARTUUID="6c586e13-02"
/dev/sda1: LABEL="LEXAR8GB1" UUID="AF20-72AD" TYPE="vfat" PARTUUID="c7f80f7d-01"
/dev/sda2: UUID="6955e457-451d-45f8-bb82-ae7f4c2a463f" TYPE="ext4" PARTUUID="c7f80f7d-02"
/dev/sda3: LABEL="part3" UUID="9d574a65-3f0b-4b8f-9eb0-7a0a5fce1f5b" TYPE="ext4" PARTUUID="c7f80f7d-03"
/dev/mmcblk0: PTUUID="6c586e13" PTTYPE="dos"

Code:
pi@moodevu:~ $ ls -l /media
total 12
drwxr-xr-x 3 pi   pi   4096 Feb 16 18:50 6955e457-451d-45f8-bb82-ae7f4c2a463f
drwxr-xr-x 2 root root 4096 Dec 31  1969 LEXAR8GB1
drwxr-xr-x 3 pi   pi   4096 Feb 16 18:50 part3

Since I didn't label the second partition, Raspbian has used the UUID (6955e457...).

The first and second partitions contain music files. The third does not.

When I update MPD, the first two partitions show up in the directory panel, the third does not (because MPD found no music files).

Regards,
Kent
Reply


Messages In This Thread
Cannot set up USB hard drives - by Cymbal Monkey - 02-16-2020, 09:18 PM
RE: Cannot set up USB hard drives - by vinnn - 02-16-2020, 09:56 PM
RE: Cannot set up USB hard drives - by DRONE7 - 02-16-2020, 11:14 PM
RE: Cannot set up USB hard drives - by Tim Curtis - 02-17-2020, 12:02 AM
RE: Cannot set up USB hard drives - by TheOldPresbyope - 02-17-2020, 12:15 AM

Forum Jump: