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
  Hi-Res FLAC playback issue on Squeezelite hjs0512 3 132 11-Dec-2023, 04:08 AM
Last Post: uglymusic
  [SOLVEDPermissions issue on 128GB SSD internal drive patricia1066 19 2,647 29-Mar-2022, 07:58 AM
Last Post: agent_kith
  Issue: RoonBridge | Pi | 1.2.0 Beecham 4 901 21-Aug-2021, 03:02 PM
Last Post: agent_kith
  [split] Trouble Mounting CIFS share in 1.2.0 (Gear Isolation) Steely 4 1,034 23-May-2021, 06:22 PM
Last Post: Bromf
  [SOLVEDnew install issue Eso 2 1,018 23-Jan-2021, 03:55 PM
Last Post: Eso



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
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 605
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 147
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 69
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 52
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 195
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 41
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 4131
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 69
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 364
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4123

[-]
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.