Re: FSTAB Auto Mount

2008-10-16 Thread Simon Ives
On Tue, 2008-10-14 at 20:25 -0700, daniel sobey wrote:
> You are mounting the file system before the network is up, use _netenv
> to mount when the network status changes instead of auto. ie
> 
> //10.1.1.2/E /media/windows_e cifs
> _netenv,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw
>  0 0
> 
> With the new network manager they have changed how the network starts
> slightly to allow you to connect to wireless without being logged in
> to a gui etc so it has changed some of these things.

I entered the "_netenv" option in the place the "auto" option, saved the
file and when I booted up this morning no shares auto mounted.  I can't
comment on whether or not the cifs shares would have auto mounted as the
Windows box wasn't switched on.  The file server, however, is always on
so should have mounted.

Later when the Windows box was on I executed "sudo mount -a" which
mounted the cifs shares fine (so I'm assuming they will be mounted at
boot if the machine is on for the moment) but it seems that the
"_netenv" option doesn't work with nfs shares.  The following error is
returned for the nfs share:

"mount.nfs: an incorrect mount option was specified"

Is this an nfs specific error and how should I address it?
The relevant nfs line in /etc/fstab now reads:

# -- Entry for File Server :
#
10.1.1.4:/home /media/file_server nfs
_netenv,rw,rsize=8192,wsize=8192,timeo=14,intr

Thanks.

-- 

Simon Ives

[EMAIL PROTECTED]
www.simonives.info

Please consider the environment before printing this email or any
attachments.



-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au


Re: FSTAB Auto Mount

2008-10-14 Thread Simon Ives


> You are mounting the file system before the network is up, use _netenv
> to mount when the network status changes instead of auto. ie
> 
> //10.1.1.2/E /media/windows_e cifs
> _netenv,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw
>  0 0
> 
> With the new network manager they have changed how the network starts
> slightly to allow you to connect to wireless without being logged in
> to a gui etc so it has changed some of these things. 
> 
Thanks, I'll give this a shot later in the day when I can reboot.  I
thought it may have been a network issue.
-- 

Simon Ives

[EMAIL PROTECTED]
www.simonives.info

Please consider the environment before printing this email or any
attachments.


-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au


Re: FSTAB Auto Mount

2008-10-14 Thread Simon Ives
Hi Hamish

> Hi Simon
> 
> Can you check three things:
> 1. that the /etc/smbcredentials file exists post-upgrade

File's there.

> 2. the permissions on that file

The permissions for the above file are listed as:

-rw-r--r--   1 root  root35 2008-05-27 16:17 smbcredentials

> 3. that the file contents are correct

The file contents are the same as pre-upgrade.

> 
> I am not 100% sure but checking System->Administration->System Log
> might some light too. Look in syslog and filter for cifs.

There is nothing in syslog of any note.  There is a single cifs error
from yesterday when I executed "sudo mount -a" and the Windows box was
powered down.

I don't think this is a cifs issue (alone) as the NFS share doesn't
mount at start-up either.  I thought that it was either a
permission/group issue or the machine was attempting to mount the shares
before it had finished connecting to the network.

> 
> HTH,
> Hamish

Thanks.


-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au


Re: FSTAB Auto Mount

2008-10-14 Thread daniel sobey
You are mounting the file system before the network is up, use _netenv to mount 
when the network status changes instead of auto. ie

//10.1.1.2/E /media/windows_e cifs 
_netenv,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw
 0 0

With the new network manager they have changed how the network starts slightly 
to allow you to connect to wireless without being logged in to a gui etc so it 
has changed some of these things. 

--- On Wed, 15/10/08, Simon Ives <[EMAIL PROTECTED]> wrote:

> From: Simon Ives <[EMAIL PROTECTED]>
> Subject: FSTAB Auto Mount
> To: ubuntu-au@lists.ubuntu.com
> Received: Wednesday, 15 October, 2008, 1:34 PM
> Hi all.
> 
> Hope someone can help with what seems like a simple
> problem.  Last week
> I updated one of my notebooks to Intrepid for a few reasons
> but mainly
> to test it out on my work/Uni's network environment. 
> After an initial
> hiccup (gnome & ubuntu-desktop not installing) I've
> got a surprisingly
> stable system that functions just as well, if not better,
> than
> Hardy...except one thing, my network shares no longer mount
> at start-up.
> If I execute "sudo mount -a" all the shares mount
> fine.  The local ext3
> partition mounts at start-up, just not the network shares. 
> Any idea on
> what I can do to fix this issue?  The contents of my
> /etc/fstab are:
> 
> # /etc/fstab: static file system information.
> #
> #  -- This file has been automaticly generated by
> ntfs-config -- 
> #
> #  
>  
> 
> proc /proc proc defaults 0 0
> # Entry for /dev/sda1 :
> UUID=d6212b60-f483-4170-a0fa-795bbd5d64b7 / ext3
> relatime,errors=remount-ro 0 1
> # Entry for /dev/sda5 :
> UUID=143b8cd2-f506-4f9e-a37d-0b16a85f5c88 none swap sw 0 0
> # Entry for /dev/sda6 :
> UUID=6801c682-42c7-43ad-82b8-d38d53a20459 none swap sw 0 0
> # Entry for cdrom :
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0
> 0
> #
> # -- Entry for Second Local Partition
> #
> /dev/sda2 /media/local_b ext3 defaults 0 0
> #
> # -- Entry for File Server
> #
> 10.1.1.4:/home /media/file_server nfs
> auto,rw,rsize=8192,wsize=8192,timeo=14,intr
> #
> # -- Entries for Desktop Computer - Windows XP
> #
> //10.1.1.2/C /media/windows_c cifs
> auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw
>   0 0
> //10.1.1.2/D /media/windows_d cifs
> auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw
>   0 0
> //10.1.1.2/E /media/windows_e cifs
> auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw
>   0 0
> 
> Thanks.
> 
> -- 
> 
> Simon Ives
> 
> [EMAIL PROTECTED]
> www.simonives.info
> 
> Please consider the environment before printing this email
> or any
> attachments.
> 
> 
> 
> -- 
> ubuntu-au mailing list
> ubuntu-au@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-au

-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au


Re: FSTAB Auto Mount

2008-10-14 Thread Hamish
Hi Simon

Can you check three things:
1. that the /etc/smbcredentials file exists post-upgrade
2. the permissions on that file
3. that the file contents are correct

I am not 100% sure but checking System->Administration->System Log
might some light too. Look in syslog and filter for cifs.

HTH,
Hamish

On Wed, Oct 15, 2008 at 2:04 PM, Simon Ives <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Hope someone can help with what seems like a simple problem.  Last week
> I updated one of my notebooks to Intrepid for a few reasons but mainly
> to test it out on my work/Uni's network environment.  After an initial
> hiccup (gnome & ubuntu-desktop not installing) I've got a surprisingly
> stable system that functions just as well, if not better, than
> Hardy...except one thing, my network shares no longer mount at start-up.
> If I execute "sudo mount -a" all the shares mount fine.  The local ext3
> partition mounts at start-up, just not the network shares.  Any idea on
> what I can do to fix this issue?  The contents of my /etc/fstab are:
>
> # /etc/fstab: static file system information.
> #
> #  -- This file has been automaticly generated by ntfs-config --
> #
> #
>
> proc /proc proc defaults 0 0
> # Entry for /dev/sda1 :
> UUID=d6212b60-f483-4170-a0fa-795bbd5d64b7 / ext3
> relatime,errors=remount-ro 0 1
> # Entry for /dev/sda5 :
> UUID=143b8cd2-f506-4f9e-a37d-0b16a85f5c88 none swap sw 0 0
> # Entry for /dev/sda6 :
> UUID=6801c682-42c7-43ad-82b8-d38d53a20459 none swap sw 0 0
> # Entry for cdrom :
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
> #
> # -- Entry for Second Local Partition
> #
> /dev/sda2 /media/local_b ext3 defaults 0 0
> #
> # -- Entry for File Server
> #
> 10.1.1.4:/home /media/file_server nfs
> auto,rw,rsize=8192,wsize=8192,timeo=14,intr
> #
> # -- Entries for Desktop Computer - Windows XP
> #
> //10.1.1.2/C /media/windows_c cifs
> auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw 
>   0 0
> //10.1.1.2/D /media/windows_d cifs
> auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw 
>   0 0
> //10.1.1.2/E /media/windows_e cifs
> auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw 
>   0 0
>
> Thanks.
>
> --
>
> Simon Ives
>
> [EMAIL PROTECTED]
> www.simonives.info
>
> Please consider the environment before printing this email or any
> attachments.
>
>
>
> --
> ubuntu-au mailing list
> ubuntu-au@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
>

-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au


FSTAB Auto Mount

2008-10-14 Thread Simon Ives
Hi all.

Hope someone can help with what seems like a simple problem.  Last week
I updated one of my notebooks to Intrepid for a few reasons but mainly
to test it out on my work/Uni's network environment.  After an initial
hiccup (gnome & ubuntu-desktop not installing) I've got a surprisingly
stable system that functions just as well, if not better, than
Hardy...except one thing, my network shares no longer mount at start-up.
If I execute "sudo mount -a" all the shares mount fine.  The local ext3
partition mounts at start-up, just not the network shares.  Any idea on
what I can do to fix this issue?  The contents of my /etc/fstab are:

# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config -- 
#
#

proc /proc proc defaults 0 0
# Entry for /dev/sda1 :
UUID=d6212b60-f483-4170-a0fa-795bbd5d64b7 / ext3
relatime,errors=remount-ro 0 1
# Entry for /dev/sda5 :
UUID=143b8cd2-f506-4f9e-a37d-0b16a85f5c88 none swap sw 0 0
# Entry for /dev/sda6 :
UUID=6801c682-42c7-43ad-82b8-d38d53a20459 none swap sw 0 0
# Entry for cdrom :
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
#
# -- Entry for Second Local Partition
#
/dev/sda2 /media/local_b ext3 defaults 0 0
#
# -- Entry for File Server
#
10.1.1.4:/home /media/file_server nfs
auto,rw,rsize=8192,wsize=8192,timeo=14,intr
#
# -- Entries for Desktop Computer - Windows XP
#
//10.1.1.2/C /media/windows_c cifs
auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw   
0 0
//10.1.1.2/D /media/windows_d cifs
auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw   
0 0
//10.1.1.2/E /media/windows_e cifs
auto,credentials=/etc/smbcredentials,uid=1000,file_mode=0770,dir_mode=0770,rw   
0 0

Thanks.

-- 

Simon Ives

[EMAIL PROTECTED]
www.simonives.info

Please consider the environment before printing this email or any
attachments.



-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au