{"id":200,"date":"2011-01-14T09:31:00","date_gmt":"2011-01-14T09:31:00","guid":{"rendered":"https:\/\/www.shaopin.link\/wordpress\/index.php\/2011\/01\/14\/mounting-windows-filesystems-from-aix-5-3\/"},"modified":"2011-01-14T09:31:00","modified_gmt":"2011-01-14T09:31:00","slug":"mounting-windows-filesystems-from-aix-5-3","status":"publish","type":"post","link":"https:\/\/www.shaopin.link\/wordpress\/index.php\/mounting-windows-filesystems-from-aix-5-3\/","title":{"rendered":"Mounting Windows filesystems from AIX 5.3"},"content":{"rendered":"<p>First, you must install fileset bos.cifs_fs.rte, and optionally bos.cifs_fs.smit for the Smitty interface, from the installation DVD.<\/p>\n<p>To invoke the Smitty interface, run:<\/p>\n<p>root# smitty cifs_fs<br \/>The Smitty interface will enable you to do almost anything you need with the CIFS filesystem.<\/p>\n<p>For people aligned the command line way, mounting a share is a two-phase process. First, credentials must be added to the \/etc\/cifs_fs\/cifscred file. After that, you can mount a remote CIFS file system using the credentials specified. You could do the whole thing from the command line, but this is the preferred method in my opinion.<\/p>\n<p>SMBFS can store server\/user\/password credentials in the \/etc\/cifs_fs\/cifscred file to allow automatic retrieval of passwords when mounting SMBFS. Credentials can be added, changed, and removed from this file with the mkcifscred, chcifscred, and rmcifscred commands.<\/p>\n<p>To add a credential:<\/p>\n<p>root# mkcifscred -h <server> -u <user> -p <pass>Use the mkcifsmnt, chcifsmnt, rmcifsmnt, and lscifsmnt commands to add, change, remove, and list, respectively, cifs stanzas in \/etc\/filesystems.<\/p>\n<p>To mount a file system:<\/p>\n<p>root# mkdir -p \/mount\/point<br \/>root# mkcifsmnt -f \/mount\/point -h <server> -d <share> -c <user> -w <workgroup\/domain><br \/>That will add a new stanza to \/etc\/filesystems:<\/p>\n<p>\/mount\/point:<br \/>        dev             = <share><br \/>        vfs             = cifs<br \/>        nodename        = <server>\/&#038;lt:user><br \/>        mount           = false<br \/>        options         = wrkgrp=<workgroup\/domain><br \/>        account         = false<br \/>Automatical mounting during startup can be specified with the -A option to mkcifsmnt. You can give your mounted share a different set of permissions and owners with the -u <u>, -g <g> and the -x <mode> options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, you must inst &hellip; <a href=\"https:\/\/www.shaopin.link\/wordpress\/index.php\/mounting-windows-filesystems-from-aix-5-3\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Mounting Windows filesystems from AIX 5.3<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-aix"],"_links":{"self":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}