-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new UI for monting a NAS volume #97
Comments
hi! |
Yes, I did. 687 folders, 9335 files took a little less than 10 minutes. Approx. half of it is .wav, the rest is .flac. Only the .flac files are tagged. I'm using a C1+ (1.5Ghz 4-core Cortex A5) |
Thanks for all the feedbacks. I think what we need to do:
|
Update
|
That's a great finding! |
volumio/Build@5b91c10 |
When removing an existing, mounted network share, it does not get unmounted. The folder should be removed as well, including running 'mpc update'. |
Careful to UMOUNT the folder before erasing it.... I did it ;-( and lose files the time to stop the command... |
Well, one should use a backup share out of principle, testing with live data is risky at least ;) |
updated first post for transparency |
What if we mount it with no write permission? |
doubt if that changes anything, still think in case you remove a share (likely to be mounted already), that it needs to be unmounted first, then the mount folder removed and then run mpc update to clean the library. More or less opposite of creating a share. |
with filesystem_charset "ISO-8859-1" in mpd.conf, I'm having problem displaying accented characters |
was afraid of that, I think we need further clarification. Would be interesting to know, why UTF-8 was OK for Volumio 1.55 and not for 2.0 (some default OS setting??) |
Locale are missing in v2. When apt-get something it complains. I can' t
|
I guess because no default locale is set... |
I can't confirm that behavior, here it works with e.g. Ali Farka Touré On 22/11/15 20:44, balbuze wrote:
|
I have installed locale (sudo apt-get install locales) and configure it . Until now, no success... I'll try to switch mpd.conf to UTF-8 |
I found another way to get it working without changing mpd.conf In /volumio/app/plugins/system_controller/networkfs/index.js I added iocharset=utf8 by changing line 172 to: mountutil.mount(pointer,mountpoint, { "createDir": true,"fstype": "cifs","fsopts":credentials + ",ro,iocharset=utf8,dir_mode=0777,file_mode=0666"}, function(result) Edit: Obviously there are more places to be corrected if this can be confirmed to work for all. Edit 2: The utf8 issue might need to be taken into account when adding nfs, testing with special characters in folders and filenames. |
Now, it works for me by resetting mpd.conf with UTF-8 and using locale = fr_FR.UTF-8 |
In volumio 1.55, locale is set to en_GB.UTF-8 |
Hmm, I made a new share with special character in folder and filenames, just a small number of files, and deleted the share first when I was testing a different mount option. Only to make sure, that I can compare |
Great solution, which locale do you think we should use then? |
I don't think the locale has any influence on this problem. With the utf8 option in the mount, the filenames should be translated correctly. This works when CONFIG_NLS_UTF8 is set in the kernel. Edit This is the definition of iocharset: So, nls_default seems to be the key, better specify iocharset=utf8 and it will always work. |
So, without further actions, enabling iocharset=utf8 on the mount options does the trick? |
Yes |
Great I'll add it tomorrow... |
Thanks! |
I'm trying to set up NFS mount mechanism, but it fails miserably every time... lol What command do you guys use? |
first you have to install nfs-common |
I do this as well, but miserably fail... |
This is how what works for me: mount -t nfs -o ro,rsize=8192,wsize=8192 192.168.123.250:/volume1/volumio-test /mnt/NAS/nfs-test However, as permissions are granted on the nfs server, this requires proper mapping of users. |
what is the error message ? |
mount.nfs: access denied by server while mounting ... |
yes, that seems to be the problem, you need to have the correct permissions on the server, you can't influence that from the client. You can mount anything, but during mounting the permissions on the mount folder get set to what is allowed from the remote server. |
Can you list the contents of the server's /etc/exports? |
Similar to #104, closing this one |
I tried the latest UI for mounting a NAS volume and have some issues:
[addressed]
- there are 3 fields: ID, NAME and PATH. I noticed you have to put the share name in ID (??) and leave the other 2 empty. Probably the mapping is not correct yet.my share has two top directories, only one of them is being indexed. The 2nd one is called My Music (Gé) (note the special character), on the mounted directory it shows as My Music (G?). MPD won't index unless I rename it to My Music (Ge)Otherwise very happy, very fast compared to V1.55 indexing!!
The text was updated successfully, but these errors were encountered: