Thank you for your donation!


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


Mounting a M.2 disk in the new Argon M.2 case
#2
If it's a USB interface internally to the case then Moode should automount the filesystem however the NTFS filesystem on the disk might be your problem. Formatting with FAT32 or exFAT will probably work.

Personally I never think there's much sense in formatting a disk with a Windows filesystem if it's to reside on a Linux computer, it's better to format with a native filesystem such as ext4.
If you want to go down this route the most convenient way to see available disks and their filesystems is to use lsblk.
Run lsblk, assuming the partition you've created on /dev/sda shows up as /dev/sda1 you can format this partition as ext4 with...
Code:
sudo mkfs.ext4 /dev/sda1

To have the OS mount the ext4 filesystem at boot time the most reliable method would be to add an entry to the /etc/fstab file.
If the filesystem is indeed /dev/sda1 you'd be best mounting it to /mnt/SDCARD, anything under this path will be picked up by the library scanner.
In fstab this'd look like;
Code:
/dev/sda1    /mnt/SDCARD     ext4     defaults     0 0

You can edit fstab with a text editor such as nano..
Code:
sudo nano /etc/fstab
When finished in nano save is [Ctrl]+[o] and exit is [Ctrl]+[x]
Reboot and you should see /mnt/SDCARD as a mounted filesystem when running df -h.

I think Moode shares this path as a network/smb share (not used this myself) so you should be able to connect to it from your PC and transfer your music library to the M.2 disk's filesystem over the network.
If you don't see such as share on your network you can connect and transfer files using WinSCP, logging in with the same pi user you use with ssh.
Reply


Messages In This Thread
RE: Mounting a M.2 disk in the new Argon M.2 case - by vinnn - 09-15-2021, 08:09 PM

Forum Jump: