unable to automount a cifs drive in linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers unable to automount a cifs drive in linux
# 1  
Old 08-01-2012
unable to automount a cifs drive in linux

Hi

I am using SUSE 11 linux

I have couple of "nfs" entries in /etc/fstab which are automatically loaded after system restart.

One of the entry is windows drive mounted using cifs as shown below
Code:
//IP-Address/Partition /mnt/x cifs credentials=/creds/.creds,rw,uid=<name>   0 0

I want to make the cifs automounted like every nfs partition.

Could anyone please help me how to auto mount a cifs
# 2  
Old 08-01-2012
It can't mount a network partition before the network's working, and mounting filesystems is nearly the first thing a system does on boot.

You may have to put 'noauto' in the options so the system doesn't hang asking for the administrator password when they fail to mount on boot. Then put mount commands in /etc/local.start or whatever your system's equivalent for a "system commands to run after the system's booted" file is. Make sure this script doesn't return false, even on error, since on some systems that will cause Local (the login system) to fail to start.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Unable to access the CIFS share folder on windows by IP

Hi All Actually I have NAS Storage and Suddenly I got problem Unable to access the CIFS share folder on windows host, however the IP is pinging and the share is accessible via share name. The share can be accessed via share name only on Windows higher Windows Versions. Any help guys (4 Replies)
Discussion started by: Abu_SM
4 Replies

2. Solaris

Unable to send SCSI commands to USB Drive

I am connecting a USB mass storage removeable drive to Solaris 10 x86 machine. The device is detected and i am able to perform standard read and write functions. But i want to use a code to send IOCTL based SCSI commands to the same device to read and write the data. Which i am unable to do so.... (17 Replies)
Discussion started by: danish2012
17 Replies

3. AIX

AIX 6.1 automount issues from Linux/Openfiler

Hello folks... have a problem here hopefully can find some direction with... we have a network using NIS authentication and automount for home dirs and other shared resources. Recently migrated some of our shares off of an EMC Celerra to an Openfiler solution. All of the clients in the NIS domain... (0 Replies)
Discussion started by: cruzshark
0 Replies

4. Shell Programming and Scripting

Directory / File changes on CIFS share mounted on Red Hat Linux

I have a requirement to copy the changed file on CIFS share mounted on Red Hat Linux to a remote FTP/SFTP server. I tried inotify-tools, but this didn't track the modified files. Has anyone tried incron or any other suggestion? (1 Reply)
Discussion started by: SupeAlok
1 Replies

5. Debian

Unable to mount external drive

Trying to mount an external 160GB Toshiba drive but.... this is my dmesg tail output: usb 2-2: new high speed USB device using ehci_hcd and address 3 usb 2-2: New USB device found, idVendor=13fd, idProduct=1618 usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-2:... (4 Replies)
Discussion started by: Ridson
4 Replies

6. Emergency UNIX and Linux Support

mdadm unable to fail a resyncing drive?

Hi All I have a RAID 5 array consisting of 4 drives that had a partial drive failure in one of the drives. Rebooting shows the faulty drive as background rebuilding and mdadm /dev/ARRAYID shows three drives as in sync with the fourth drive as spare rebuilding. However the array won't come... (9 Replies)
Discussion started by: Bashingaway
9 Replies

7. Windows & DOS: Issues & Discussions

Linux mount cifs with Windows ACL support

I'm in the process of migrating my windows file servers to a Ubuntu Samba server. My plan is to use cp -Rp to copy all the mounted files to the proper directory on my Ubuntu server. I can mount them just fine but if I run getfacl against a mounted directory its not showing any of my Windows... (0 Replies)
Discussion started by: binary-ninja
0 Replies

8. Ubuntu

USB flash drive/keyfob will not automount

I am working on an Ubuntu Linux 8.10 system that I do not want to reboot. For some reason, USB flash drives (mass storage devices) now no longer automount. I want to restore that functionality without rebooting. I can manually mount and unmount these things by doing: cd /media sudo mkdir thing... (4 Replies)
Discussion started by: ropers
4 Replies

9. Linux

CIFS on linux ?

I have a program which reads all the files in a path given as argument into a buffer (And does something with it). The program makes use of several file processing APIs such as: stat(), fopen(), read() etc.. Now, it is possible that the directory specified by the path is actually a volume which... (5 Replies)
Discussion started by: the_learner
5 Replies

10. UNIX for Dummies Questions & Answers

I Want To Automount My Hard Drive!!!

:confused: Im as newbie as they come....... I just loaded Red Hat 8.0 on my computer. I have a second hard drive that i reformatted with a Fat32 so I could share it with my XP and Linux partions....... I have like 4000 mp3's on it and i would like to get it to auto mount when Linux boots....? Or... (5 Replies)
Discussion started by: mynameiskyle
5 Replies
Login or Register to Ask a Question