Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP CIFS Client A.01.09 Administrator's Guide: HP-UX 11.0 and 11i version 1 and 2 > Chapter 2 Installing, Configuring, and Using the HP CIFS Client

More on Mounting CIFS Filesystems

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

In addition to the mount command discussed in the previous section, which was used to explicitly create a single mount, there are other methods to manage the mounting of CIFS file systems. See the reference for mount_cifs and umount_cifs in Chapter 4 for syntax details not contained in this section.

Using /etc/fstab

By creating entries in /etc/fstab you can mount CIFS filesystems automatically at boot time, or mount multiple CIFS file systems on one or more CIFS Servers, with a single command entered manually. The format for such entries is:

server:/share mount_point cifs defaults 0 0

Then, to mount all CIFS entries in /etc/fstab manually, enter:

$ mount -aF cifs

To unmount all currently mounted CIFS filesystems, enter:

$ umount -aF cifs

These commands will occur automatically, at bootup and shutdown, if the system is configured to start the CIFS Client at bootup, as explained above.

NOTE: Automounting a CIFS filesystem using the HP ONC+ AutoFS service is only supported on HP-UX release 11i version 2. For HP-UX release 11.0 and 11i, attempting mount CIFS filesystems via AutoFS may cause hung processes to remain in the system process table and may make the mount point directory inaccessable

How to Mount and Login in One Step

The root user has the option to mount a CIFS filesystem and login to the CIFS Server in one step, obviating the need to explicitly issue the cifslogin command. Using the names from the examples above:

$ mount -F cifs -o username=x,password=y buildsys:/source home/dev1/source

where x and y are the name and password pair recognized by the server.

Depricated mount and unmount commands

The cifsmount and cifsumount commands provide equivalent functionality to mount and umount, but HP discourages their use.They require different syntax and may not be available in future releases of the HP CIFS Client. man pages for these commands are provided in Chapter 5 of this manual for historical reasons.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.