Watching file systems


You can identify file systems that are critical and should be active at certain times.

These watched file systems are continually monitored and data about them is recorded in the history file and then displayed in the FSWATCHZ and FSWATCH views.

>W1 ====FSWATCHZ==========SJSC=====*========DDMMYYYY==HH:MM:SS=========MVUSS=======D==========4
C  File System Name                    FS   Read    Total %Blks %Blks Free Block      Total % F
-- --------------------------------    Type Only   Blocks  Free Unprivlged  Size      Files    
   USS.SJSC.ROOT.ZOS109.D100802        HFS  Yes    549444  0.20       0.18  4096 4294967295  10
   SYSI.IBMOEM.SMS.SYSC.USER.HFS       HFS  No    1260000 44.19      44.18  4096 4294967295  10
   BMVJOJ.USER.HFS                     HFS  No       6840 62.81      62.43  4096 4294967295  10
   BMVJOJ.USER.ZFS                     ZFS  No       4320 69.00      69.00  1024 4294967295   -

Watched file systems are defined in the BBPARM member BBUTSHxx by using the FSSTAT, HFSSTAT, and ZFSSTAT views, as described in the following sections.

Warning

Important

The FMNT data collector must be active to collect data about watched file systems. For more information, see Controlling-data-collectors.


Error
Warning

Watched file systems significantly increase the amount of CPU that the FMNT data collector uses 


To watch a file system

  1. Display the FSSTAT (see the following figure), HFSSTAT, or ZFSSTAT view, depending on the type of file system you want to watch.

     >W1=FSSTAT============SJSCJON5=*========DDMMYYYY==HH:MM:SS====MVUSS====D====3==================
     -   To edit UBBPARM member BBUTSHR0:                                                            
         Command Line: ADD presents a dialog to add a file system                                   
         LINE Command: D - deletes a file system with confirmation                                  
                       E - presents a dialog to edit the line                                       
     C Required File System               Status   Hist System   Start End   File File System Pattern
     - -------------------------------    -------- ---- -------- Time  Time  Type -------------------
       BMVJOJ.USER.HFS                    Active                 00:00 23:59 HFS  BMVJOJ.USER.HFS     
       BMVJOJ.USER.ZFS                    Active   YES           00:00 23:59 ZFS  BMVJOJ.USER.ZFS     
       USS.SJSC.VAR                       Active   YES           00:00 23:59 HFS  USS.&SYSNAME..VAR
  2. Enter the ADD primary command to display the Required FileSystem Information dialog.

                           Required FileSystem Information  
    COMMAND ===>                                              SCROLL ===> CSR
     MVS File System:                                                         
     MVS File Pattern                                                         
     Start Time (hhmm): 0000    End Time (hhmm): 2359                         
     System Id                                                                
     File System Type: FS   (FS, HFS, ZFS, TFS)                               
     Write To History: Y      (Yes, No, Only)                                 
     Desired Mount Point (Optional):  
    END to update BBUTSHxx                                                
    CANcel to exit without update                                         
    HELP to view related help
  3. In the MVS File Pattern field, type the name of the file system to be watched.Watched file system names cannot contain masking characters, but they can contain system symbols. For example, USS.&SYSNAME..VAR might resolve to USS.SJSC.VAR.
  4. (optional ) In the Start Time and End Time fields, enter the time period in which the file should be mounted.The default time period is 0000-2329.
  5. (optional ) Specify the system ID on which the required file system should be running, and an optional mount point.
  6. Save your changes to add the file system name to the BBUTSHxx member and the FSWATCHZ and FSWATCH views.

    Success

    Tip

    You can use the distributed alarm BBUFIL03 to trigger an alarm when the FSSTAT view displays an HFS file system that has a status of Missing. For more information, see Alarm-Management.

To delete a watched file system

On FSSTAT, HFSSTAT, or ZFSSTAT view, use the D line command.The file system is removed from the BBUTSHxx member and the FSWATCHZ and FSWATCH views.

To add a watched file system dynamically

You can dynamically add a file system to the FSWATCHZ and FSWATCH views without updating the BBUTSHxx member. These file systems are watched only until the PAS is shut down.

On the FS view, use the W line command or just click on a file system name.

To remove a watched file system dynamically

You can dynamically remove a file system from the FSWATCHZ and FSWATCH views without updating the BBUTSHxx member.

On the FSWATCHZ and FSWATCH view, use the RM line command.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Monitor for UNIX System Services 6.4