免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4732 | 回复: 11
打印 上一主题 下一主题

[存储备份] p630换盘疑问 [复制链接]

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-21 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-31 09:28 |只看该作者 |倒序浏览
p630换盘 没有做RAID


一台p630,四块盘,没有hotspare,用户有前几天的备份。AIX 版本5.1。
盘的信息:
        16 Bit LVD SCSI Disk Drive (73400 MB)
        Manufacturer................IBM
        Machine Type and Model......IC35L073UCDY10-0
        FRU Number..................00P3833
        ROS Level and ID............53323846
        Serial Number...............E6WLBZSC
        EC Level....................H32224
        Part Number.................08K0283
        Device Specific.(Z0)........000003029F00013A
        Device Specific.(Z1)........07N4972
        Device Specific.(Z2)........0068
        Device Specific.(Z3)........04141
        Device Specific.(Z4)........0001
        Device Specific.(Z5)........22
        Device Specific.(Z6)........
hdisk0 hdisk1 属于 rootvg,hdisk2 hdisk3 属于datavg,坏的是hdisk2(datavg的)。没有做RAID,换盘应该注意什么,如何实施?

论坛徽章:
0
2 [报告]
发表于 2007-10-31 09:47 |只看该作者
hdisk0 1不用管
2和3做了mirror还是单纯就X2了
前者撤mirror 换盘从做
后者的话 估计整个VG都不可用了
只能靠备份恢复了

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-21 06:20:00
3 [报告]
发表于 2007-10-31 09:59 |只看该作者

回复 #2 psc2001 的帖子

2和3没有做mirror,单纯就X2,用什么命令激活vg,怎么从备份的磁带恢复呢?谢谢!

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
4 [报告]
发表于 2007-10-31 10:06 |只看该作者
VG可以删了重做

怎么备份的就怎么恢复

论坛徽章:
0
5 [报告]
发表于 2007-10-31 10:06 |只看该作者
激活是varyonvg vgname
估计你做会报错,不能激活

从备份恢复要看你备份机制了
backup or tar或者文件系统级之类的备份了

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-21 06:20:00
6 [报告]
发表于 2007-10-31 10:41 |只看该作者

回复 #5 psc2001 的帖子

p630 AIX5.1
rootvg : hdisk0,hdisk1
datavg : hdisk2,hdisk3

没有mirror,没有RAID。

现在hdisk2坏掉,需要换掉。

方法A:将datavg卷组备份--换盘--恢复备份。
方法B:插新盘---将新盘和hdisk2做mirror---拿出hdisk2,解除mirror。

方法A和B哪个更好?需要主要那些细节?谢谢!

论坛徽章:
0
7 [报告]
发表于 2007-10-31 11:00 |只看该作者
原帖由 michael.chen 于 2007-10-31 10:41 发表
p630 AIX5.1
rootvg : hdisk0,hdisk1
datavg : hdisk2,hdisk3

没有mirror,没有RAID。

现在hdisk2坏掉,需要换掉。

方法A:将datavg卷组备份--换盘--恢复备份。
方法B:插新盘---将新盘和hd ...

hdisk2数据可用?
add pv
migratepv
reducevg

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-21 06:20:00
8 [报告]
发表于 2007-10-31 13:31 |只看该作者

回复 #7 psc2001 的帖子

p630只有四个盘位,现在都用了。

论坛徽章:
0
9 [报告]
发表于 2007-11-01 09:57 |只看该作者
干脆把原来的datavg删掉 然后换盘 重建datavg 然后从备份恢复

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-21 06:20:00
10 [报告]
发表于 2007-11-02 14:50 |只看该作者

prtconf输出

System Model: IBM,7028-6C4
Machine Serial Number: 104DC3D
Processor Type: PowerPC_POWER4
Number Of Processors: 2
Processor Clock Speed: 1453 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 1 NULL
Memory Size: 4096 MB
Good Memory Size: 4096 MB
Firmware Version: IBM,RG040322_d75e03_s
Console Login: enable
Auto Restart: true
Full Core: false

Network Information
        Host Name: app_ser2
        IP Address: 172.16.5.19
        Sub Netmask: 255.255.255.0
        Gateway: 172.16.5.2
        Name Server:
        Domain Name:

Paging Space Information
        Total Paging Space: 4096MB
        Percent Used: 9%

Volume Groups Information
==============================================================================
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            546         421         109..41..53..109..109
hdisk1            active            546         431         109..51..53..109..109
==============================================================================

appvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk2            active            546         240         62..00..40..29..109
hdisk3            active            546         520         100..109..93..109..109
==============================================================================

ttsdvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk9            active            503         123         02..00..00..20..101
==============================================================================

INSTALLED RESOURCE LIST

The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
*   = Diagnostic support not available.
        
  Model Architecture: chrp
  Model Implementation: Multiple Processor, PCI bus
        
+ sys0                                                             System Object
+ sysplanar0                                                       System Planar
* pci2             U0.1-P1                                         PCI Bus
* pci10            U0.1-P2                                         PCI Bus
+ ent2             U0.1-P2-I6/E1                                   Gigabit Ethernet-SX PCI-X Adapter (14106802)
* pci11            U0.1-P2                                         PCI Bus
+ ent3             U0.1-P1/E1                                      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
* pci12            U0.1-P2                                         PCI Bus
* pci13            U0.1-P2-I5                                      PCI Bus
+ lai0             U0.1-P2-I5/G1                                   GXT135P Graphics Adapter
* pci1             U0.1-P1                                         PCI Bus
* pci7             U0.1-P2                                         PCI Bus
+ fcs0             U0.1-P2-I4/Q1                                   FC Adapter
* fscsi0           U0.1-P2-I4/Q1                                   FC SCSI I/O Controller Protocol Device
* dac0             U0.1-P2-I4/Q1-W200300A0B813C5BC                 1742-900 (900) Disk Array Controller
* pci8             U0.1-P2                                         PCI Bus
+ scsi2            U0.1-P2/Z3                                      Wide/Fast-20 SCSI I/O Controller
+ rmt0             U0.1-P2/Z3-A0                                   SCSI 4mm Tape Drive (20480 MB)
* pci9             U0.1-P2                                         PCI Bus
+ fcs1             U0.1-P2-I3/Q1                                   FC Adapter
* fscsi1           U0.1-P2-I3/Q1                                   FC SCSI I/O Controller Protocol Device
* dac1             U0.1-P2-I3/Q1-W200200A0B813C5BC                 1742-900 (900) Disk Array Controller
* pci0             U0.1-P1                                         PCI Bus
* isa0             U0.1-P1                                         ISA Bus
+ fda0             U0.1-P1/D1                                      Standard I/O Diskette Adapter
* siokma0          U0.1-P1/K1                                      Keyboard/Mouse Adapter
+ sioka0           U0.1-P1/K1                                      Keyboard Adapter
+ kbd0             U0.1-P1/K1-K1                                   PS/2 keyboard
+ sioma0           U0.1-P1/K1                                      Mouse Adapter
+ mouse0           U0.1-P1/O1-O1                                   3 button mouse
+ ppa0             U0.1-P1/R1                                      CHRP IEEE1284 (ECP) Parallel Port Adapter
+ sa0              U0.1-P1/S1                                      Standard I/O Serial Port
+ tty0             U0.1-P1/S1-L0                                   Asynchronous Terminal
+ sa1              U0.1-P1/S2                                      Standard I/O Serial Port
+ sa2              U0.1-P1/S3                                      Standard I/O Serial Port
* ide0             U0.1-P1/Q6                                      ATA/IDE Controller Device
+ cd0              U0.1-P1/Q6-A0                                   IDE CD-ROM Drive I (650 MB)
* pci3             U0.1-P2                                         PCI Bus
* pci4             U0.1-P2                                         PCI Bus
+ ent0             U0.1-P1/E2                                      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
* pci5             U0.1-P2                                         PCI Bus
+ scsi0            U0.1-P2/Z1                                      Wide/Ultra-3 SCSI I/O Controller
+ hdisk0           U0.1-P2/Z1-A8                                   16 Bit LVD SCSI Disk Drive (73400 MB)
+ hdisk1           U0.1-P2/Z1-A9                                   16 Bit LVD SCSI Disk Drive (73400 MB)
+ hdisk2           U0.1-P2/Z1-Aa                                   16 Bit LVD SCSI Disk Drive (73400 MB)
+ hdisk3           U0.1-P2/Z1-Ab                                   16 Bit LVD SCSI Disk Drive (73400 MB)
* ses0             U0.1-P2/Z1-Af                                   SCSI Enclosure Services Device
+ scsi1            U0.1-P2/Z2                                      Wide/Ultra-3 SCSI I/O Controller
* pci6             U0.1-P2                                         PCI Bus
+ ent1             U0.1-P2-I1/E1                                   Gigabit Ethernet-SX PCI-X Adapter (14106802)
+ L2cache0                                                         L2 Cache
+ mem0                                                             Memory
+ proc0            U0.1-P1-C1                                      Processor
+ proc1            U0.1-P1-C1                                      Processor
+ hdisk5           U0.1-P2-I4/Q1-W200300A0B813C5BC-L1000000000000  1742-900 (900) Disk Array Device
+ hdisk7           U0.1-P2-I4/Q1-W200300A0B813C5BC-L3000000000000  1742-900 (900) Disk Array Device
+ hdisk9           U0.1-P2-I4/Q1-W200300A0B813C5BC-L5000000000000  1742-900 (900) Disk Array Device
+ hdisk4           U0.1-P2-I4/Q1-W200300A0B813C5BC-L0              1742-900 (900) Disk Array Device
+ hdisk6           U0.1-P2-I4/Q1-W200300A0B813C5BC-L2000000000000  1742-900 (900) Disk Array Device
+ hdisk8           U0.1-P2-I4/Q1-W200300A0B813C5BC-L4000000000000  1742-900 (900) Disk Array Device
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP