Which file system for usb drive? - Giuanniello - 01-11-2019
I tried to mount a pen drive on the Pi (ver. 3B+ running Moode 4.4), I have a 32GB one formatted in MacOS file system and a smaller one, 2GB, in FAT32, none got read, I reformatted the smaller one into EXT4 but still doesn't appear through Moode sources, what might the issue be?
Grazie
RE: Which file system for usb drive? - Tim Curtis - 01-11-2019
Run UPDATE MPD database from the Sources screen after plugging in the drive.
moOde supports the following file system formats.
vfat (fat32), ntfs, exfat, hfsplus, ext2, ext3 ext4
If after updating mpd database no song files appear, examine the MPD log for errors
cat /var/log/mpd/log
RE: Which file system for usb drive? - Giuanniello - 01-11-2019
(01-11-2019, 07:06 PM)Tim Curtis Wrote: Run UPDATE MPD database from the Sources screen after plugging in the drive.
moOde supports the following file system formats.
vfat (fat32), ntfs, exfat, hfsplus, ext2, ext3 ext4
If after updating mpd database no song files appear, examine the MPD log for errors
cat /var/log/mpd/log
It worked like a charm thank you so much!!!
RE: Which file system for usb drive? - Tim Curtis - 01-12-2019
When u get a moment, mark you original post as [SOLVED] :-)
RE: Which file system for usb drive? - jmgtierrez - 05-28-2019
(01-12-2019, 12:36 AM)Tim Curtis Wrote: When u get a moment, mark you original post as [SOLVED] :-)
Hello, first of all, I would like to thank the work done with Moode Audio; I think it's a very interesting product, especially for audiophiles
I have installed on a Raspberry Pi B+ the last version, this is Moode v5.2; all is working well except the USB 2TB NTFS hard disk where I saved my music. It seems the system does not recognize the USB hard drive
Probably I am making an error, but I do not know how to address it; can you help me?
Thanks in advance
RE: Which file system for usb drive? - TheOldPresbyope - 05-28-2019
@jmgtierrez
What evidence do you have that your drive isn't recognized? Did you remember to run an MPD Update (from the Library panel) after adding the drive? It won't show up in the other panels until you do.
Regards,
Kent
RE: Which file system for usb drive? - jmgtierrez - 05-28-2019
(05-28-2019, 03:00 PM)TheOldPresbyope Wrote: @jmgtierrez
What evidence do you have that your drive isn't recognized? Did you remember to run an MPD Update (from the Library panel) after adding the drive? It won't show up in the other panels until you do.
Regards,
Kent
Hi Kent, thank you for replaying
Yes I did, I went to Configure -> Library -> MPD Database -> MPD Update
After this the USB folder appeared. But if I enter into the USB folder, there is nothing
So what can I do?
Thanks again
RE: Which file system for usb drive? - TheOldPresbyope - 05-28-2019
@jmgtierrez
Hmm.
So here are some typical checks you can do from the command line (either via the built-in SSH Web Terminal or via ssh from another computer)
The following examples are for a 1Tb Western Digital "My Passport" USB drive attached to an RPi3B+ running moOde r5.2.
1. does the drive show up in the output of lsusb? In my case
Code: pi@moodeT52:~ $ lsusb
Bus 001 Device 005: ID 1058:25e1 Western Digital Technologies, Inc. <-- my USB drive
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
2. did the drive get mounted in /media? In my case
Code: pi@moodeT52:~ $ mount
...
/dev/sda1 on /media/My Passport type fuseblk (rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks)
...
and also
pi@moodeT52:~ $ ls /media
My Passport <-- my USB drive
3. did MPD report any errors in updating the database? In my case (just the tail of the log)
Code: pi@moodeT52:~ $ tail /var/log/mpd/log
May 28 12:30 : update: added USB/My Passport/Music/World/Inti-Illimani - John Williams - Paco Peña/Fragments Of A Dream/05 Inti-Illimani - John Williams - Paco Peña - El Carnaval.flac
May 28 12:30 : update: added USB/My Passport/Music/World/Inti-Illimani - John Williams - Paco Peña/Fragments Of A Dream/06 Inti-Illimani - John Williams - Paco Peña - Fragmentos De Un Sueno.flac
May 28 12:30 : update: added USB/My Passport/Music/World/Inti-Illimani - John Williams - Paco Peña/Fragments Of A Dream/07 Inti-Illimani - John Williams - Paco Peña - La Ciudad.flac
May 28 12:30 : update: added USB/My Passport/Music/World/Inti-Illimani - John Williams - Paco Peña/Fragments Of A Dream/08 Inti-Illimani - John Williams - Paco Peña - El Mercado Testaccio.flac
May 28 12:30 : update: added USB/My Passport/Music/World/Inti-Illimani - John Williams - Paco Peña/Fragments Of A Dream/09 Inti-Illimani - John Williams - Paco Peña - La Calahorra.flac
May 28 12:30 : update: added USB/My Passport/Music/World/Inti-Illimani - John Williams - Paco Peña/Fragments Of A Dream/10 Inti-Illimani - John Williams - Paco Peña - En Libertad (Sevillanas).flac
May 28 12:30 : update: added USB/My Passport/Music/World/Inti-Illimani - John Williams - Paco Peña/Fragments Of A Dream/11 Inti-Illimani - John Williams - Paco Peña - Danza.flac
May 28 12:30 : update: added USB/My Passport/Music/World/Ravi Shankar/In London/01 Ravi Shankar - Raga Hamsadhwani.flac
May 28 12:30 : update: added USB/My Passport/Music/World/Ravi Shankar/In London/02 Ravi Shankar - Dhun Kafi.flac
May 28 12:30 : update: added USB/My Passport/Music/World/Ravi Shankar/In London/03 Ravi Shankar - Raga Ramkali.flac
What output do you see?
Regards,
Kent
RE: Which file system for usb drive? - TheOldPresbyope - 05-28-2019
@jmgtierrez
If you don't see anything in step 2, then check /var/log/syslog
Buried in this log you should see a collection of lines which look something like
Code: May 28 12:27:08 moodeT52 kernel: [ 2657.010787] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
May 28 12:27:08 moodeT52 kernel: [ 2657.221714] usb 1-1.3: New USB device found, idVendor=1058, idProduct=25e1, bcdDevice=10.15
May 28 12:27:08 moodeT52 kernel: [ 2657.221730] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 28 12:27:08 moodeT52 kernel: [ 2657.221740] usb 1-1.3: Product: My Passport 25E1
May 28 12:27:08 moodeT52 kernel: [ 2657.221749] usb 1-1.3: Manufacturer: Western Digital
May 28 12:27:08 moodeT52 kernel: [ 2657.221758] usb 1-1.3: SerialNumber: 575833314131373354543439
May 28 12:27:08 moodeT52 kernel: [ 2657.222582] usb-storage 1-1.3:1.0: USB Mass Storage device detected
May 28 12:27:08 moodeT52 kernel: [ 2657.229633] scsi host0: usb-storage 1-1.3:1.0
May 28 12:27:08 moodeT52 mtp-probe: checking bus 1, device 5: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3"
May 28 12:27:08 moodeT52 mtp-probe: bus: 1, device: 5 was not an MTP device
May 28 12:27:08 moodeT52 kernel: [ 2657.272809] usbcore: registered new interface driver uas
May 28 12:27:09 moodeT52 kernel: [ 2658.231419] scsi 0:0:0:0: Direct-Access WD My Passport 25E1 1015 PQ: 0 ANSI: 6
May 28 12:27:09 moodeT52 kernel: [ 2658.237734] sd 0:0:0:0: [sda] Spinning up disk...
May 28 12:27:09 moodeT52 kernel: [ 2658.239252] scsi 0:0:0:1: Enclosure WD SES Device 1015 PQ: 0 ANSI: 6
May 28 12:27:09 moodeT52 kernel: [ 2658.252634] sd 0:0:0:0: Attached scsi generic sg0 type 0
May 28 12:27:09 moodeT52 kernel: [ 2658.252852] scsi 0:0:0:1: Attached scsi generic sg1 type 13
May 28 12:27:13 moodeT52 kernel: [ 2659.272226] ...
May 28 12:27:13 moodeT52 kernel: [ 2662.230863] Voltage normalised (0x00080008)
May 28 12:27:14 moodeT52 kernel: [ 2662.390841] ..ready
May 28 12:27:14 moodeT52 kernel: [ 2663.431161] sd 0:0:0:0: [sda] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
May 28 12:27:14 moodeT52 kernel: [ 2663.431376] sd 0:0:0:0: [sda] Write Protect is off
May 28 12:27:14 moodeT52 kernel: [ 2663.431382] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
May 28 12:27:14 moodeT52 kernel: [ 2663.431584] sd 0:0:0:0: [sda] No Caching mode page found
May 28 12:27:14 moodeT52 kernel: [ 2663.431589] sd 0:0:0:0: [sda] Assuming drive cache: write through
May 28 12:27:14 moodeT52 kernel: [ 2663.529538] sda: sda1
May 28 12:27:14 moodeT52 kernel: [ 2663.531543] sd 0:0:0:0: [sda] Attached SCSI disk
May 28 12:27:15 moodeT52 kernel: [ 2664.008643] fuse init (API version 7.27)
May 28 12:27:15 moodeT52 systemd[1]: Mounting FUSE Control File System...
May 28 12:27:15 moodeT52 systemd[1]: Mounted FUSE Control File System.
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Version 2016.2.22AR.1 integrated FUSE 28
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Mounted /dev/sda1 (Read-Write, label "My Passport", NTFS 3.1)
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Cmdline options: rw,nodev,nosuid,noexec,noatime,nodiratime,uid=0,gid=0,dmask=0077,fmask=0177,dmask=0022,fmask=0022,uhelper=udisks
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Mount options: rw,nodev,nosuid,noexec,nodiratime,uhelper=udisks,allow_other,nonempty,noatime,default_permissions,fsname=/dev/sda1,blkdev,blksize=4096
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Global ownership and permissions enforced, configuration type 7
And another thought. Is your system adequately powered?
Regards,
Kent
RE: Which file system for usb drive? - jmgtierrez - 05-28-2019
(05-28-2019, 05:12 PM)TheOldPresbyope Wrote: @jmgtierrez
If you don't see anything in step 2, then check /var/log/syslog
Buried in this log you should see a collection of lines which look something like
Code: May 28 12:27:08 moodeT52 kernel: [ 2657.010787] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
May 28 12:27:08 moodeT52 kernel: [ 2657.221714] usb 1-1.3: New USB device found, idVendor=1058, idProduct=25e1, bcdDevice=10.15
May 28 12:27:08 moodeT52 kernel: [ 2657.221730] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 28 12:27:08 moodeT52 kernel: [ 2657.221740] usb 1-1.3: Product: My Passport 25E1
May 28 12:27:08 moodeT52 kernel: [ 2657.221749] usb 1-1.3: Manufacturer: Western Digital
May 28 12:27:08 moodeT52 kernel: [ 2657.221758] usb 1-1.3: SerialNumber: 575833314131373354543439
May 28 12:27:08 moodeT52 kernel: [ 2657.222582] usb-storage 1-1.3:1.0: USB Mass Storage device detected
May 28 12:27:08 moodeT52 kernel: [ 2657.229633] scsi host0: usb-storage 1-1.3:1.0
May 28 12:27:08 moodeT52 mtp-probe: checking bus 1, device 5: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3"
May 28 12:27:08 moodeT52 mtp-probe: bus: 1, device: 5 was not an MTP device
May 28 12:27:08 moodeT52 kernel: [ 2657.272809] usbcore: registered new interface driver uas
May 28 12:27:09 moodeT52 kernel: [ 2658.231419] scsi 0:0:0:0: Direct-Access WD My Passport 25E1 1015 PQ: 0 ANSI: 6
May 28 12:27:09 moodeT52 kernel: [ 2658.237734] sd 0:0:0:0: [sda] Spinning up disk...
May 28 12:27:09 moodeT52 kernel: [ 2658.239252] scsi 0:0:0:1: Enclosure WD SES Device 1015 PQ: 0 ANSI: 6
May 28 12:27:09 moodeT52 kernel: [ 2658.252634] sd 0:0:0:0: Attached scsi generic sg0 type 0
May 28 12:27:09 moodeT52 kernel: [ 2658.252852] scsi 0:0:0:1: Attached scsi generic sg1 type 13
May 28 12:27:13 moodeT52 kernel: [ 2659.272226] ...
May 28 12:27:13 moodeT52 kernel: [ 2662.230863] Voltage normalised (0x00080008)
May 28 12:27:14 moodeT52 kernel: [ 2662.390841] ..ready
May 28 12:27:14 moodeT52 kernel: [ 2663.431161] sd 0:0:0:0: [sda] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
May 28 12:27:14 moodeT52 kernel: [ 2663.431376] sd 0:0:0:0: [sda] Write Protect is off
May 28 12:27:14 moodeT52 kernel: [ 2663.431382] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
May 28 12:27:14 moodeT52 kernel: [ 2663.431584] sd 0:0:0:0: [sda] No Caching mode page found
May 28 12:27:14 moodeT52 kernel: [ 2663.431589] sd 0:0:0:0: [sda] Assuming drive cache: write through
May 28 12:27:14 moodeT52 kernel: [ 2663.529538] sda: sda1
May 28 12:27:14 moodeT52 kernel: [ 2663.531543] sd 0:0:0:0: [sda] Attached SCSI disk
May 28 12:27:15 moodeT52 kernel: [ 2664.008643] fuse init (API version 7.27)
May 28 12:27:15 moodeT52 systemd[1]: Mounting FUSE Control File System...
May 28 12:27:15 moodeT52 systemd[1]: Mounted FUSE Control File System.
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Version 2016.2.22AR.1 integrated FUSE 28
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Mounted /dev/sda1 (Read-Write, label "My Passport", NTFS 3.1)
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Cmdline options: rw,nodev,nosuid,noexec,noatime,nodiratime,uid=0,gid=0,dmask=0077,fmask=0177,dmask=0022,fmask=0022,uhelper=udisks
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Mount options: rw,nodev,nosuid,noexec,nodiratime,uhelper=udisks,allow_other,nonempty,noatime,default_permissions,fsname=/dev/sda1,blkdev,blksize=4096
May 28 12:27:16 moodeT52 ntfs-3g[4931]: Global ownership and permissions enforced, configuration type 7
And another thought. Is your system adequately powered?
Regards,
Kent Hi Kent, this what I found
pi@Moode3C:~ $ sudo lsusb
Bus 001 Device 005: ID 0bc2:61b5 Seagate RSS LLC
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
It seems the USB hard drive in connected to the USB hub
My partition is /dev/sda2: LABEL="Maxtor1"
pi@Moode3C:~ $ sudo blkid
/dev/mmcblk0p1: LABEL="boot" UUID="9304-D9FD" TYPE="vfat" PARTUUID="7ee80803-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="29075e46-f0d4-44e2-a9e7-55ac02d6e6cc" TYPE="ext4" PARTUUID="7ee80803-02"
/dev/sda2: LABEL="Maxtor1" UUID="808AD3028AD2F41E" TYPE="ntfs" PARTUUID="34cdf4c2-2be1-41e6-a6ff-12a45653fc2f"
/dev/mmcblk0: PTUUID="7ee80803" PTTYPE="dos"
/dev/sda1: PARTLABEL="EFI System Partition" PARTUUID="d5530532-0af7-4c83-9640-fd880320bc17"
pi@Moode3C:~ $ mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=469544k,nr_inodes=117386,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd
cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,error
s=remount-ro)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94828k,mode=700,uid=1000,gid=1000)
I do not see /dev/sda2 in mount output
pi@Moode3C:~ $ tail /var/log/mpd/log
May 28 17:12 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
May 28 17:13 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
Just only two lines
Regarding with /var/log/syslog, I executed tail -100 /var/log/syslog and I don't find any reference to ntfs-3g in the output
Related to the hard drive is properly powered, it is powered directely by the raspberry pi
Thanks
Regards
|