With the account owners permission I will migrate the files from the /legacy mount to the BShare account once it is created.
I will make some effort to find any fully qualified URLS and supply the the account owner with a file name list to begin to remove those.
IF we have the vHost mentioned above that would not me necessary
Method 2-TWO
ssh helpdesk@bingnfs2.cc.binghamton.edu
> sudo /usr/local/bin/ckall <username>
FOR EXAMPLE:
> sudo /usr/local/bin/ckall ksmey
passwd shadow passwd.adjunct
55757 55757 55757
drwx--x--x 4 ksmey users 13 Mar 19 11:19 /u0/users/9/ksmey
p 49091:ksmey:x:18359:200::/u0/users/9/ksmey:/bin/tcsh
s 49091:ksmey:9NpailCEP91Qk:18194::::::
p.a 49051:ksmey:x:::::
Disk quotas for ksmey (uid 18359):
Filesystem usage quota limit timeleft files quota limit timeleft
/u0 56 409600 409600 - - - - -
If a quote error try: /sbin/zfs set userquota@ksmey=none u0pool
/sbin/zfs set userquota@ksmey=400M u0pool
quota -v ksmey
ssh helpdesk@harveyv.binghamton.edu [helpdesk@harveyv ~]$ sudo su - Last login: Thu Aug 6 12:27:48 EDT 2020 from 128.226.15.5 on pts/1 [root@harveyv ~]# ckUser.bash <username> FOR EXAMPLE: CkUser.bash ksmey ============================= ls -ld /u0/users/ksmey drwxr-xr-x 2 ksmey domain users 4096 Mar 18 11:30 /u0/users/ksmey ============================= df -hT /u0/users/ksmey Filesystem Type Size Used Avail Use% Mounted on //BUShare.bu.binghamton.edu/IndividualShares$/ksmey cifs 4.0T 1.1T 3.0T 27% /u0/users/ksmey ============================= egrep -w -n ksmey /etc/fstab 121://BUShare.bu.binghamton.edu/IndividualShares$/ksmey /u0/users/ksmey cifs rw,uid=ksmey,gid=100000,file_mode=0755,dir_mode=0755,_netdev,nofail,mfsymlinks,domain=pods,credentials=/.credentials/Ucredentials 0 0 [root@harveyv ~]# ### The important path strings are bold and green above: CON'T THE EXAMPLE Legacy path is /legacy/9/ksmey BUShare path is /u0/users/ksmey These are supplied to the program that will generate the two commands to run... /usr/local/bin/Legacy2BuShare.bash /legacy/9/ksmey /u0/users/ksmey LegacyPath=/legacy/9/ksmey .... BUSharePath=/u0/users/ksmey cd /legacy/9/ksmey; pwd /usr/bin/tar cvpf - * | ( cd /u0/users/ksmey; /usr/bin/tar xpf -)/ Copy and paste the cd;pwd command... Copy and paste the tar command (having insured that the correct from path is where you are.) The TAR runs in verbose mode so you will see files as they are moved. To confirm the site is working... http://harveyv.binghamton.edu/~ksmey/ GENERICALLY: http://harveyv.binghamton.edu/~<username>