- 论坛徽章:
- 0
|
我部门用的是hp 9000/800/r380服务器,操作系统是hp -ux 11.0 B,采用mc/service guard的双机热备份,数据库为informix 7.3。外存储系统是hp disk array store E阵列,阵列有5个scsi硬盘,两个控制器x,y。下面是系统的文件系统和逻辑卷的信息:
1。显示磁盘:
r380-1#ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 4 8/4.1.0 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 6 8/4.1.1 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c0t1d1 /dev/rdsk/c0t1d1
disk 8 8/4.1.2 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c0t1d2 /dev/rdsk/c0t1d2
disk 0 8/16/5.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 6x/32x
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 8/16/5.6.0 sdisk CLAIMED DEVICE SEAGATE ST39175LW
/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0
disk 5 10/12.0.0 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
disk 7 10/12.0.1 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c3t0d1 /dev/rdsk/c3t0d1
disk 9 10/12.0.2 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c3t0d2 /dev/rdsk/c3t0d2
2。系统作了三个卷标组vg00,vginf,vglock
r380-1#cd /dev
r380-1#ls v*
vg00:
group lvol2 lvol4 lvol6 lvol8 rlvol2 rlvol4 rlvol6 rlvol8
lvol1 lvol3 lvol5 lvol7 rlvol1 rlvol3 rlvol5 rlvol7
vginf:
group lvdata03 lvlog lvtemp02 rlvdata03 rlvlog rlvtemp02
lvdata01 lvdata04 lvroot rlvdata01 rlvdata04 rlvroot
lvdata02 lvdata05 lvtemp01 rlvdata02 rlvdata05 rlvtemp01
vglock:
group
3.显示物理卷的信息:
r380-1#pvdisplay -v /dev/dsk/c1t6d0 |more(c1t6d0是r380本身的硬盘吧?)
a23y0C--- Physical volumes ---
PV Name /dev/dsk/c1t6d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 4
Total PE 2169
Free PE 843
Allocated PE 1326
Stale PE 0
IO Timeout (Seconds) default
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/lvol1 21 21
/dev/vg00/lvol2 256 256
/dev/vg00/lvol3 35 35
/dev/vg00/lvol4 125 125
/dev/vg00/lvol5 5 5
/dev/vg00/lvol6 200 200
/dev/vg00/lvol7 500 500
/dev/vg00/lvol8 184 184
共8个逻辑卷
。。。。。。。。
r380-1#pvdisplay -v /dev/dsk/c0t1d0 |more
--- Physical volumes ---
PV Name /dev/dsk/c0t1d0
PV Name /dev/dsk/c3t0d0 Alternate Link
VG Name /dev/vginf
PV Status available
Allocatable yes
VGDA 2
Cur LV 9
PE Size (Mbytes) 4
Total PE 2999
Free PE 0
Allocated PE 2999
Stale PE 0
IO Timeout (Seconds) default
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vginf/lvroot 50 50
/dev/vginf/lvlog 250 250
/dev/vginf/lvdata01 500 500
/dev/vginf/lvdata02 500 500
/dev/vginf/lvdata03 500 500
/dev/vginf/lvdata04 500 500
/dev/vginf/lvdata05 500 500
/dev/vginf/lvtemp01 100 100
/dev/vginf/lvtemp02 99 99
共9个逻辑卷
在对其他的磁盘设备文件/dev/dsk/c0t1d1,/dev/dsk/c0t1d2,/dev/dsk/c3t0d1,/dev/dsk/c3t0d2进行物理卷显示提示如下:
r380-1#pvdisplay -v /dev/dsk/c0t1d1或者/dev/dsk/c0t1d2,/dev/dsk/c3t0d1,/dev/dsk/c3t0d2
pvdisplay: Couldn\'t find the volume group to which
physical volume \"/dev/dsk/c0t1d1\" belongs.
pvdisplay: Cannot display physical volume \"/dev/dsk/c0t1d1\".
为什么?为什么/dev/dsk/c3t0d0 作了 Alternate Link
,有什么好处?
4.显示disk array的信息
r380-1#arraydsp -v 00000025F9ED
Vendor ID = HP
Product ID = C5447A
Array serial number = 00000025F9ED
----------------------------------------------------
Raid 0/1 blocks = 2484608
Raid 0/1 block length = 512
Raid 0/1 capacity = 1213 MB *
r380-1#arraydsp /dev/rdsk/c0t1d0
或/dev/rdsk/c0t1d1,/dev/rdsk/c0t1d2,/dev/rdsk/c3t0d1,/dev/rdsk/c3t0d2
Vendor ID = HP
Product ID = C5447A
Array serial number = 00000025F9ED
----------------------------------------------------
Array State = READY
Server name = r380-1
Array type = 3
Mfg. Product Code = IJMTU00004
--- Disk space usage --------------------
Total physical = 43416 MB *
Allocated to LUNs = 16200 MB *
Used as Active Hot spare = 8683 MB *
Used by non-included disks = 0 MB *
Used for Redundancy = 10503 MB *
Unallocated (avail for LUNs) = 8030 MB *
-----------------------------------------
能否将多个阵列中的scsi硬盘,做成了一个物理卷?
我猜测,本部门的系统的卷标组vginf(阵列的物理存储设备,原始数据区和交换区?)来存储数据库的数据,卷标组vg00来存储系统文件系统。
r380-1#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 25876 110155 19% /
/dev/vg00/lvol1 83733 35123 40236 47% /stand
/dev/vg00/lvol8 753664 285642 438809 39% /var
/dev/vg00/lvol7 2048000 1329704 673424 66% /usr
/dev/vg00/lvol6 819200 192465 587608 25% /opt
/dev/vg00/lvol5 20480 1130 18142 6% /home
/dev/vg00/lvol4 512000 13113 467764 3% /tmp
问题:
1。能否给我分析该系统的文件系统和硬件存储系统、逻辑卷的关系
2。怎样确切的知道数据库informix的数据文件存储的地方?
3。怎样对一个卷标组进行输出/输入?
14[/SIZE] 20[/SIZE] 23[/COLOR] 457[/FONT] :p |
|