LinHES Forums
http://forums.linhes.org/

R6 trouble automounting samba share
http://forums.linhes.org/viewtopic.php?f=11&t=20151
Page 1 of 1

Author:  iscraigh [ Wed Jul 15, 2009 11:21 pm ]
Post subject:  R6 trouble automounting samba share

I store my movies on a network drive and have been unable to get R6 to mount the drive on bootup.
After I am booted up I can issue the command

mount /mnt/usb

and it gets the info from fstab and mounts no problem

Here is my fstab

Code:
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
UUID=81ab78d9-ebf1-4118-b195-80c35d8d608e /  auto defaults,noatime 0 1
UUID=862ac330-861a-4534-b466-8777ff0362e0 /myth  auto defaults,noatime 0 1
UUID=e0275d8d-8eaa-4a75-b22d-49d1f93326f6 swap swap defaults  0
/dev/sdb1 /myth/tv2 xfs noatime,nodiratime,logbufs=8,allocsize=512m  0  2
#UUID="bb977843-b444-4418-a18e-92f283eab97f /myth/tv2 auto defaults,noatime,nodiratime  0 1
//192.168.0.23/nas4 /mnt/usb cifs auto,username=mythtv,password=mythtv,uid=mythtv,gid=mythtv
#//192.168.0.23/nas4 /mnt/usb cifs credentials=/etc/mythsmbpass,rw,auto 0 0
#STARTSCRUB --------------anything in this block will be scrubbed
#ENDSCRUB


As you can see I tried using a credentials file but no go so I did it the most direct way.
Any suggestions..

Thanks
Craig

Author:  manicmike [ Thu Jul 16, 2009 12:45 am ]
Post subject:  Re: R6 trouble automounting samba share

Have a look at your dmesg. I would try dmesg|grep nas4

EDIT: Need to add that /mnt/usb is a really unintuitive name for this mount point. Why don't you call it, say, mnt/nas4?

I suspect it doesn't load the cifs module until after the mount attempt and should thus spit a fs error in your dmesg.

Check it and get back to us.

Mike

Author:  iscraigh [ Sat Jul 18, 2009 1:14 am ]
Post subject: 

Found the clue in the errors.log

Code:
12 21:33:13 hdbe CIFS VFS: Send error in SETFSUnixInfo = -5
Jul 12 21:33:13 hdbe CIFS VFS: Negotiating Unix capabilities with the server failed.  Consider mounting with the Unix Extensions
Jul 12 21:33:13 hdbe disabled, if problems are found, by specifying the nounix mount option.
Jul 12 22:17:58 hdbe ieee1394: Error parsing configrom for node 0-00:1023
Jul 13 22:16:51 hdbe CIFS VFS: Send error in SETFSUnixInfo = -5
Jul 13 22:16:51 hdbe CIFS VFS: Negotiating Unix capabilities with the server failed.  Consider mounting with the Unix Extensions
Jul 13 22:16:51 hdbe disabled, if problems are found, by specifying the nounix mount option.


As for the name
it is the usb drive connected to my nas box (4th share)
So to me it is perfectly intuitive but I can see how it would not make sense to anyone else.

So I added nounix to my mount options and it still doesnt mount but I don't get an error. Nothing in dmesg.

The search for answers continues.

Craig


Craig

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/