免费注册 查看新帖 |

Chinaunix

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

[求助] [已解决]rx2600上dd一块73G的硬盘,一下午了,到现在还是没成功 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-05-16 16:20 |只看该作者 |倒序浏览
本帖最后由 lbseraph 于 2013-05-21 11:37 编辑

RX2600上 dd 一块73G的硬盘,一下午了,到现在还是没成功
# ioscan -fnCdisk
Class     I  H/W Path       Driver S/W State   H/W Type     Description
=======================================================================
disk      2  0/0/2/0.0.0.0  sdisk   CLAIMED     DEVICE       TEAC    DV-28E-N
                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
disk      1  0/1/1/0.0.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373405LC
                           /dev/dsk/c2t0d0     /dev/dsk/c2t0d0s2   /dev/rdsk/c2t0d0    /dev/rdsk/c2t0d0s2
                           /dev/dsk/c2t0d0s1   /dev/dsk/c2t0d0s3   /dev/rdsk/c2t0d0s1  /dev/rdsk/c2t0d0s3
disk      0  0/1/1/0.1.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373405LC
                           /dev/dsk/c2t1d0     /dev/dsk/c2t1d0s2   /dev/rdsk/c2t1d0    /dev/rdsk/c2t1d0s2
                           /dev/dsk/c2t1d0s1   /dev/dsk/c2t1d0s3   /dev/rdsk/c2t1d0s1  /dev/rdsk/c2t1d0s3
原统装在/dev/rdsk/c2t1d0    ,
# dd if=/dev/rdsk/c2t1d0 of=/dev/rdsk/c2t0d0 bs=16384k &

dd的过程中,建议开iostat来监控读写速度
# iostat 1 1000
#ps -efa|grep dd|grep if|grep -v grep|wc -l  返回值一直为 1

且 more /var/adm/syslog/syslog.log |grep EMS
May 16 13:13:58 demo EMS [5765]: ------ EMS Event Notification ------   Value: "CRITICAL (5)" for Resource: "/system/events/ia64_corehw/core_hw"     (Threshold:  >= " 3")    Execute the following command to obtain event details:   /opt/resmon/bin/resdata -R 377815042 -r /system/events/ia64_corehw/core_hw -n 377815041 -a  有报错
请大侠们帮我看看是什么问题

解决方法见5#

论坛徽章:
0
2 [报告]
发表于 2013-05-16 16:29 |只看该作者
因为我RX2600上两块盘之前是做过镜像的, 昨天我把镜像拆除掉了,做过一次dd,上次的速度很快,大概一个小时左右,做完后,我把做好的拷贝盘放到之前系统盘的槽位,系统无法启动,进到维护模式,重新vgexport/vgimport ,在vgchange 后可以识别到vg 以及lv 但是重新启动后,还是报错
oot device's HP-UX HW path is: 0.1.1.0.1.0
igelan1: INITIALIZING HP PCI 1000Base-T Core at hardware path 0/1/2/0
btlan: Initializing 10/100BASE-TX card at 0/2/1/0....

    System Console is on the Built-In Serial Interface
AF_INET socket/streams output daemon running, pid 32
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM : Failure in attaching PV (dev=0x3000007) to the root volume group.
The physical volume does not exist, or is not configured in the kernel
LVM : Activation of root volume group failed
Quorum not present, or some physical volume(s) are missing
LVM: Rootvgscan skipped due to quorum override
LVM : Failure in attaching PV (dev=0x3000007) to the root volume group.
The physical volume does not exist, or is not configured in the kernel
LVM : Activation of root volume group failed
Quorum not present, or some physical volume(s) are missing


        -----------------------------------------------------
        |                                                   |
        |       SYSTEM HALTING during LVM Configuration     |
        |                                                   |
                Could not configure root VG
            If new kernel, HPUX> boot /stand/vmunix -lm ; pvck -y /dev/rdsk/....
        |                                                   |
        -----------------------------------------------------


Message buffer contents after system crash:

panic: LVM: Configuration failure
Stack Trace:
  IP                  Function Name
  0xe000000001baf020  lv_boothalt+0xf0
  0xe000000001baede0  lvmconf_body+0x680
  0xe000000001c371f0  lvmconf+0x30
  0xe00000000183e6a0  im_lvmconf+0x70
  0xe0000000022e7700  DoCalllist+0x390
End of Stack Trace
所以怀疑dd之前要格式化,所以今天重新把c2t0d0  pvcreate 后再dd 就出现4个多小时还没做完,是什么问题呢

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
3 [报告]
发表于 2013-05-16 19:15 |只看该作者
确实太久了,把/opt/resmon/bin/resdata -R 377815042 -r /system/events/ia64_corehw/core_hw -n 377815041 -a的命令输出贴出来~

论坛徽章:
0
4 [报告]
发表于 2013-05-20 09:57 |只看该作者
lbseraph 发表于 2013-05-16 19:15
确实太久了,把/opt/resmon/bin/resdata -R 377815042 -r /system/events/ia64_corehw/core_hw -n 37781504 ...


谢谢回复
我发现是我把硬盘pvcreate后就特别的慢,但是不pv就顺利完成了     
但是发现新问题

    System Console is on the Built-In Serial Interface
AF_INET socket/streams output daemon running, pid 32
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM : Failure in attaching PV (dev=0x3000007) to the root volume group.
The physical volume does not exist, or is not configured in the kernel
LVM : Activation of root volume group failed
Quorum not present, or some physical volume(s) are missing
LVM: Rootvgscan skipped due to quorum override
LVM : Failure in attaching PV (dev=0x3000007) to the root volume group.
The physical volume does not exist, or is not configured in the kernel
LVM : Activation of root volume group failed
Quorum not present, or some physical volume(s) are missing


        -----------------------------------------------------
        |                                                   |
        |       SYSTEM HALTING during LVM Configuration     |
        |                                                   |
                Could not configure root VG
            If new kernel, HPUX> boot /stand/vmunix -lm ; pvck -y /dev/rdsk/....
        |                                                   |
        -----------------------------------------------------


Message buffer contents after system crash:

panic: LVM: Configuration failure
Stack Trace:
  IP                  Function Name
  0xe000000001baf020  lv_boothalt+0xf0
  0xe000000001baede0  lvmconf_body+0x680
  0xe000000001c371f0  lvmconf+0x30
  0xe00000000183e6a0  im_lvmconf+0x70
  0xe0000000022e7700  DoCalllist+0x390
End of Stack Trace

linkstamp:          Thu Apr 18 18:48:56 EST 2013
_release_version:   @(#) $Revision: vmunix:    B.11.31_LR FLAVOR=perf
Calling function e000000001920fe0 for Shutdown State 1 type 0x2
        i 0 pfn 0x1 pages 0x9f
        i 1 pfn 0x100 pages 0x3f4e4
        i 2 pfn 0x3fb00 pages 0x2c
        i 3 pfn 0x4040000 pages 0xbfd68
        i 4 pfn 0x40ffda4 pages 0x6c
        i 5 pfn 0x40ffe7e pages 0x140

*** A system crash has occurred. (See the above messages for details.)
*** The system is now preparing to dump physical memory to disk, for use
*** in debugging the crash.

ERROR:  Your system crashed before I/O and dump configuration was complete.
        This system does not support a crash dump under these circumstances.
        Contact your HP support representative for assistance.
进维护模式 vgimport 导入vg00 ,vgimport vg00 /dev/dsk/c2t1d0s2;后再vgchange -a y vg00;可以正常vgdisplay
vgdisplay -v vg00
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255   
Cur LV                      9      
Open LV                     9      
Max PV                      16     
Cur PV                      1      
Act PV                      1      
Max PE per PV               4328         
VGDA                        2   
PE Size (Mbytes)            16              
Total PE                    4319   
Alloc PE                    2224   
Free PE                     2095   
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)            1792            
   Current LE                  112      
   Allocated PE                112         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/syncd           
   LV Size (Mbytes)            8192            
   Current LE                  512      
   Allocated PE                512         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol3
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  64        
   Allocated PE                64         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol4
   LV Status                   available/syncd           
   LV Size (Mbytes)            512            
   Current LE                  32        
   Allocated PE                32         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol5
   LV Status                   available/syncd           
   LV Size (Mbytes)            112            
   Current LE                  7         
   Allocated PE                7           
   Used PV                     1      

   LV Name                     /dev/vg00/lvol6
   LV Status                   available/syncd           
   LV Size (Mbytes)            5120            
   Current LE                  320      
   Allocated PE                320         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol7
   LV Status                   available/syncd           
   LV Size (Mbytes)            5008            
   Current LE                  313      
   Allocated PE                313         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol8
   LV Status                   available/syncd           
   LV Size (Mbytes)            8704            
   Current LE                  544      
   Allocated PE                544         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol9
   LV Status                   available/syncd           
   LV Size (Mbytes)            5120            
   Current LE                  320      
   Allocated PE                320         
   Used PV                     1      


   --- Physical volumes ---
   PV Name                     /dev/dsk/c2t1d0s2
   PV Status                   available               
   Total PE                    4319   
   Free PE                     2095   
   Autoswitch                  On        
重新reboot  还是报之前的报错  ,请大侠指教,坐等,先谢谢了

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
5 [报告]
发表于 2013-05-20 13:02 |只看该作者
回复 4# jishunfeng

进维护模式把vg00激活后再按个输入下面的命令,重启再看一下结果:

lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -R
reboot   

论坛徽章:
0
6 [报告]
发表于 2013-05-20 15:21 |只看该作者
版主英明, 按照你说的, 做了一遍,机器已正常启动!  thks  


结贴

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
7 [报告]
发表于 2013-05-21 11:38 |只看该作者
解决就好~其实报错已经告诉你LVM的配置有问题。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
8 [报告]
发表于 2013-05-22 15:57 |只看该作者
dd 跟你pvcreate没关系
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP