Differences between LVM operations on HP-UX and Aix

Source: Internet
Author: User

1. view what VG is there. A. View on the HP-UX 1) view # vgdisplay by command
--- Volume groups ---
VG name/dev/vg00
VG write access read/write
VG status available
Max lv255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
Vgda 4
PE size (Mbytes) 32
Total PE 8748
Alloc PE 4178.
Free PE 4570
Total PVG 0
Total spare PVS 0
Total spare PVS in use 0 vgdisplay: volume group not activated.
Vgdisplay: cannot display volume group "/dev/oradzgl ". note: The last two lines indicate that the VG/dev/oradzgl is not activated. 2) view # strings/etc/lvmtab through the file.
/Dev/vg00
/Dev/DSK/c7t0d0
/Dev/DSK/c7t1d0
/Dev/oradzgl
/Dev/DSK/c16t0d0
/Dev/DSK/c16t0d1
/Dev/DSK/c16t0d2
/Dev/DSK/c16t0d3
/Dev/DSK/c18t0d0
/Dev/DSK/c18t0d1
/Dev/DSK/c18t0d2
/Dev/DSK/c18t0d B. View on AIX 1) view through commands # lsvg
Rootvg 2. activate VG/activate vg. 1) Activate VG # vgchange-A y vg_name 2) to activate VG # vgchange-a n vg_name B. 1) Activate VG # varyonvg vg_name 2) Activate VG # varyoffvg vg_name 3. view the PVS contained in VG. view # strings/etc/lvmtab on the HP-UX
/Dev/vg00
/Dev/DSK/c7t0d0
/Dev/DSK/c7t1d0
/Dev/oradzgl
/Dev/DSK/c16t0d0
/Dev/DSK/c16t0d1
/Dev/DSK/c16t0d2
/Dev/DSK/c16t0d3
/Dev/DSK/c18t0d0
/Dev/DSK/c18t0d1
/Dev/DSK/c18t0d2
/Dev/DSK/c18t0d B. Check # lsvg-P vg_name # lsvg-P rootvg on Aix.
Rootvg:
Pv_name PV State total PPS free distribution
Hdisk0 active 546 341 69... 00... 54... 109... 109
Hdisk1 active 546 345 28 .. 33 .. 66 .. 109 .. 109 4. check that VG contains those lv. view # ll/dev/vg_namell/dev/oradzgl on the HP-UX
Total 0
BRW-r ----- 1 Oracle DBA 64 0x04001c Aug 28 06:18 archive_log
BRW-r ----- 1 Oracle DBA 64 0x040007 Aug 28 06:18 bdfpdyb
BRW-r ----- 1 Oracle DBA 64 0x040008 Aug 28 06:18 bdggb
CrW-r ----- 1 Oracle DBA 64 0x040008 Aug 28 06:18 rbdggb
CrW-r ----- 1 Oracle DBA 64 0x040009 Aug 28 06:18 rbdhxb
CrW-r ----- 1 Oracle DBA 64 0x040022 Aug 28 06:18 rbdhxb01
CrW-r ----- 1 Oracle DBA 64 0x040001 Aug 28 06:18 rcontrol01
CrW-r ----- 1 Oracle DBA 64 0x040002 Aug 28 06:18 rcontrol02
CrW-r ----- 1 Oracle DBA 64 0x040003 Aug 28 rcontrol03 B. view # lsvg-l vg_namelsvg-l rootvg on AIX
Rootvg:
LV name type lps pps pvs lv state mount point
Hd5 boot 1 2 2 closed/syncd N/
Hd6 paging 4 8 2 open/syncd N/
Hd8 jfs2log 1 2 2 open/syncd N/
Hd4 jfs2 1 2 2 open/syncd/
Hd2 jfs2 12 24 2 open/syncd/usr
Hd9var jfs2 12 24 2 open/syncd/var
Hd3 jfs2 8 16 2 open/syncd/tmp
Hd1 jfs2 8 16 2 open/syncd/home
Hd10opt jfs2 1 2 open/syncd/OPT
Lg_dumplv sysdump 4 4 1 Open/syncd N/
Lvoracle jfs2 40 80 2 open/syncd/u01
Lvsoftware jfs2 32 64 2 open/syncd/software
Lvoradata jfs2 81 162 2 open/syncd/oradata

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.