[mythtv-users] OT: Mount problems

MailingListJ JMailingListNoDigest at gmail.com
Sat Nov 29 18:47:17 UTC 2008


Michael T. Dean wrote:
> On 11/29/2008 11:12 AM, MailingListJ wrote:
>   
>>  script (to mount smb) doesn't run from rc.local and only works on some 
>> machines
>>
>> Ok so I have a script which runs a few other scripts (in subfolders of 
>> the first script) in order to mount some unix/linux shares) Anyway, when 
>> I run the file from rc.local and try to pipe the output into a file the 
>> file is empty and the shares are not mounted. however when I run the 
>> file it mounts everything.... any ideas?
>>
>> Also, the script doesn't work on my wireless clients... any ideas?
>>     
>
> Assumption:  You're actually trying to mount the Samba/Windows share 
> using CIFS (you should be, as smbfs is deprecated).
>
> If so, make sure your program mount.cifs (and/or mount.smbfs) exists in 
> the /sbin directory.  If it's any other directory, it won't work right.  
> You can either move it (risking problems with package managers) or 
> create a symlink:
>
> ln -s /sbin/mount.cifs /usr/sbin/mount.cifs
>
> or whatever.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
rc.local excerpt:
<CODE>
touch /tmp/bootupmount.errorlog
echo "start">>/tmp/bootupmount.errorlog
/var/lib/mythtv/mountscript-ALL.j > /tmp/bootupmount.errorlog
echo "end" > /tmp/bootupmount.errorlog.jake
</CODE>

mountscript-all:
<CODE>
/var/lib/mythtv/music/mountscript.j
/var/lib/mythtv/pictures/mountscript.j
/var/lib/mythtv/videos/mountscript.j
</CODE>

videos/mountscript.j (all same script):
<CODE>
mount b1:/var/lib/mythtv/videos/b1 /var/lib/mythtv/videos/b1
mount b2:/var/lib/mythtv/videos/b2 /var/lib/mythtv/videos/b2
</CODE>

When I run mountscript-ALL.j they all mount fine, in RC.local they don't

Also, doesn't work on third box says
<CODE>
mount.nfs: internal error
</CODE>

and the /tmp/bootupmount.errorlog is an empty file with correct timestamp

its a unix/linux share its nfs not smb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081129/3d24e9bf/attachment.htm 


More information about the mythtv-users mailing list