vgdisplay output will tell you for each vg
to see what your system supports, if it has the patch for 2.1 for example use
#lvmadm -t
this will list your versions installed and there options
boot disks can only be lvm 1.0
a) If you ryun anything older than HP-UX 11.31,
you do not have a choice. VG version is 1.0.
b) If you run HP-UX 11.31, you have three
choices for VG versions:
1.0
2.0
2.1
At the present time, VG version 2.x cannot be
used for boot (coming next year).
To check what you have, here are several tricks for HP-UX 11.31:
1. Run:
# lvmadm -l
It shows all types of volume groups
configured on your server.
2. Manual method:
# strings /etc/lvmtab /etc/lvmtab_p
Note that /etc/lvmtab_p is the file
that VG versions 2.x use!!!
3. Check minor numbers for /dev/*/group
files.
# ll /dev/*/group
The minor number for volume group version 1.0
is ALWAYS 64.
The minor number for volume group version 2.x
is ALWAYS 128.
to see what your system supports, if it has the patch for 2.1 for example use
#lvmadm -t
this will list your versions installed and there options
boot disks can only be lvm 1.0
a) If you ryun anything older than HP-UX 11.31,
you do not have a choice. VG version is 1.0.
b) If you run HP-UX 11.31, you have three
choices for VG versions:
1.0
2.0
2.1
At the present time, VG version 2.x cannot be
used for boot (coming next year).
To check what you have, here are several tricks for HP-UX 11.31:
1. Run:
# lvmadm -l
It shows all types of volume groups
configured on your server.
2. Manual method:
# strings /etc/lvmtab /etc/lvmtab_p
Note that /etc/lvmtab_p is the file
that VG versions 2.x use!!!
3. Check minor numbers for /dev/*/group
files.
# ll /dev/*/group
The minor number for volume group version 1.0
is ALWAYS 64.
The minor number for volume group version 2.x
is ALWAYS 128.
0 comments:
Post a Comment