Issue seeing full capacity when mounting NAS in OSX El Capitan
#1
I have a NAS running SnakeoilOS 1.1.3 that has three drives configured thusly:
[Image: Nd0efez.png]

The problem is when I mount the NAS to my mac it only recognizes the 20GB Boot/OS partition, which obviously causes a complaint when I try to drop my Music folder into it. I'm mounting using

"cifs://<NAS_IP_Address>"

which brings up a dialog box asking for a username/password to log in as Registered User, or no user/pw to log in as guest. It auto-fills the username box with a name I'm not using, and no password works. Even the user/pw I specified when installing Snakeoil doesn't work. So I choose "Guest" and proceed.
It next brings up a window asking me to choose "Music" or "Playlists". I choose "Music". It then opens a window showing this:

[Image: uX7h7xg.png]

(Ignore the file "Unknown". That's a Beth Orton album I was using as a test.) No matter what directory I choose it only recognizes 17GB available out of 20. Even though it sees sda5, sdb1, and sdc1, it doesn't see the ~1.5TB of available drive space.

I received this suggestion from you via another user on another forum:

"That is a known issue with how samba calculates disk space. e.g. if the mount is like so:

sda1:/media/music
sdb1:/media/music/disk_1
sdc1:/media/music/disk_2

When you look at the free space of /media/music (and any folders under it, e.g. disk_1 or disk_2). It will be the freespace of sda1 (and not sda1+sdb1+sdc1).
The only workaround is to mount sdb1 as /media/music, copy the files over, then mount sdbc1 as /media/music, and copy the files over. Then when everything is done, re-mount it."

First of all, is there a way to change the mounts/partitions without reinstalling Snakeoil? The Ubiquity software contained in the install is the only way I can see to do it. So I reinstalled Snakeoil with the following configuration:
[Image: UjHwdzN.png]

and tried again. It still only sees the space available under "/" while ignoring the rest. I tried mounting 

"cifs://<NAS_IP_Address>/media/music "

it asks for a password for the same non-existent username as before, I select guest, it thinks for a moment, and then I get an error message, "The share does not exist on the server. Please check the share name, and then try again."

shrug

Any ideas?
Reply

#2
(11-Mar-2019, 05:39 AM)markiteight Wrote: First of all, is there a way to change the mounts/partitions without reinstalling Snakeoil? The Ubiquity software contained in the install is the only way I can see to do it. So I reinstalled Snakeoil with the following configuration:
[Image: UjHwdzN.png]
Yes, you can SSH into the Snakeoil PC, and modify this file /etc/fstab to customise your partitions the way you like it.

However, right now, all your music are supposed to be under /media/music, and all your playlists are under /media/playlists.

If you have multiple disks, you should consider setting up a LVM, this will "join" all your SSD/HDD into one big volume that you can mount under /media/music.

Right now you can only do this via the SSH. Doing the same thing via a few clicks will be added into the Snakeoil GUI WebApp eventually.

(11-Mar-2019, 05:39 AM)markiteight Wrote: and tried again. It still only sees the space available under "/" while ignoring the rest. I tried mounting 

"cifs://<NAS_IP_Address>/media/music "

it asks for a password for the same non-existent username as before, I select guest, it thinks for a moment, and then I get an error message, "The share does not exist on the server. Please check the share name, and then try again."

shrug

Any ideas?
Snakeoil OS uses SMBv1, which is a very old version of Windows sharing. I suspect this is the reason why you're having problems with mounting the share. Can you upgrade to this Filesystems kernel here in this thread and see if it works?

I am unfamiliar with how MacOS handle UNC, in Windows this share path should be "//<NAS_IP_Address>/music", so try cifs://snakeoil_ip/music. Windows share only share the name of the folder, not the full path from root. Thus the music share would be //<NAS_IP_Address>/music, and the playlists share would be //<NAS_IP_Address>/playlists.

For both shares, login in as anonymous (i.e. no user and no password). Let me know how it goes.
Snakeoil Operating System - Music, your way!
Reply

#3
(11-Mar-2019, 08:04 AM)agent_kith Wrote: If you have multiple disks, you should consider setting up a LVM, this will "join" all your SSD/HDD into one big volume that you can mount under /media/music.

Thank you for that link. I remember seeing LVM as an option while installing Snakeoil but, knowing nothing about it, I left it blank. Based on your recommendation I've enabled it and also remounted the drives as such:
[Image: 8hIWnIl.png]

So now when I mount the NAS to my mac it sees the space available under /media/music, which is now the entirety of /dev/sdb1. Based on this result it looks like you're correct about building a single volume that I can mount under /media/music. Problem is I know not how to go about that! My knowledge of Linux is effectively zero...I'm not even sure I understand what you mean with reference to SSH, let alone manipulating things successfully via the command line.

But for now 600GB is enough to let me get a taste of what your software can do. 

I started this response 3 albums ago.  Smile
 
(11-Mar-2019, 08:04 AM)agent_kith Wrote: Snakeoil OS uses SMBv1, which is a very old version of Windows sharing. I suspect this is the reason why you're having problems with mounting the share. Can you upgrade to this Filesystems kernel here in this thread and see if it works?
I installed the Filesystems kernel and I was able to mount the NAS to my mac using SMB. Sadly that didn't seem to make a difference. It wasn't until I changed the mount point for one of the drives as above did anything change. Furthermore under the Filesystems kernel the "Audio State" under Music Player would not load, and while my control point (Linn Kazoo) could see music on the NAS it wouldn't play. Switching back to the stock kernel resolved this.
(11-Mar-2019, 08:04 AM)agent_kith Wrote: I am unfamiliar with how MacOS handle UNC, in Windows this share path should be "//<NAS_IP_Address>/music", so try cifs://snakeoil_ip/music. Windows share only share the name of the folder, not the full path from root. Thus the music share would be //<NAS_IP_Address>/music, and the playlists share would be //<NAS_IP_Address>/playlists.

For both shares, login in as anonymous (i.e. no user and no password). Let me know how it goes. 

This merely eliminates the additional step of selecting "Music" or "Playlists" from a dialog box and just mounts directly to one or the other. Nothing else changes.

So I've managed to get it working...for the most part. I came into this project with fairly high expectations and I'm still floored by how good it sounds.

But unfortunately there's still a problem. Songs play one-at-a-time and they won't start without a little "nudge." In other words, I can load an album, hit play, and nothing happens. If I slide the progress slider and arbitrary distance and let go, the music plays fine. I can then drag the slider back to the beginning of the song and it'll play through to the end of the track, give me a split second burst of the next track, then stop. I have to go back in and repeat the trick with the slider for every song. As you might imagine, this is a PITA. What could be causing this?
Reply

#4
(12-Mar-2019, 10:11 AM)markiteight Wrote: So I've managed to get it working...for the most part. I came into this project with fairly high expectations and I'm still floored by how good it sounds.
Reading your comments, i think I still need to work hard on making this page more user friendly. A new UI overhaul with a more logical and intuitive flow should make things easier.

I'd think of the best approach to improve this.

(12-Mar-2019, 10:11 AM)markiteight Wrote: But unfortunately there's still a problem. Songs play one-at-a-time and they won't start without a little "nudge." In other words, I can load an album, hit play, and nothing happens. If I slide the progress slider and arbitrary distance and let go, the music plays fine. I can then drag the slider back to the beginning of the song and it'll play through to the end of the track, give me a split second burst of the next track, then stop. I have to go back in and repeat the trick with the slider for every song. As you might imagine, this is a PITA. What could be causing this? 
Which music software are you using? Perhaps you've set the play mode to "play this song only" or something equivalent?
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Full proces to instal snakeiol 100% works. Lutek 9 349 11-Oct-2024, 02:32 AM
Last Post: audioluthier
  Hi-Res FLAC playback issue on Squeezelite hjs0512 3 369 11-Dec-2023, 04:08 AM
Last Post: uglymusic
  [SOLVEDPermissions issue on 128GB SSD internal drive patricia1066 19 4,523 29-Mar-2022, 07:58 AM
Last Post: agent_kith
  Issue: RoonBridge | Pi | 1.2.0 Beecham 4 1,466 21-Aug-2021, 03:02 PM
Last Post: agent_kith
  [split] Trouble Mounting CIFS share in 1.2.0 (Gear Isolation) Steely 4 1,595 23-May-2021, 06:22 PM
Last Post: Bromf



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5811
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 455
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1686
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 114
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 113
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 349
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 90
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 125
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 225
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 163

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.