SOLVED:mounted shares locally, but see no files /mnt/samba/*
Posted: Sat Apr 26, 2014 9:43 am
Hi,
I've installed the mount shares locally script, and it appears to execute fine, but when I look at /mnt/samba/<share> I see none of the files that are in that share. If I go to the share remotely (via both Mac and PC), all the files in the share are there, and I can watch movies, view the pictures etc. If I look at /var/hda/files/<share>, all the symlinks are there, and looking directly into the greyhole pool /var/hda/files/<drive>/gh/<share> looks good as well. I keep reading everywhere in the forums and the wiki to work on the shares via the local mount, but I'm unable to do so.
/etc/samba/smb.conf and /etc/greyhole.conf match as far as share names and set goes, and greyhole log is not giving any errors. When I check the mount table though, it doesn't show that there are any mount points at /mnt/samba/*. How can I make sure the mount_shares_locally script is executing correctly and mounting them? I'm guessing one of the following lines in the script:
mysql -u root -phda -e "select name from shares" hda_production | grep -v "^name$" | xargs -d "\n" mkdir -p
OR
/sbin/mount.cifs "//127.0.0.1/$d" "$d" -o credentials=/home/${username}/.smb_credentials,uid=${uid},gid=${gid},file_mode=0660,dir_mode=0770,nobrl,hard,_netdev,iocharset=utf8,noserverino,mfsymlinks
is where things are messing up.
Rebooted a couple of times with the same result. Any guidance?
Thanks,
I've installed the mount shares locally script, and it appears to execute fine, but when I look at /mnt/samba/<share> I see none of the files that are in that share. If I go to the share remotely (via both Mac and PC), all the files in the share are there, and I can watch movies, view the pictures etc. If I look at /var/hda/files/<share>, all the symlinks are there, and looking directly into the greyhole pool /var/hda/files/<drive>/gh/<share> looks good as well. I keep reading everywhere in the forums and the wiki to work on the shares via the local mount, but I'm unable to do so.
/etc/samba/smb.conf and /etc/greyhole.conf match as far as share names and set goes, and greyhole log is not giving any errors. When I check the mount table though, it doesn't show that there are any mount points at /mnt/samba/*. How can I make sure the mount_shares_locally script is executing correctly and mounting them? I'm guessing one of the following lines in the script:
mysql -u root -phda -e "select name from shares" hda_production | grep -v "^name$" | xargs -d "\n" mkdir -p
OR
/sbin/mount.cifs "//127.0.0.1/$d" "$d" -o credentials=/home/${username}/.smb_credentials,uid=${uid},gid=${gid},file_mode=0660,dir_mode=0770,nobrl,hard,_netdev,iocharset=utf8,noserverino,mfsymlinks
is where things are messing up.
Rebooted a couple of times with the same result. Any guidance?
Thanks,