2 ################################################################################
4 # File: mount_project_lvm
5 # Description: This script will mount all project's logical volumes
6 # Author: Andrew DeFaria (defaria@cup.hp.com)
10 # (c) Copyright 2001, Andrew@DeFaria.com, all rights reserved
12 ################################################################################
14 if [ $(id -u) -ne 0 ]; then
15 print -u2 "$me: Error: You must be root to execute this command!"
20 print -u2 "Usage: $me projectID fileserver"
27 print Mounting $projectID LVMs on $fileserver and build servers...
28 /app/admin/bin/buildservers "/app/admin/bin/mountlvm $projectID $fileserver"
30 print Mounting $projectID and $fileserver on virtual workstations...
31 /app/admin/bin/wrkservers "/app/admin/bin/mountlvm $projectID $fileserver"