Forum
fstab mount on reboot not working - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: fstab mount on reboot not working (/thread-1970.html)

Pages: 1 2


RE: fstab mount on reboot not working - stumax - 11th Jan, 2014 07:18 AM

Hi,

So I've been through all of the suggestions since my post on the 8th Jan , so far still the same.

@Enferax , you mention you added vers=3 to you're fstab and reverted the xbian-net.conf file to the original;. I tried this, also tried adding nfsvers=3 to fstab still no joy.

Any chance you could post what you have currently in your fstab file please ?

Maybe I need to try vers=2 , vers=1 etc , before trying i'd like to confirm that what I have in fstab is correct.. I'm not really clear on what version I should be using but starting at 3 and going down sems sensible.

For the record I'm on xbian v1.0 B2 ..

Thank you all very much !
Stu


RE: fstab mount on reboot not working - Enferax - 11th Jan, 2014 07:54 AM

@stumax:
As you are mounting a cifs filesystem and not nfs, defining the version will not bring you anywhere.
If you want to mount nfs "nfsstat" will give you the version number.

An example of my fstab entries:
192.168.0.30:/mnt/HD/HD_a2/ /media/media nfs nouser,noatime,vers=3,auto,rw,dev,exec,suid 0 0

You could try the quick and dirty version by adding "mount -a" into the rc.local. The Problem is, that this is bypassing the start scripts.


Greetings


RE: fstab mount on reboot not working - mk01 - 11th Jan, 2014 10:07 PM

@stumax

for you I didn't expect nothing else as you are CIFS, not NFS. with you I counted on the changed script as the default was one has there clear bug for one specific case and that is exactly "almost plain B2 + ONLY CIFS in fstab".

to move forward with this one for you I would need the things you never posted actually. output of /run/upstart-ev.log for start then I ask for more if needed. or send also "tail /var/log/upstart/xbian-net.log


RE: fstab mount on reboot not working - stumax - 12th Jan, 2014 10:03 PM

Thanks mk01 ... I wasn't sure where to pick up on the thread from.

Requested output is here - http://pastebin.com/7xaWeGnK

When I try - sudo mount -avs -t cifs

The response is -

mount.cifs kernel mount options: ip=192.168.1.1,unc=\\192.168.1.1\router,user=******,,domain=WORKGROUP,pass=*****​***
nothing was mounted

But looking at the mount directory the drive does actually appear to be mounted.

Thanks,
Stu

@Enferax

Thanks, that makes sense, I couldn't get this to work with nfs,so it seems I must use cifs.

Cheers,
Stu


RE: fstab mount on reboot not working - mk01 - 16th Jan, 2014 02:22 PM

@stumax

post please

Code:
dpkg-query -W xbian\*



RE: fstab mount on reboot not working - stumax - 31st Jan, 2014 08:48 AM

Hi mk01,

Apologies for the delay I have been away ...

Code:
xbian@xbian ~ $ dpkg-query -W xbian\*
xbian-package-cec       1.1-0.4
xbian-package-config
xbian-package-config-shell      2.1.6-53
xbian-package-config-xbmc       1.1.4-6
xbian-package-couchpotato       2.0.7
xbian-package-download  3.0
xbian-package-firmware  1.4.13-1
xbian-package-headphones        1.1.0-1
xbian-package-initramfs-tools   1.3.2-1e-0
xbian-package-kernel    1.3-6.3a
xbian-package-kernel-headers
xbian-package-kernel3.6.11
xbian-package-libshairport      1.0-1
xbian-package-libtag    1.0-2
xbian-package-lirc      1.4-8.8
xbian-package-networkfs
xbian-package-nzbget    12.0
xbian-package-samba     2.0.0-4
xbian-package-shairplay 1.0-1
xbian-package-sickbeard 1.2
xbian-package-sickbeard-tpb     1.1
xbian-package-splash    1.0.1-4
xbian-package-transmission      2.80
xbian-package-upstart-xbmc-bridge       1.1.0-6
xbian-package-usbmount  1.0.5-2a
xbian-package-vnc-server        1.0.1-1a
xbian-package-xbmc      2.9-10.19a
xbian-package-xbmc-gotham-nightly
xbian-package-xbmc-scripts      1.0.1-23a
xbian-package-zram-swap 1.0-4.8a
xbian-update    1.0.2-12d

Thanks,
Stu


RE: fstab mount on reboot not working - mk01 - 3rd Feb, 2014 10:23 AM

@stumax

can you please update ? (best by using xbian-config)