Operating System - HP-UX
1753437 Members
5076 Online
108794 Solutions
New Discussion

Make_tape_recovery save_confining failed

 
wangchea
Regular Visitor

Make_tape_recovery save_confining failed

bfepapp#[/opt/ignite/bin]make_tape_recovery -Av
       * Creating local directories for configuration files and archive.

=======  03/22/12 10:50:20 EAT  Started make_tape_recovery. (Thu Mar 22
         10:50:20 EAT 2012)
         @(#) Ignite-UX Revision B.5.4.50
         @(#) net_recovery (opt) $Revision: 10.637 $

       * Testing pax for needed patch
       * Passed pax tests.
       * Checking Versions of Ignite-UX filesets
NOTE:    vgdisplay -v unsuccessful
       * Creating System Configuration.
       * /opt/ignite/bin/save_config -f
         /var/opt/ignite/recovery/2012-03-22,10:50/system_cfg vg00

save_config: error - cannot determine lv "/dev/vg00/lvol2" usage via fstyp
ERROR:   /opt/ignite/bin/save_config failed



=======  03/22/12 10:50:27 EAT  make_tape_recovery completed unsuccessfully

7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: Make_tape_recovery save_config failed

(If you expect people to help, you should not hide your error messages in a "spoiler" block.  You can use the Edit Reply menu option to correct your post.)

wangchea
Regular Visitor

Re: Make_tape_recovery save_confining failed

bfepapp#[/opt/ignite/bin]make_tape_recovery -Av
       * Creating local directories for configuration files and archive.

=======  03/22/12 10:50:20 EAT  Started make_tape_recovery. (Thu Mar 22
         10:50:20 EAT 2012)
         @(#) Ignite-UX Revision B.5.4.50
         @(#) net_recovery (opt) $Revision: 10.637 $

       * Testing pax for needed patch
       * Passed pax tests.
       * Checking Versions of Ignite-UX filesets
NOTE:    vgdisplay -v unsuccessful
       * Creating System Configuration.
       * /opt/ignite/bin/save_config -f
         /var/opt/ignite/recovery/2012-03-22,10:50/system_cfg vg00

save_config: error - cannot determine lv "/dev/vg00/lvol2" usage via fstyp
ERROR:   /opt/ignite/bin/save_config failed

 

=======  03/22/12 10:50:27 EAT  make_tape_recovery completed unsuccessfully


Torsten.
Acclaimed Contributor

Re: Make_tape_recovery save_confining failed

We should start here:

>> NOTE: vgdisplay -v unsuccessful

Post

# vgdisplay -v vg00

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
wangchea
Regular Visitor

Re: Make_tape_recovery save_confining failed

bfepapp#[/]vgdisplay -v vg00
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255    
Cur LV                      12     
Open LV                     12     
Max PV                      16     
Cur PV                      2      
Act PV                      2      
Max PE per PV               4384         
VGDA                        4   
PE Size (Mbytes)            16              
Total PE                    8748    
Alloc PE                    4984    
Free PE                     3764    
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     

   --- Logical volumes ---
   LV Name                     /dev/vg00/lvol1
   LV Status                   available/syncd           
   LV Size (Mbytes)            304             
   Current LE                  19        
   Allocated PE                19          
   Used PV                     1       

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  256       
   Allocated PE                256         
   Used PV                     1       

   LV Name                     /dev/vg00/lvol3
   LV Status                   available/syncd           
   LV Size (Mbytes)            2048            
   Current LE                  128       
   Allocated PE                128         
   Used PV                     1       

   LV Name                     /dev/vg00/sapas
   LV Status                   available/syncd           
   LV Size (Mbytes)            20000           
   Current LE                  1250      
   Allocated PE                1250        
   Used PV                     2       

   LV Name                     /dev/vg00/lvol4
   LV Status                   available/syncd           
   LV Size (Mbytes)            6144            
   Current LE                  384       
   Allocated PE                384         
   Used PV                     2       

   LV Name                     /dev/vg00/lvol5
   LV Status                   available/syncd           
   LV Size (Mbytes)            32              
   Current LE                  2         
   Allocated PE                2           
   Used PV                     1       

   LV Name                     /dev/vg00/lvol6
   LV Status                   available/syncd           
   LV Size (Mbytes)            10240           
   Current LE                  640       
   Allocated PE                640         
   Used PV                     1       

   LV Name                     /dev/vg00/lvol7
   LV Status                   available/syncd           
   LV Size (Mbytes)            15360           
   Current LE                  960       
   Allocated PE                960         
   Used PV                     2       

   LV Name                     /dev/vg00/lvol8
   LV Status                   available/syncd           
   LV Size (Mbytes)            4608            
   Current LE                  288       
   Allocated PE                288         
   Used PV                     1       

   LV Name                     /dev/vg00/lvol9
   LV Status                   available/syncd           
   LV Size (Mbytes)            16000           
   Current LE                  1000      
   Allocated PE                1000        
   Used PV                     1       

   LV Name                     /dev/vg00/nbu_iso
   LV Status                   available/syncd           
   LV Size (Mbytes)            704             
   Current LE                  44        
   Allocated PE                44          
   Used PV                     1       

   LV Name                     /dev/vg00/jtitsm
   LV Status                   available/syncd           
   LV Size (Mbytes)            208             
   Current LE                  13        
   Allocated PE                13          
   Used PV                     1       


   --- Physical volumes ---
   PV Name                     /dev/dsk/c0t6d0
   PV Status                   available                
   Total PE                    4374    
   Free PE                     0       
   Autoswitch                  On        
   Proactive Polling           On               

   PV Name                     /dev/dsk/c3t6d0
   PV Status                   available                
   Total PE                    4374    
   Free PE                     3764    
   Autoswitch                  On        
   Proactive Polling           On 

Torsten.
Acclaimed Contributor

Re: Make_tape_recovery save_confining failed

Looks not so bad so far.

Please do

# swapinfo -tam

# lvlnboot -v

# save_config -f /var/tmp/myconfig

post the results and contents of /var/tmp/myconfig

 

 

 

 

I took a quick look into the save_config script. It is trying to do the "fstyp", on error it is checking if this is SWAP. Obviously there is something wrong here with your system. It gets the error, but it cannot confirm LVOL2 as swap...


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
wangchea
Regular Visitor

Re: Make_tape_recovery save_confining failed

hi:

 

     What should I do now?

 

bfepapp#[/var/tmp]fstyp -v /dev/vg00/lvol2
UX:vxfs fstyp: ERROR: V-3-20012: not a valid vxfs file system
unknown_fstyp (no matches)

 

bfepapp#[/]swapinfo -atm
             Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2
dev       16000       0   16000    0%       0       -    1  /dev/vg00/lvol9
reserve       -   20096  -20096
memory    32741    5644   27097   17%
total     52837   25740   27097   49%       -       0    -


bfepapp#[/]lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
        /dev/dsk/c3t6d0 (1/0/1/1/0/1/1.6.0)
Boot: lvol1     on:     /dev/dsk/c0t6d0
Root: lvol3     on:     /dev/dsk/c0t6d0
Swap: lvol2     on:     /dev/dsk/c0t6d0
Dump: lvol2     on:     /dev/dsk/c0t6d0, 0

lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vglock".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/EPSAPVG".


bfepapp#[/]save_config -f /var/tmp/myconfig
save_config: error - cannot determine lv "/dev/vg00/lvol2" usage via fstyp

Bill Hassell
Honored Contributor

Re: Make_tape_recovery save_confining failed

lvol2 is your primary swap -- it cannot have a filesystem on it. You must have a bad entry in fstab.

There is no need to list the primary swap area in fstab. If you want it listed, it should look like this:

 

     /dev/vg00/lvol2     __swap2__   swap defaults 0 0



Bill Hassell, sysadmin