Shares Not Mounting on Reboot
-
I would think that fstab would be the more normal way. You say that you have had issues in the past, what kinds of issues? Did they fail to mount or attempt to mount before the Samba services were available?
-
I haven't worked with Plex, but what does Plex do by default?
-
Ok, so the issue I had before with fstab is that it was trying to mount the partition, which is mapped over Pertino, before the Pertino interface was up, I believe. I have edited my /etc/fstab file and then setup a cron job to tap into it.
@reboot mount -a
This seems to have taken care of the issue and it's working now. Kind of a h4x0r way to do it, but as long as it works.
-
Plex and the mounting of the file shares are totally separate. Plex accesses the shares but has nothing to do with the mounting process.
-
Ok, so a new issue I'm having on another server...
I think it has something to do with the escape character...
//172.16.255.6/GoFlex\ Home\ Personal /media/goflex_dallas auto defaults,credentials=/home/aj/.smbcredentials 0 0 //172.16.255.5/GoFlex\ Home\ Personal /media/goflex_landcare auto defaults,credentials=/home/aj/.smbcredentials 0 0 //172.16.255.6/GoFlex\ Home\ Personal /srv/samba/share/goflex_dallas auto defaults,credentials=/home/aj/.smbcredentials 0 0 //172.16.255.5/GoFlex\ Home\ Personal /srv/samba/share/goflex_landcare auto defaults,credentials=/home/aj/.smbcredentials 0 0
However, this is how it looks...
It's saying there is a syntax error at auto, but I know that's right. The whole command is right. The only difference between this and my other Plex server is the escape character for the space in the share name, which I can't change...
-
You are definitely missing the the quotes on some of those.
-
@scottalanmiller said:
You are definitely missing the the quotes on some of those.
Where? and what kind of quotes?
-
@thanksajdotcom said:
@scottalanmiller said:
You are definitely missing the the quotes on some of those.
Where? and what kind of quotes?
Shouldn't it look something like this?
//172.16.255.6/"GoFlex Home Personal"
-
@coliver said:
@thanksajdotcom said:
@scottalanmiller said:
You are definitely missing the the quotes on some of those.
Where? and what kind of quotes?
Shouldn't it look something like this?
//172.16.255.6/"GoFlex Home Personal"
That's still saying it's wrong too.
-
-
@thanksajdotcom said:
@coliver said:
@thanksajdotcom said:
@scottalanmiller said:
You are definitely missing the the quotes on some of those.
Where? and what kind of quotes?
Shouldn't it look something like this?
//172.16.255.6/"GoFlex Home Personal"
That's still saying it's wrong too.
The other thing you can do is this:
"//172.16.255.6/GoFlex Home Personal"
But you shouldn't need to. Is there any other in-depth logs for this? Or does it just not work?
-
@coliver said:
@thanksajdotcom said:
@coliver said:
@thanksajdotcom said:
@scottalanmiller said:
You are definitely missing the the quotes on some of those.
Where? and what kind of quotes?
Shouldn't it look something like this?
//172.16.255.6/"GoFlex Home Personal"
That's still saying it's wrong too.
The other thing you can do is this:
"//172.16.255.6/GoFlex Home Personal"
But you shouldn't need to. Is there any other in-depth logs for this? Or does it just not work?
Tried that too. That is not working either, and it's showing as a syntax error. It just doesn't work.
-
This did it.
http://www.simpit.com/wordpress/?p=626The syntax is:
//172.16.255.6/GoFlex\040Home\040Personal
-
Beautiful! Everything works as it should now!
-
The issue was the spaces. Even with the escape character, it was not liking the space. Thus you use the escape character backslash and then 040 to symbolize a space.
-
That's interesting. Quotes without the escapes should make that unnecessary. Interesting way to fix it, though.
-
@Reid-Cooper said:
That's interesting. Quotes without the escapes should make that unnecessary. Interesting way to fix it, though.
Yeah, the quotes was still showing it as a syntax error.