COMMAND WHICH GIVES YOU WHAT DRIVE A FILE RESIDES ON

ITEM: RTA000028165



QUESTION:                                                                       
Customer has a 7013-320H with 2 drives running AIX 3.2.                         
Customer would like to know on what drive a file or filesystem                  
resides.  Is there a command which will give you information on                 
what drive a particular file or filesystem resides?                             
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A:    There is a command that will tell you where a file is located.            
   This command is the 'fileplace' command.  This file is part of the           
   performance tools that are in /usr/lpp/bosperf/fileplace.  The               
   command displays the placement of a file's blocks within a logical           
   or physical volume(s).  For example I issued:                                
                                                                                
   fileplace -p /etc/passwd                                                     
                                                                               
   and was given:                                                               
                                                                                
File: /etc/passwd  Size: 2171 bytes  Vol: /dev/hd4 (4096 byte blks)             
                                                                                
  Physical blocks (mirror copy 1)                          Logical block        
  -------------------------------                          -------------        
  32971       hdisk0           1 blk,      4 KB,  100.0%   00139                
                                                                                
       More information on this command can be found with the                   
   man pages for fileplace.                                                     
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q614996      BXKQS                     
                                                                                
Additional search words:                                                        
AIX ALTERNATE AVAILABILITY AVAILABLE BXKQS CMD COMMAND FILE FILES               
FILESYSTEM INDEX INFO INFORMATION IX JAN93 LOCATED OP RISCOSO                   
RISCSYSTEM SOFTWARE SYS 3.2                                                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000028165 ITEM: RTA000028165
Dated: 11/1996 Category: RISCOSO
This HTML file was generated 99/06/24~12:43:10
Comments or suggestions? Contact us