/etc/fstab in OS11.0 - Suse

This is a discussion on /etc/fstab in OS11.0 - Suse ; Hi, I just installed ooensuse 11.0 on my system and something weird seems to be happening with my /etc/fstab. I took it the way it was after the setup and added two lines two mount my two samba shares and ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: /etc/fstab in OS11.0

  1. /etc/fstab in OS11.0

    Hi,

    I just installed ooensuse 11.0 on my system and something weird seems to be
    happening with my /etc/fstab.
    I took it the way it was after the setup and added two lines two mount my
    two samba shares and one line to mount a nfs share.
    The system boots up nicely but the manually added lines don't get mounted
    automatically on boot-up. Once the system is booted up I need to do a
    "mount -a" which mounts the outstading mounts just fine. What's going wrong
    here?
    My /etc/fstab looks like this:

    /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFC400R414E9BC-part5 swap swap
    defaults 0 0
    /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFC400R414E9BC-part6 / ext3
    acl,user_xattr 1 1
    /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFC400R414E9BC-part8 /home ext3
    acl,user_xattr 1 2
    dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFC400R414E9BC-part7 /mnt/OS10.3
    ext3 defaults 1 2
    /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFC400R414E9BC-part2 /windows/C
    ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.U TF-8 0 0
    /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFC400R414E9BC-part3 /windows/D
    ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.U TF-8 0 0
    proc /proc proc defaults 0
    0
    sysfs /sys sysfs noauto 0
    0
    debugfs /sys/kernel/debug debugfs noauto 0
    0
    usbfs /proc/bus/usb usbfs noauto 0
    0
    devpts /dev/pts devpts mode=0620,gid=5 0
    0
    //192.168.0.2/media /mnt/media cifs users,uid=1000,gid=1000
    0 0
    //192.168.0.2/data /mnt/data cifs users,uid=1000,gid=1000 0 0
    localhost:/wuala /home/reg/wuala/direct nfs
    defaults,users,noauto,rsize=8192,wsize=8192,timeo= 14,intr,nolock,soft

    Can anyone see what I'm doing wrongly?

    Thanks,
    Ron
    --
    weeks of coding safes hours of planning

  2. Re: /etc/fstab in OS11.0

    On Sun, 20 Jul 2008 04:35:05 GMT
    Ron Eggler wrote:

    >The system boots up nicely but the manually added lines don't get
    >mounted
    > automatically on boot-up.


    >//192.168.0.2/media /mnt/media cifs
    >users,uid=1000,gid=1000 0 0


    >//192.168.0.2/data /mnt/data cifs
    >users,uid=1000,gid=1000 0 0


    >localhost:/wuala /home/reg/wuala/direct nfs
    >defaults,users,noauto,rsize=8192,wsize=8192,timeo= 14,intr,nolock,soft
    >
    >Can anyone see what I'm doing wrongly?


    Change the 'noauto' to 'auto' in the localhost line and add 'auto' to
    the other two lines.


    --
    Kevin Nathan (Arizona, USA)
    Linux Potpourri and a.o.l.s. FAQ -- http://www.project54.com/linux/

    Open standards. Open source. Open minds.
    The command line is the front line.
    Linux 2.6.25.9-0.2-pae
    10:43pm up 6 days 1:54, 15 users, load average: 0.55, 0.56, 0.87


  3. Re: /etc/fstab in OS11.0

    Kevin Nathan wrote:

    > On Sun, 20 Jul 2008 04:35:05 GMT
    > Ron Eggler wrote:
    >
    >>The system boots up nicely but the manually added lines don't get
    >>mounted
    >> automatically on boot-up.

    >
    >>//192.168.0.2/media /mnt/media cifs
    >>users,uid=1000,gid=1000 0 0

    >
    >>//192.168.0.2/data /mnt/data cifs
    >>users,uid=1000,gid=1000 0 0

    >
    >>localhost:/wuala /home/reg/wuala/direct nfs
    >>defaults,users,noauto,rsize=8192,wsize=8192,timeo= 14,intr,nolock,soft
    >>
    >>Can anyone see what I'm doing wrongly?

    >
    > Change the 'noauto' to 'auto' in the localhost line and add 'auto' to
    > the other two lines.


    Nope this didn't help since 'auto' is the default anyways, the noauto line actually works as it's supposed to (gets mounted by the application). So it's only the two cifs mounts that don't work appropriately....
    --
    weeks of coding safes hours of planning

  4. Re: /etc/fstab in OS11.0

    On Sat, 19 Jul 2008, Kevin Nathan wrote:-

    >On Sun, 20 Jul 2008 04:35:05 GMT
    >Ron Eggler wrote:
    >
    >>The system boots up nicely but the manually added lines don't get
    >>mounted
    >> automatically on boot-up.

    >
    >>//192.168.0.2/media /mnt/media cifs
    >>users,uid=1000,gid=1000 0 0

    >
    >>//192.168.0.2/data /mnt/data cifs
    >>users,uid=1000,gid=1000 0 0

    >
    >>localhost:/wuala /home/reg/wuala/direct nfs
    >>defaults,users,noauto,rsize=8192,wsize=8192,timeo= 14,intr,nolock,soft
    >>
    >>Can anyone see what I'm doing wrongly?

    >
    >Change the 'noauto' to 'auto' in the localhost line


    If it's wanted to be automatically mounted at boot-up, remove the
    'noauto' and don't bother adding an 'auto' since it will be auto-mounted
    anyway. If it's not wanted to be automatically mounted, leave it as it
    is and remember to mount it when required.

    >and add 'auto' to
    >the other two lines.


    I think it would be even better would be to add the lines:

    //192.168.0.2/media /mnt/media users,uid=1000,gid=1000
    //192.168.0.2/data /mnt/data users,uid=1000,gid=1000

    to /etc/samba/smbfstab. It's also useful to put them there on the
    grounds that smbfstab is only root-readable and so in a multi-user
    situation keeps any username and passwords away from prying eyes.


    Regards,
    David Bolt

    --
    www.davjam.org/lifetype/ www.distributed.net: OGR@100Mnodes, RC5-72@15Mkeys
    SUSE 10.1 32 | | openSUSE 10.3 32bit | openSUSE 11.0 32bit
    | openSUSE 10.2 64bit | openSUSE 10.3 64bit | openSUSE 11.0 64bit
    RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11

  5. Re: /etc/fstab in OS11.0

    David Bolt wrote:
    > I think it would be even better would be to add the lines:


    I would just go in YaST and do it there. To me much easier then to try
    to remember what is what.

    houghi
    --
    I do not want life insurance.
    I want all people to be genuinely grieving when I die.

    houghi

  6. Re: /etc/fstab in OS11.0

    David Bolt wrote:

    > On Sat, 19 Jul 2008, Kevin Nathan wrote:-
    >
    >>On Sun, 20 Jul 2008 04:35:05 GMT
    >>Ron Eggler wrote:
    >>
    >>>The system boots up nicely but the manually added lines don't get
    >>>mounted
    >>> automatically on boot-up.

    >>
    >>>//192.168.0.2/media /mnt/media cifs
    >>>users,uid=1000,gid=1000 0 0

    >>
    >>>//192.168.0.2/data /mnt/data cifs
    >>>users,uid=1000,gid=1000 0 0

    >>
    >>>localhost:/wuala /home/reg/wuala/direct nfs
    >>>defaults,users,noauto,rsize=8192,wsize=8192,timeo= 14,intr,nolock,soft
    >>>
    >>>Can anyone see what I'm doing wrongly?

    >>
    >>Change the 'noauto' to 'auto' in the localhost line

    >
    > If it's wanted to be automatically mounted at boot-up, remove the
    > 'noauto' and don't bother adding an 'auto' since it will be auto-mounted
    > anyway. If it's not wanted to be automatically mounted, leave it as it
    > is and remember to mount it when required.
    >
    >>and add 'auto' to
    >>the other two lines.

    >
    > I think it would be even better would be to add the lines:
    >
    > //192.168.0.2/media /mnt/media users,uid=1000,gid=1000
    > //192.168.0.2/data /mnt/data users,uid=1000,gid=1000
    >
    > to /etc/samba/smbfstab. It's also useful to put them there on the
    > grounds that smbfstab is only root-readable and so in a multi-user
    > situation keeps any username and passwords away from prying eyes.


    Nope, all I really had to do is to install the smb-client package. This
    mounts my cifs shares properly on bootup from /etc/fstab.

    Thanks for the suggetions anyways!

    Ron
    --
    weeks of coding safes hours of planning

+ Reply to Thread