To attach to a CIFS share or export using a Linux operating system, use a CIFS client.
To access the share or export, a user must have appropriate POSIX permissions for accessing the path, and ACL authorization to read (r) and execute (x) each directory in the full path of the directory on which the share or export is mounted. If an Storwize V7000 Unified system administrator has disabled the --bypassTraversalCheck option of the chcfg Storwize V7000 Unified CLI command, which is enabled by default, retain the traversal rights ACE entry to ensure that users are able to access the share or export and its subdirectories. For example, to access a share or export mounted at /ibm/mydir/mysubdir/myexport, the above ACLs, at a minimum, must be applied to /ibm, /ibm/mydir, /ibm/mydir/mysubdir and /ibm/mydir/mysubdir/myexport. See Creating shares or exports, Managing authorization and access control lists, and Authorization limitations.
The following example describes how to connect to a Microsoft Windows™ network using the CIFS protocol from Linux. Administrators of other UNIX operating systems should consult the documentation for their CIFS client for further information. It is assumed that you have root access to the host.
(root@linuxhost)~ # smbclient -L unified03 -U DOMAIN\\username
Password: <password not displayed>
Domain=[DOMAIN] OS=[Unix] Server=[IBM Storwize V7000
Unified Cluster]
Exportname Type Comment
--------- ---- -------
IPC$ IPC IPC Service ("IBM Storwize V7000
Unified Cluster")
phil Disk CIFS share or export of unified03 cluster for user Phil
gpfs0all Disk CIFS share or export of unified03 to share or export FS gpfs0
Domain=[DOMAIN] OS=[Unix] Server=[IBM Storwize V7000
Unified Cluster]
Server Comment
--------- -------
Workgroup Master
--------- -------
(root@linuxhost)~ #
(user@linuxhost)~ # smbclient //unified03/gpfs0all -U DOMAIN\\username
Password: <password not displayed>
Domain=[DOMAIN] OS=[Unix] Server=[IBM Storwize V7000
Unified Cluster]
smb: \>
(root@linuxhost)~ # mount -t cifs -o user=DOMAIN\\username //server/export /tmp/mount
(root@linuxhost)~ # mount
/dev/hda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda2 on /boot type ext3 (rw)
proc on /var/lib/ntp/proc type proc (rw)
//unified03/gpfs0all on /tmp/mount type cifs (rw,mand)
(root@linuxhost)~ #
(root@linuxhost)~ # umount /tmp/mount
The used space and free space reported to CIFS clients also depends on the quotas applicable to the current user. For details, see description in Managing quotas.