Samba won't mount after reboot...please help

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Samba won't mount after reboot...please help
# 1  
Old 05-03-2013
RedHat Samba won't mount after reboot...please help

I am able to mount samba but it just won't mount when i reboot system
what is stopping it from mounting after reboot?


I mounted before reboot but right after reboot...i ran mount
Code:
[root@vm3 ~]# mount
/dev/mapper/vg_sda2-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sr0 on /media/VBOXADDITIONS_4.2.12_84980 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=500,gid=500,iocharset=utf8,mode=0400,dmode=0500)

When i remount..it worked..so why not work after reboot???
Code:
[root@vm3 ~]# findsmb

                                *=DMB
                                +=LMB
IP ADDR         NETBIOS NAME     WORKGROUP/OS/VERSION 
---------------------------------------------------------------------
192.168.1.38    VM3           +[MYGROUP] [Unix] [Samba 3.6.9-151.el6]
[root@vm3 ~]# mount -t cifs //LOCALHOST/samba /samba-mount -v -o user=BUSARI,password=dadon4u
mount.cifs kernel mount options: ip=::1,unc=\\LOCALHOST\samba,,ver=1,user=BUSARI,pass=********
[root@vm3 ~]# mount
/dev/mapper/vg_sda2-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sr0 on /media/VBOXADDITIONS_4.2.12_84980 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=500,gid=500,iocharset=utf8,mode=0400,dmode=0500)
//LOCALHOST/samba on /samba-mount type cifs (rw)
[root@vm3 ~]# service smb status
smbd (pid  2014) is running...
[root@vm3 ~]# service nmb status
nmbd (pid  2006) is running...
[root@vm3 ~]# findsmb

                                *=DMB
                                +=LMB
IP ADDR         NETBIOS NAME     WORKGROUP/OS/VERSION 
---------------------------------------------------------------------
192.168.1.38    VM3           +[MYGROUP] [Unix] [Samba 3.6.9-151.el6]
[root@vm3 ~]# testparm -L
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[samba]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
    workgroup = MYGROUP
    server string = Samba Server Version %v
    log file = /var/log/samba/log.%m
    max log size = 50
    idmap config * : backend = tdb
    cups options = raw

[homes]
    comment = Home Directories
    read only = No
    browseable = No

[printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    print ok = Yes
    browseable = No

[samba]
    comment = Samba
    path = /share/samba
    read only = No
    guest ok = Yes

[root@vm3 ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Thu May  2 20:30:24 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_sda2-lv_root /                       ext4    defaults        1 1
UUID=cf27ea89-2bef-4ae8-8b98-083e6a27f5bf /boot                   ext4    defaults        1 2
/dev/mapper/vg_sda2-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
192.168.1.38:/share/nfs /nfs-mount              nfs     defaults        0 0
//LOCALHOST/samba       /samba-mount            smbfs   username=BUSARI,password=dadon4u    0 0

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How can we re-mount the RAM disk automatically after the reboot on AIX?

Hi All, I was trying to know more about RAM disk concept in AIX. I found something on IBM site. I was able to create and use/delete RAM disk as per IBM instructions. But as you guys know, this RAM disk is a temporary storage. (*when ever we reboot the AIX LPAR, content/RAM disk will be... (4 Replies)
Discussion started by: System Admin 77
4 Replies

2. Debian

Device error 71, won't mount root filesystem

I have a Debian OpenBox that boots from any usb port. The Debian LXDE will only boot from one specific port. It needs to look at all of them to find and be root, and mount the root filesystem by UUID. Both are full installs to 16GB flash drives. That is not being done. It says during boot... (0 Replies)
Discussion started by: patrick013
0 Replies

3. UNIX for Dummies Questions & Answers

Samba Mount

To acces my linux folders on windows I did samba setup on my linux machine and it shows no error on linux system. But when I try to map the linux system on windows it shows error "Network location could not be reached." I used the link... (6 Replies)
Discussion started by: rupeshkp728
6 Replies

4. Shell Programming and Scripting

SAMBA Mount

Hi, Please can somebody advise me on the issue where I have a Samba mount created for one of the directories with read only access to all the IP's in the network. Now beside read only access I want to provide Modify access also for two IP's. Please advise. Best Regards, Shazin (5 Replies)
Discussion started by: Shazin
5 Replies

5. Solaris

Some NFSs don't mount after reboot

Hi, Couple weeks ago we patched our Solaris 10 systems. I am not sure if this problem is caused by patching: Some NFSs don't mount after reboot. Manual mount is working fine. /etc/vfstab has no problem. What could be the cause? Thanks in advance! :) (17 Replies)
Discussion started by: aixlover
17 Replies

6. AIX

won't mount /usr...won't boot fully

Hello: NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies

7. Ubuntu

External Hard drive won't mount

i have a Simple Tech hard drive that i use between two computers. it is formatted to ntfs. i have a dell desktop with Ubuntu 7.10 and Ubuntu 8.04 and Windows XP Home. and i have a laptop with Ubuntu 7.10 and Ubuntu 8.04. the laptop recognizes the hard drive on both 8.04 and 7.10 but my desktop... (9 Replies)
Discussion started by: Texasone
9 Replies

8. UNIX for Dummies Questions & Answers

Mount Points at reboot

How do I make a mount point reconnect at boot without editing /etc/fstab? Is there an option (or switch) to make this persistent when issuing the mount command from a client? (1 Reply)
Discussion started by: AIXdumb455
1 Replies

9. UNIX for Advanced & Expert Users

CVSWeb won't recognise mount points

Hi guys, The data store behind our CVS server is on a windows box for reasons best known to my predecessors. Therefore the CVSROOT is a cifs mount point, actually it's /mnt/CVS but that's by the by. The problem I have is that CVSWeb fails to recognise mount points as directories, and tells... (0 Replies)
Discussion started by: AdamRoper
0 Replies

10. Linux

RH8 samba won't let users in

when I type smbclient \\\\MYSERVER\\someuser at the prompt, it asks me to log in with the password for that user, and when I put it in, it says NT_USER_LOGIN_FAILURE eveyrtime, while at the linux terminal. When I try to access the server from my windows xp machine it shows up in the workgroup, but... (3 Replies)
Discussion started by: kymberm
3 Replies
Login or Register to Ask a Question