This came from Tom with my notes after the <> AFS 3.3a client build: login root klog admin up -v /afs/alm/rcf/afstape/3.3a/rs_aix32 $A/afsws33a <> up is an afs equivalent to the normal cp command. Why Tom used up here <> and cp later on is beyond me. up differs from the normal cp -Rp by <> preserving ACL's and ownerships, but Tom changes both later on. <> In my case, the source directory will be /afs/alm/rcf/afstape/3.4beta. <> The -v flag "prints a detailed diagnostic message to standard output <> as the command executes." <> $A is Tom's local variable pointing to his home directory, /afs/alm/u/tee, <> so he was doing this in his own home directory. I'll be doing it in <> /afs/.almaden.ibm.com/rs_aix41/usr, although now /afs/alm/rs_aix41 is a <> link to /afs/alm/rs_aix32. We'll have to break that link, putting the <> links 1 directory lower. That is, <> cd /afs/.almaden.ibm.com <> mkdir rs_aix41 <> cd rs_aix41 <> ln -s arcusr ../rs_aix32/arcusr <> ln -s contrib ../rs_aix32/contrib <> ln -s local ../rs_aix32/local <> and mkdir usr, keeping rs_aix41/usr separate. Thus for me, after the <> above is done, I'll up -v /afs/alm/rcf/afstape/3.4beta/rs_aix41 usr/afsws <> or will I have to mkdir usr/afsws first? cd $A/afsws33a <> In my case, it'll be usr/afsws find . -type d -print | xargs fs sa -acl system:anyuser read \ system:authuser none system:administrators all -dir <> Sets the ACL so anybody, whether they're authorized or not, can read <> everything in this directory (& subdirectories), and since that's set <> that way, system:authuser might as well be none. Admin's can do anything. chown -R root.system . <> -R is recursive. cd root.client <> i.e. ~tee/afsws33a/root.client <> When I do it, it'll be /afs/.almaden.ibm.com/rs_aix41/usr/afsws/root.client mvdir usr var <> Renames the usr directory to var. <> This is Tom's own local mod/preference how things should be set up to <> conform to IBM's architecture of everything in /usr is read-only, else it <> goes in /var. If a user wants to change their afs cache size (not unlikely) <> or default domain (unlikely), they'll need to change stuff in this directory. chown bin.bin var <> Not sure why this is needed. Who's bin? <> Besides, /afs/alm/rs_aix32/usr/afsws/root.client/var is now bin.system. cp -p /usr/afsws/root.client/.package . <> Since /usr/afsws is a link to /afs/alm/@sys/usr/afsws, this just copies the <> .package file from your current afs over to your new afs. <> .package is a 1-line file which points to the input for the afs package <> command. The one line is /afs/almaden.ibm.com/wsadmin/etc/minimal, which <> actually points to /afs/almaden.ibm.com/wsadmin/etc/minimal.rs_aix32. <> That file is built with make. make's input files have been modified to <> reflect our domain name (almaden.ibm.com) and to not re-boot if CellServDB <> gets updated, as well as a lot of other stuff which is too detailed to get <> into. I'll need help tweaking this for 4.1, i.e. changing make's input <> files to create a good /afs/alm/wsadmin/etc/minimal.rs_aix41 file. mkdir etc <> i.e. .../afsws/root.client/etc chmod 775 etc <> 775 = rwxrwxr-x, but /afs/alm/rs_aix32/usr/afsws/root.client/var <> is rwxr-xr-x now. cp -p /afs/alm/rcf/afstape/3.3a/rs_aix32/etc/package etc <> Gets afs's program cp -p /usr/afsws/root.client/etc/rc.afs etc <> Copies current rc.afs. chown -R root.system etc cd var/vice <> Remember, your current directory is/will be <> /afs/alm/rs_aix41/usr/afsws/root.client, so var/vice off that is <> /afs/alm/rs_aix41/usr/afsws/root.client/var/vice, which is/will <> be a renamed copy of <> /afs/alm/rcf/afstape/3.4beta/rs_aix41/root.client/usr/vice. <> From afs, this directory only has etc in it. <> Add .../root.client/var/vice/cache mkdir cache; chmod 700 cache; chown root.system cache <> Our .../rs_aix32/usr/afsws/root.client/var/vice/cache has 755, not 700. <> Copy stuff into .../rs_aix41/usr/afsws/root.client/var/vice/etc cd etc rm CellServDB.sample cp -p /afs/alm/common/etc/CellServDB . <> List of IBM internal afs sites. cp -p /afs/alm/common/etc/ThisCell . <> almaden.ibm.com cp -p /usr/afsws/root.client/var/vice/etc/cacheinfo . <> which is /afs:/usr/vice/cache:40000