Project

General

Profile

Feature #8139

NAS-HOME testing

Added by Arthur Kreymer over 4 years ago. Updated about 4 years ago.

Status:
Assigned
Priority:
Normal
Start date:
03/20/2015
Due date:
% Done:

80%

Estimated time:
20.00 h
Spent time:
Duration:

Description

Date: Tue, 17 Mar 2015 12:11:29 -0500
From: Andrew J. Romero <>

NAS-HOME pilot announced on homesrv1

Found /nashome/k/kreymer

Tests requested

[] mount the home directory volume (or get your sys-admin to mount it)
[] create, edit and delete some test files and directories
[] Linux users, also create edit and run some programs and scripts
[] Try to delete your own home directory      
[] Try to delete your own private sub-directory
[] Try to delete your own public_file sub-directory
[] Try to delete your own public_html sub-directory
[] Try to READ files from another user's private sub-folder   
[] Try to WRITE files to anywhere in another user's home directory
[] Try to READ files located in another user's public_file directory
You should be able to do this

private/public_file,public-html are owned by nobody.nobody

what are the private and public_file areas for ?

History

#1 Updated by Arthur Kreymer about 4 years ago

  • % Done changed from 20 to 30
  • Estimated time changed from 2.00 h to 20.00 h

RITM0222054 06/03 Mount /nashome on Minos servers

RITM0225592 06/10 mount /nashome on if*, novasam*, gpcf028

RITM0288007 10/10 Mount /nashome on some minos, auger, coupp servers

How do I mount /nashome on my desktop or laptop ?

#2 Updated by Arthur Kreymer about 4 years ago

10/10 Scanned for active home areas to see who is actually using these

find /nashome -maxdepth 2 -mindepth 2 -type d | grep -v snapshot | wc -l
35

Scanned for recent access
find  /nashome -maxdepth 2 -mindepth 2 -type d -exec ls -ld {} \; | grep -v snapshot | grep Oct
drwxr-s--x 5 50184 3000 4096 Oct  8 10:08 /nashome/a/adejong
drwx--s--x 4 6392 3000 2048 Oct  8 16:52 /nashome/c/cathey
drwxr-xr-x 16 1275 root 4096 Oct  9 12:26 /nashome/l/lauri
drwx--S--x 51 3819 3000 18432 Oct  8 14:42 /nashome/r/rreitz
drwxrwsr-x 164 2768 5444 485376 Oct 10 11:10 /nashome/y/yanny

Scanned for fnalu users ( flxi02 ) 10/19

ypcat passwd | grep nashome
romero:!:2651:1655:Andrew Romero:/nashome/r/romero:/usr/local/bin/tcsh

#3 Updated by Arthur Kreymer about 4 years ago

  • % Done changed from 30 to 40

RITM0290745 10/16 /nashome on anniegpvm01

2015-10-16 13:39:43 CDT - Mark Schmitz (Additional comments)
Mount has been added in puppet for this node but it isn't exported yet.
I'll reassign this to Andy Romero's group to add the export to anniegpvm01.

10/19 Access for /nashome has been granted to anniegpvm01

#4 Updated by Arthur Kreymer about 4 years ago

Copy kreymer files to /nashome

kreymer@minos-data

du -sm ~
468 /afs/fnal.gov/files/home/room1/kreymer

find ~ | wc -l
13042

find ~ -type f | wc -l
11133

Move public_html out of the way for simpler global copy

mv public_html public_htmlx

NAS=/nashome/`whoami | cut -c 1`/`whoami`

FDS=`find ${HOME} -maxdepth 1 -mindepth 1 | sort`

MNL=/minos/app/users/kreymer/log/nashome

mkdir $MNL

Removed files with #

ls al | grep \#
-rw-r--r-
1 kreymer g020 2115 Jan 17 1995 #.login#
rw------ 1 kreymer g020 0 Jan 22 1996 #mhsaved-messages
rw-r--r- 1 kreymer g020 0 Jan 3 1997 stty2#2

rm \#mhsaved-messages
rm stty2\#2
mv \#.login\# .login-19950117

Removed files with ~

rw-r--r- 1 kreymer root 2118 Feb 4 1993 .login~
rw------ 1 kreymer g020 440 Dec 28 2006 LOG.srmcp
rw-r--r- 1 kreymer g020 3366 Jan 17 1995 sun.cshrc

mv .login~ .login.19930204
mv \~LOG.srmcp LOG.srmcp.20061228
mv sun.cshrc\~ sun.cshrc.19950117

ls -al | wc -l
385

Assess symlinks to afs

lrwxr-xr-x 1 kreymer root 59 May 30 21:41 act15 -> /afs/fnal.gov/files/home/room1/kreymer/public_html/act/2015
lrwxr-xr-x 1 kreymer root 52 Oct 5 2013 ADMIN -> /afs/fnal.gov/files/expwww/numi/html/computing/admin
lrwxr-xr-x 1 kreymer root 72 Mar 31 2003 .DCOPserver_focuspc01.fnal.gov -> /afs/fnal.gov/files/home/room1/kreymer/.DCOPserver_focuspc01.fnal.gov_:0
lrwxr-xr-x 1 kreymer root 53 Jan 10 2005 SAMHTML -> /afs/fnal.gov/files/expwww/projects/home/samgrid/html


NAS=/nashome/`whoami | cut -c 1`/`whoami`

FDS=`find ${HOME} -maxdepth 1 -mindepth 1 | sort`

MNL=/minos/app/users/kreymer/log/nashome

mkdir $MNL

{ date ; for FD in ${FDS} ; do
FIN=`basename ${FD}`
echo ${FIN}
cp -ax ${HOME}/${FIN} ${NAS}/${FIN}
done
date
} 2>&1 | tee ${MNL}/kreymer.20151019

Mon Oct 19 11:42:27 CDT 2015
20k.top
aaronj
...
xfsql
.Xnedit
.xsession-errors
Mon Oct 19 11:45:51 CDT 2015


{ date ; for FD in ${FDS} ; do
FIN=`basename ${FD}`
echo ${FIN}
diff -r ${HOME}/${FIN} ${NAS}/${FIN}
done
date
}
Mon Oct 19 11:51:47 CDT 2015
Differences are all obsolete symlinks

#5 Updated by Arthur Kreymer about 4 years ago

  • % Done changed from 40 to 80

Please change the GPCF kreymer login area

from
/afs/fnal.gov/files/home/room1/kreymer

to
/nashome/k/kreymer

The AFS files have already been copied to /nashome/k/kreymer.

This is an initial step in the overall AFS to NAS home area migration.
_________________________________________________________________

2015-10-20 13:33:18 CDT - Seth Graham (Additional comments)
Okay, the update is committed and your new home directory should be active on all GPCF nodes.
_________________________________________________________________

Logged into

NODES
SNODES
GWNODES ( not mounted )
MNNODES
NVNODES
GPVMS all but auger, couppgpvm01 where I lack an account
_________________________________________________________________

Thanks ( I think ) !

I can log in everywhere, and seem to be able to work normally.

/nashome is not mounted on gpwn001-007, but these are in limbo
3 to 5 year old systems no longer in use.

This RITM can be closed.

#6 Updated by Arthur Kreymer about 4 years ago

Remining steps for retirement of kreyemr AFS

o write access to ~kreymer from my desktop

o serving ~kreymer/public_html from the new server



Also available in: Atom PDF