<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mount options using ServiceGuard in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556862#M715036</link>
    <description>Phil,&lt;BR /&gt;&lt;BR /&gt;You could always leave your filesystems out of that section altogether and mount them manually in the customer_defined_start/halt procedures.  Just use the command you gave.  I assume you have Online JFS (recent version and patches) required for the mincache=direct option.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Wed, 25 Jul 2001 11:45:49 GMT</pubDate>
    <dc:creator>Steve Lewis</dc:creator>
    <dc:date>2001-07-25T11:45:49Z</dc:date>
    <item>
      <title>Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556859#M715033</link>
      <description>Hello - Can anybody suggest how I can control vxfs mount options for individual filesystems mounted by SG package scripts. A cluster I currently maintain mounts my Oracle data areas as so:&lt;BR /&gt;&lt;BR /&gt;/dev/vg02/lvol1 /data/u01 vxfs  log        0 0&lt;BR /&gt;/dev/vg02/lvol2 /data/u02 vxfs  log        0 0&lt;BR /&gt;&lt;BR /&gt;I would like to configure it so it mounts these datafile areas using raw i/o. i.e:&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/lvol8   /legend/oradata6     vxfs  delaylog,mincache=direct,convosync=direct   0 0&lt;BR /&gt;&lt;BR /&gt;There are other filesystems mounted by SG packages whose mount options I do not wish to affect.&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2001 10:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556859#M715033</guid>
      <dc:creator>phil cook</dc:creator>
      <dc:date>2001-07-25T10:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556860#M715034</link>
      <description>which version of Sg are you using?&lt;BR /&gt;the later versions have examples in the script files for mount options, as in:&lt;BR /&gt;&lt;BR /&gt;# For example, if this package uses the file systems pkg1a and pkg1b,&lt;BR /&gt;# which are mounted on the logical volumes lvol1 and lvol2 with read and&lt;BR /&gt;# write options enter:&lt;BR /&gt;#          LV[0]=/dev/vg01/lvol1; FS[0]=/pkg1a; FS_MOUNT_OPT[0]="-o rw"&lt;BR /&gt;#          LV[1]=/dev/vg01/lvol2; FS[1]=/pkg1b; FS_MOUNT_OPT[1]="-o rw"&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2001 11:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556860#M715034</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-07-25T11:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556861#M715035</link>
      <description>Thanks for your reply. My pkg control scripts have this entry:&lt;BR /&gt;&lt;BR /&gt; FILESYSTEMS&lt;BR /&gt;# Define the filesystems which are used by this package. The filesystems&lt;BR /&gt;# are defined as pairs of entries specifying the logical volume and the&lt;BR /&gt;# mount point for the file system. Each filesystem will be fsck'd prior&lt;BR /&gt;# to being mounted. The filesystems will be mounted in the order specified&lt;BR /&gt;# during package startup and will be unmounted in reverse order during&lt;BR /&gt;# package shutdown. Ensure that volume groups referenced by the logical&lt;BR /&gt;# volume definitions below are included in volume group definitions&lt;BR /&gt;# above.&lt;BR /&gt;#&lt;BR /&gt;# Example: LV[0]=/dev/vg01/lvol1; FS[0]=/pkg1&lt;BR /&gt;#          LV[1]=/dev/pkg2/lvol1; FS[1]=/pkg2&lt;BR /&gt;#&lt;BR /&gt;LV[0]="/dev/vg02/lvol1"; FS[0]="/data/u01"&lt;BR /&gt;LV[1]="/dev/vg02/lvol2"; FS[1]="/data/u02"&lt;BR /&gt;LV[2]="/dev/vg03/lvol1"; FS[2]="/data/u03"&lt;BR /&gt;LV[3]="/dev/vg03/lvol4"; FS[3]="/data/u04"&lt;BR /&gt;&lt;BR /&gt;So I suspect this means I am running an older version of SG? Bit disappointing.&lt;BR /&gt;&lt;BR /&gt;Phil C</description>
      <pubDate>Wed, 25 Jul 2001 11:13:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556861#M715035</guid>
      <dc:creator>phil cook</dc:creator>
      <dc:date>2001-07-25T11:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556862#M715036</link>
      <description>Phil,&lt;BR /&gt;&lt;BR /&gt;You could always leave your filesystems out of that section altogether and mount them manually in the customer_defined_start/halt procedures.  Just use the command you gave.  I assume you have Online JFS (recent version and patches) required for the mincache=direct option.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 25 Jul 2001 11:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556862#M715036</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2001-07-25T11:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556863#M715037</link>
      <description>so which SG version are you running?&lt;BR /&gt;it may be worthwhile you upgrading SG to the current Platform release of 11.09 for supportability, andthis  will give you the new features.&lt;BR /&gt;to check, use swlist or do:&lt;BR /&gt;what /usr/lbin/cmcld&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2001 11:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556863#M715037</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-07-25T11:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556864#M715038</link>
      <description>Swlist reports the following:&lt;BR /&gt;&lt;BR /&gt;lara:/usr/local/bin # swlist | grep Service&lt;BR /&gt;  B3935BA                       A.10.10        MC / Service Guard&lt;BR /&gt;  PHSS_15531                    B.10.00.00.AA  MC/ServiceGuard A.10.10 Cummulative patch&lt;BR /&gt;lara:/usr/local/bin #&lt;BR /&gt;&lt;BR /&gt;So perhaps I should consider upgrading as you say.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Wed, 25 Jul 2001 12:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556864#M715038</guid>
      <dc:creator>phil cook</dc:creator>
      <dc:date>2001-07-25T12:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556865#M715039</link>
      <description>ServiceGuard 10.12 will ALSO give you the changes I mentioned, so not such a big upgrade path :-}&lt;BR /&gt;Also dont forget the latest SG patch for the veriosn you load, and remember, these patches are NEVER on the patch bundle CD's ;-}&lt;BR /&gt;&lt;BR /&gt;HTH &lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2001 12:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556865#M715039</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-07-25T12:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556866#M715040</link>
      <description>The latest version for HPUX 10.20 is SG 10.12 (+patches). However, I'm pretty sure that the default 10.10 script provide the FS_MOUT_OPT arrays. You can check with&lt;BR /&gt;&lt;BR /&gt;# cd /tmp&lt;BR /&gt;# cmmakepkg -s dummy&lt;BR /&gt;# vi dummy&lt;BR /&gt;&lt;BR /&gt;You can then start to update your scripts. &lt;BR /&gt;&lt;BR /&gt;In fact I would first check your present scripts and search in them for the string FS_MOUNT_OPT. If you see a line similar to&lt;BR /&gt;&lt;BR /&gt;mount ${FS_MOUNT_OPT[$F]} $I ${FS[$F]}&lt;BR /&gt;&lt;BR /&gt;in the function check_and_mount() the comments in the top of the file might simply been deleted and your script already supports filesystem options.&lt;BR /&gt;&lt;BR /&gt;Carsten</description>
      <pubDate>Wed, 25 Jul 2001 12:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556866#M715040</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-07-25T12:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556867#M715041</link>
      <description>Your right Carsten. The dummy script created does contain those examples re mount options. Confused as to why then the script that mounts as per defined in this file does not contain any reference to mount options:&lt;BR /&gt;&lt;BR /&gt;lv_mount()&lt;BR /&gt;{&lt;BR /&gt;    j=$1&lt;BR /&gt;    while [ $j -lt $(($1 + $2)) ]&lt;BR /&gt;    do&lt;BR /&gt;        mount ${LV[$j]} ${FS[$j]} &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;        if [ $? -ne 0 ]&lt;BR /&gt;        then&lt;BR /&gt;            message "ERROR: Failed to mount ${FS[$j]}"&lt;BR /&gt;            j=$(($j - 1))&lt;BR /&gt;            while [ $j -ge 0 ]&lt;BR /&gt;            do&lt;BR /&gt;                umount ${FS[$j]} &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;                if [ $? -ne 0 ]&lt;BR /&gt;                then&lt;BR /&gt;                    message "ERROR: Failed to unmount file system ${FS[$j]}"&lt;BR /&gt;                fi&lt;BR /&gt;                j=$(($j - 1))&lt;BR /&gt;            done&lt;BR /&gt;            return 1&lt;BR /&gt;        fi&lt;BR /&gt;        j=$(($j + 1))&lt;BR /&gt;    done&lt;BR /&gt;    return 0&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Has this installation been messed with in some way? It seems from this that should I change the pkg config script to include options, the mount script will ignore them anyway?&lt;BR /&gt;&lt;BR /&gt;Phil C</description>
      <pubDate>Wed, 25 Jul 2001 12:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556867#M715041</guid>
      <dc:creator>phil cook</dc:creator>
      <dc:date>2001-07-25T12:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556868#M715042</link>
      <description>My guess is thaht the scripts were done on an older version of SG, and then the SG version was upgraded without merging in the newer script options (as is normal ;-{ )&lt;BR /&gt;So you coul dprobably just recreate your scripts now and merge in the current information while tajking the opprotunity to use the new functionality&lt;BR /&gt;&lt;BR /&gt;All good fun, they say</description>
      <pubDate>Wed, 25 Jul 2001 12:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556868#M715042</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-07-25T12:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556869#M715043</link>
      <description>The good news is that you don't need to update then. The bad news is that your current package script is from an ooooooold SG version. Probably the cluster has been updated earlier and the scripts of the old version were simply re-used (which is ok). &lt;BR /&gt;&lt;BR /&gt;The best is to move your package control file to the new script versions, you get with "cmmakepkg -s". &lt;BR /&gt;&lt;BR /&gt;Carsten&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2001 12:43:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556869#M715043</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-07-25T12:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556870#M715044</link>
      <description>Ok chaps thanks very much for your advice, it's been very useful. I will try &amp;amp; regenerate the scripts on my uat node. &lt;BR /&gt;&lt;BR /&gt;Best Rgds&lt;BR /&gt;&lt;BR /&gt;Phil C</description>
      <pubDate>Wed, 25 Jul 2001 13:15:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556870#M715044</guid>
      <dc:creator>phil cook</dc:creator>
      <dc:date>2001-07-25T13:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556871#M715045</link>
      <description>I've now tried regenerating these scripts &amp;amp; although it's a little laborious copying in all your package settings it's worked first time.&lt;BR /&gt;&lt;BR /&gt;Are there any other elements besides package control &amp;amp; config scripts that I should update for consistency?&lt;BR /&gt;&lt;BR /&gt;Many thanks</description>
      <pubDate>Wed, 25 Jul 2001 18:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556871#M715045</guid>
      <dc:creator>phil cook</dc:creator>
      <dc:date>2001-07-25T18:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Mount options using ServiceGuard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556872#M715046</link>
      <description>No, not for consistency. &lt;BR /&gt;&lt;BR /&gt;The unfortunate thing is that SG does not separate the base package control script from the customizable parts of the script. This way the base script could be easily patched and customers would not need to incorporate updates/changes/fixes of the base script by cut&amp;amp;paste.&lt;BR /&gt;&lt;BR /&gt;Carsten</description>
      <pubDate>Fri, 27 Jul 2001 05:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-options-using-serviceguard/m-p/2556872#M715046</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-07-27T05:36:43Z</dc:date>
    </item>
  </channel>
</rss>

