Thank you for your donation!


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


Problem: Cannot set up USB hard drives
#11
(02-17-2020, 03:40 PM)Cymbal Monkey Wrote: @TheOldPresbyope

I updated to the latest version of Moode and ran the commands. This is what it spat out. I don't really know what I'm looking at as far as the first command is concerned, but it clearly sees the hard drive, which contains both a backup of my laptop and a partition called archive, which contains the music I would like to access in \archive\music. I'm not quite sure where I go from here though.

Code:
pi@moode:~ $ sudo blkid
ls -l /media                                                                                                    
/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/mmcblk0: PTUUID="6c586e13" PTTYPE="dos"                                                                    
pi@moode:~ $  ls -l /media
total 129                                                                                                        
drwxrwxrwx 1 root root 131072 Dec 31  1969 Archive
drwxr-xr-x 2 root root    512 Dec 31  1969 EFI

I'm perplexed that blkid didn't pick up your hard drive partitions. It shows only the uSD card (/dev/mmcblk0...).

What do you get with a mount command?

For example, on the same a different player than I mentioned before, this one with both a USB hard drive and a USB thumb drive attached,
Code:
pi@moodeLR:~ $ mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime)
...bunch of stuff deleted...
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda1 on /media/MUSIC type vfat (rw,nosuid,nodev,noexec,noatime,nodiratime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks)
...
/dev/sdb1 on /media/CorePlus type vfat (rw,nosuid,nodev,noexec,noatime,nodiratime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks)
...

I would expect your player also to show some /dev/sd... devices in both the mount and the blkid output.

The permissions on your /media/Archive give everyone permission to read and write its contents. That's not the default way moOde mounts drives. Did you create or manipulate this subdirectory yourself?

Can you recursively list its contents from the command line using ls -R?

Again, using my example player and asking for just the first 40 lines of output
Code:
pi@moodeLR:/media $ ls -lR /media/MUSIC|head -40
/media/MUSIC:
total 576
drwxr-xr-x 10 root root 32768 Nov  5 08:46 AnadyomeneRecords
drwxr-xr-x  3 root root 32768 Sep  1 10:00 BLUES
drwxr-xr-x  2 root root 32768 Aug 27 11:40 cdrips
drwxr-xr-x 70 root root 32768 Sep 11 12:31 CLASSICAL
drwxr-xr-x  4 root root 32768 Sep  1 12:58 FOLK
drwxr-xr-x  7 root root 32768 Sep  1 08:58 JAZZ
drwxr-xr-x  2 root root 32768 Sep 14 18:31 M3Us
drwxr-xr-x  5 root root 32768 Sep  1 10:00 MISC
drwxr-xr-x  2 root root 32768 Aug 21 12:46 MOVIE
drwxr-xr-x  2 root root 32768 Aug 21 12:45 MUSICAL
drwxr-xr-x  3 root root 32768 Sep 11 12:31 OPERA
drwxr-xr-x 20 root root 32768 Sep  1 11:01 ROCK
drwxr-xr-x  4 root root 32768 Sep  1 10:16 SOUL
drwxr-xr-x  3 root root 32768 Oct 16 10:07 test
drwxr-xr-x  2 root root 32768 Dec  3 17:09 TestTones
drwxr-xr-x  7 root root 32768 Nov  4 11:13 TestVinnnTracks
drwxr-xr-x  2 root root 32768 Aug 21 12:45 WORLD
drwxr-xr-x  4 root root 32768 Sep  8 07:35 YouTube

/media/MUSIC/AnadyomeneRecords:
total 256
drwxr-xr-x 2 root root 32768 Nov  5 08:37 Agnes_de_Venice_-_Christos_Anesti_Mar2013
drwxr-xr-x 2 root root 32768 Nov  5 08:39 BM_-_Anastenazontas_ston_Theo_-_2014
drwxr-xr-x 2 root root 32768 Nov  4 13:41 BM_-_Atlantis_-_24bit_96kHz_-_2ndEdition
drwxr-xr-x 2 root root 32768 Nov  5 08:37 BRUNETTE_MODELS_-_Autarky_-_2010
drwxr-xr-x 2 root root 32768 Nov  5 08:48 BRUNETTE_MODELS_-_Impressions_of_whispers_-_2000
drwxr-xr-x 2 root root 32768 Nov  4 21:03 BRUNETTE_MODELS_-_Last_Poem_-_2008
drwxr-xr-x 2 root root 32768 Nov  5 08:47 BRUNETTE_MODELS_-_Live_Gorlice_-_The_4th_Album_-_2004
drwxr-xr-x 2 root root 32768 Nov  5 08:38 BRUNETTE_MODELS_-_Parousia_-_Nov2012

/media/MUSIC/AnadyomeneRecords/Agnes_de_Venice_-_Christos_Anesti_Mar2013:
total 123872
-rw-r--r-- 1 root root 121100690 Mar 30  2013 Agnes_de_Venice_-_Christos_Anesti_Mar2013_24bit_96kHz.flac
-rw-r--r-- 1 root root   1014854 Mar 30  2013 Christos_Anesti_-_Cover_-_Mar2013.jpg
-rw-r--r-- 1 root root   1014854 Nov  4 13:39 cover.jpg
-rw-r--r-- 1 root root   3685790 Mar 30  2013 Read_me.pdf

/media/MUSIC/AnadyomeneRecords/BM_-_Anastenazontas_ston_Theo_-_2014:

You should include enough lines to show the presence of actual music files---.mp3, .flac, whatever.

Have you tried copying a few of your music files to a USB thumb drive to see if your moOde player can automount it and MPD can find the 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, 04:52 PM

Forum Jump: