source: gpfs_3.1_ker2.6.20/lpp/mmfs/samples/mmfsup.sample @ 177

Last change on this file since 177 was 16, checked in by rock, 17 years ago
  • Property svn:executable set to *
File size: 1.9 KB
Line 
1#!/bin/ksh
2# @(#)43  1.1  src/avs/fs/mmfs/ts/config/mmfsup.sample, mmfs, avs_rgpfs24, rgpfs240610b 10/31/05 10:18:13
3##############################################################################
4#
5# When properly installed, this script is invoked by the GPFS daemon when
6# it is up and ready for sessions.
7#
8# This script can be used to mount some or all of the GPFS file systems
9# for which manual mount was specified ("-A no" file system option).
10#
11# All GPFS file systems for which mount at daemon startup was specified
12# ("-A yes" file system option) should have already been mounted by GPFS.
13# If you want to disable on a particular node the automatic mounting of
14# file systems when GPFS starts up, run the following command on the
15# desired nodes:
16#      touch /var/mmfs/etc/ignoreStartupMount
17#
18# If you have NFS exported directories in GPFS file systems, the NFS mount
19# daemon may have exported the mount point instead of the GPFS file system.
20# For this reason, after the GPFS file systems are mounted, all existing
21# exports should be re-exported.
22#
23# Installations that start GPFS automatically when the node reboots, and
24# require their users to do explicit mounts, should not do anything here.
25#
26#
27# To activate the code:
28#
29#   a) edit this script and make the appropriate changes
30#   b) copy this script to /var/mmfs/etc/mmfsup
31#   c) ensure this script is executable (chmod +x /var/mmfs/etc/mmfsup)
32#
33##############################################################################
34
35# Initialize path names.
36
37# osName=$(/bin/uname -s)
38# if [[ $osName = Linux ]]
39# then
40#   MOUNT=/bin/mount
41#   FSTYPE=gpfs
42# fi
43# if [[ $osName = AIX ]]
44# then
45#   MOUNT=/usr/sbin/mount
46#   FSTYPE=mmfs
47# fi
48 
49 
50# Mount all GPFS type file systems.
51# $MOUNT -t $FSTYPE
52
53
54# Re-export everything that is currently exported.
55
56# if [[ $osName = AIX ]]
57# then
58#   /usr/sbin/exportfs -f /etc/xtab -av
59# fi
60
61# if [[ $osName = Linux ]]
62# then
63#   /usr/sbin/exportfs -r
64# fi
65
66return 0
67
Note: See TracBrowser for help on using the repository browser.