OK.
a) Basic commands: Use the manuals (man <command>)
1) About swap: use the command swapinfo
2) About FS layout : Use bdf
3) About LVM and FS, there are many commands:
vgdisplay, vgcreate... lvdisplay lvcreate, lvextend... pvcreate etc...
For the filesystems it depends if you have OnlineJFS... (fsadm)
But you could be using VXVM so I will not insist...
b)
If you look at the output of lvdisplay for /dev/vg00/lvol2 You see this line:
Just typing vgdisplay vg00 will tell you how many disks are in the volume group (here 2)
but having 2 disks isnt the guarantee you are mirrored, but vgdisplay -v will tell you about all the logical volumes ( each are using 2 disks?)
and lvdisplay will confirm
You could start by lvdisplay but you would have to go through all the logical volumes to be sure...
...
if the root and swap are mirrored on my HP9000
What OS are you familiar with?
in HPUX, you should not have a main root filesystem, the OS by default uses more than just one filesystem when you install it...
In lvm you would have vg00 ( equivalent to AIX rootvg) the volume group used for the OS
And usually you would have:
But you will notice lvol2 doesnt appear => bdf doesnt show swap...
All this to say it doesnt make much sence to only mirror / in this case...
You are to mirror the whole volume group or at least all the OS.
All the same , the system backup tool IgniteUX doesnt backup only / ... (man make_tape_recovery(1M))
root:/ vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4185
Free PE 155
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) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 250
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 375
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 4596
Current LE 1149
Allocated PE 1149
Used PV 1
LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c1t6d0
PV Status available
Total PE 4340
Free PE 155
Autoswitch On
I think that there is no mirror on boot .... correct?
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)
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)
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)
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)
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)
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)
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)
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)
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)