Thank you for your donation!


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


Solved: Which file system for usb drive?
#16
(05-29-2019, 09:02 PM)jmgtierrez Wrote:
(05-29-2019, 04:31 PM)TheOldPresbyope Wrote: @jmgtierrez

Here's the blkid output for my example drive

Code:
pi@moodeT52:/var/www/css $ 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/mmcblk0: PTUUID="7ee80803" PTTYPE="dos"
/dev/sda1: LABEL="My Passport" UUID="767674FA7674BC85" TYPE="ntfs" PARTLABEL="My Passport" PARTUUID="f33b46f8-85e6-4274-b5c4-1055c88554fd"

As you can see, the report for my music partition (/dev/sda1) is the same as the one for your partition (/dev/sda2 in your case). I would expect them both to mount.

I would also expect to find some telltale lines in /var/log/syslog reporting a failure to mount the partition but I don't have an ready example at hand to use as illustration. (To return to my power fetish, I wonder if you see any reports in syslog of under voltage detection.)

What happens if you try to mount the partition manually? Something like parts three and four in the following

Code:
First - show my partition was already mounted in moOde
pi@moodeT52:~ $ mount|grep sda
/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)

Second, unmount it so I can try mounting it manually
pi@moodeT52:~ $ sudo umount /dev/sda1
pi@moodeT52:~ $ mount | grep sda

Third, make a temporary mount point
pi@moodeT52:~ $ sudo mkdir /tmp/mydrive

Fourth, as a test, mount the partition manually (you would use /dev/sda2)
pi@moodeT52:~ $ sudo mount /dev/sda1 /tmp/mydrive
pi@moodeT52:~ $ mount|grep sda
/dev/sda1 on /tmp/mydrive type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

As you can see, the particulars are a bit different because of my minimalist mount command but the partition did mount successfully.

If this doesn't work, then your player can't mount the partition either. This is basic Raspbian (Linux), not specific to moOde.

If it does work, then your player should have mounted the partition and my money is still on marginal power. When a hard drive is spinning up the inrush current can be much higher than when it is at speed. This might be interfering with moOde startup.

Regards,
Kent

Hi Kent, today I had no time to make the checkings, I will do as soon as possible 

Thanks a lot 

Best regards

Hi Kent, I think the problem is solved

I followed your actions to manually mount the hard drive and I got a error in which I realized the problem was in the hard drive itself. Then I run chkdsk /F in a windows computer, the hard drive was fixed, I reconnected the hard drive to raspberry... and now, Moode is already scanning the the hard drive content

Thank you very much for your help

Kind regards
Reply


Messages In This Thread
Which file system for usb drive? - by Giuanniello - 01-11-2019, 06:37 PM
RE: Which file system for usb drive? - by jmgtierrez - 05-31-2019, 01:46 PM

Forum Jump: