Sponsored Content
Operating Systems HP-UX Mirrored root and swap HP9000 machine Post 302252331 by vbe on Wednesday 29th of October 2008 09:44:04 AM
Old 10-29-2008
Well
Code:
ant:/home/vbe $ /usr/sbin/vgdisplay -v vg00
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255    
Cur LV                      14     
Open LV                     14     
Max PV                      16     
Cur PV                      2      
Act PV                      2      
Max PE per PV               4350         
VGDA                        4   
PE Size (Mbytes)            8               
Total PE                    8680    
Alloc PE                    7840    
Free PE                     840     
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                  38        
   Allocated PE                76          
   Used PV                     2       

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/syncd           
   LV Size (Mbytes)            4000            
   Current LE                  500       
   Allocated PE                1000        
   Used PV                     2       

   LV Name                     /dev/vg00/lvol3
   LV Status                   available/syncd           
   LV Size (Mbytes)            352             
   Current LE                  44        
   Allocated PE                88          
   Used PV                     2       

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

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

   LV Name                     /dev/vg00/lvol6
   LV Status                   available/syncd           
   LV Size (Mbytes)            3400            
   Current LE                  425       
   Allocated PE                850         
   Used PV                     2       

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

   LV Name                     /dev/vg00/lvol8
   LV Status                   available/syncd           
   LV Size (Mbytes)            3000            
   Current LE                  375       
   Allocated PE                750         
   Used PV                     2       

   LV Name                     /dev/vg00/lvol9
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  512       
   Allocated PE                1024        
   Used PV                     2       

   LV Name                     /dev/vg00/lvol10
   LV Status                   available/syncd           
   LV Size (Mbytes)            904             
   Current LE                  113       
   Allocated PE                226         
   Used PV                     2       

   LV Name                     /dev/vg00/lvol11
   LV Status                   available/syncd           
   LV Size (Mbytes)            2000            
   Current LE                  250       
   Allocated PE                500         
   Used PV                     2       

   LV Name                     /dev/vg00/lvol12
   LV Status                   available/syncd           
   LV Size (Mbytes)            904             
   Current LE                  113       
   Allocated PE                226         
   Used PV                     2       

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

   LV Name                     /dev/vg00/swap3
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  512       
   Allocated PE                1024        
   Used PV                     2       


   --- Physical volumes ---
   PV Name                     /dev/dsk/c2t2d0
   PV Status                   available                
   Total PE                    4340    
   Free PE                     420     
   Autoswitch                  On        
   Proactive Polling           On               

   PV Name                     /dev/dsk/c1t2d0
   PV Status                   available                
   Total PE                    4340    
   Free PE                     420     
   Autoswitch                  On        
   Proactive Polling           On

One vg , 2 pv , all lvol use 2 pv
Code:
ant:/home/vbe $ /usr/sbin/swapinfo
             Kb      Kb      Kb   PCT  START/      Kb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev     4096000       0 4096000    0%       0       -    1  /dev/vg00/lvol2
dev     4194304       0 4194304    0%       0       -    1  /dev/vg00/swap3
dev     4194304       0 4194304    0%       0       -    0  /dev/esvg01/lvol2
reserve       - 1395040 -1395040
memory  6477440 1540528 4936912   24%
ant:/home/vbe $ /usr/sbin/lvdisplay /dev/vg00/lvol2
--- Logical volumes ---
LV Name                     /dev/vg00/lvol2
VG Name                     /dev/vg00
LV Permission               read/write   
LV Status                   available/syncd           
Mirror copies               1            
Consistency Recovery        MWC                 
Schedule                    parallel     
LV Size (Mbytes)            4000            
Current LE                  500       
Allocated PE                1000        
Stripes                     0       
Stripe Size (Kbytes)        0                   
Bad block                   off          
Allocation                  strict/contiguous         
IO Timeout (Seconds)        default

Looking at swapinfo choose lvol2...
lvdisplay confirms...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Upgrade HP9000 HP-UX 10.20 to 11.00

To all expert members, i need your help. We have an existing HP9000 K-Class 32-bit with HP-UX 10.20 OS installed and we would like to upgrade it to HP-UX 11.00. I am not really confident in doing upgrades in our system because i don't have any experience or trainings on this. If somebody can... (3 Replies)
Discussion started by: Tris
3 Replies

2. Solaris

restore mirrored root

Hi, I have an ultra60 SUN Server with Solaris 10 4/04 S.O. installed on. I mirrored root disk and now I try to restore this. I simulate that I have lose the root FS, not for a hardware faillure but for a software problem and I can't use "meta"commands for using a good submirror. I must restore... (1 Reply)
Discussion started by: bonovox
1 Replies

3. Solaris

formula to get the swap space on a machine

Hello there are different opinions on how to get the swap space on Solaris. some say: swap -s and the space= used + available others say swap -l (donno how they get the swap size) other say 'top' command others say using format command (in print sub-command) Could you please advise on... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

4. Solaris

migrate zpool root mirrored to other server by network

I have two servers, the first server is a sun x4170 and i need transfer zpool root (with all system) that this moment is mirror to new server x4200 , i don't now how can i clone , copy o migrate rpool (root) in new server by network. The two servers are different sites. Do i need jumpstart or... (0 Replies)
Discussion started by: bombe
0 Replies

5. SCO

Reset root OR crack old sco 3.2 machine

I have an old compaq running sco 3.2. the old IT guy died and we need to reset the password OR crack into the machine. I have tried mscreen and at exploits but can't seem to get them to work. I have access with other user accounts. This is a machine we own. (4 Replies)
Discussion started by: herot
4 Replies

6. Shell Programming and Scripting

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root user about the accounts. How can i achieve this in Linux? (1 Reply)
Discussion started by: mnmonu
1 Replies

7. HP-UX

HP9000 Container - NFS Issue

I am running HP9000 Containers version A.03.01. I have the container up and running. I now need to mount an exported file system from another HPUX server with both read and write permissions. I can get the mount okay but from the container I cannot read or write properly to the mounted file... (2 Replies)
Discussion started by: PaleRider
2 Replies

8. UNIX for Dummies Questions & Answers

SWAP command not working on Linux machine

Hi I am working on linux machine and swap command is not working Linux Machine On Solaris machine it is working fine: uname -a SunOS rgsm01 5.9 Generic_118558-03 sun4u sparc SUNW,Sun-Fire-V440 swap -s total: 6596320k bytes allocated + 1035968k reserved = 7632288k used, 38893408k available ... (5 Replies)
Discussion started by: Basant Mishra
5 Replies

9. Hardware

HP9000 Server - Stuck on RAID0

Hey all, I've got an old HP9000 L1000 server with HP-UX installed. The drives that the OS is running on are in RAID0. I am concerned for the reliability of the server. The four hard drives in the front of the server are LVD 18.2 drives. I know with RAID0, if one drive fails, they all fail. ... (2 Replies)
Discussion started by: mroselli
2 Replies
All times are GMT -4. The time now is 07:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy