免费注册 查看新帖 |

Chinaunix

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

[已解决]solaris系统下做veritas VM配置,一直报“Invalid disk device for vxdiskset [复制链接]

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-03-25 20:19 |只看该作者 |倒序浏览
本帖最后由 raoyunjia 于 2014-03-27 15:14 编辑

背景:磁阵sun 6180上有5个磁盘,我对最后一个磁盘做成 hot spare ,热备份。然后剩余的4个磁盘做成RAID5。在这个RAID5中,我划分了3个磁盘卷。
然后,通过光纤连接到主机 M4000上。然后使用这个命令“# /etc/vx/bin/vxdisksetup -if sun6180-0_0”。为什么老是反馈错误??请不吝赐教。
VxVM vxdisksetup ERROR V-5-2-43 sun6180-0_0: Invalid disk device for vxdisksetup
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
disk_0       auto:SVM        -            -            SVM
disk_1       auto:SVM        -            -            SVM
sun6180-0_0  auto:none       -            -            online invalid
sun6180-0_1  auto:none       -            -            online invalid
sun6180-0_2  auto:none       -            -            online invalid
# vxdisk path
SUBPATH                     DANAME               DMNAME       GROUP        STATE
c0t1d0s2                    disk_0               -            -            ENABLED
c0t0d0s2                    disk_1               -            -            ENABLED
c1t4d0s2                    sun6180-0_0          -            -            ENABLED        ///说明,这3个应该是我创建的3个卷
c1t4d1s2                    sun6180-0_1          -            -            ENABLED        ///说明,这3个应该是我创建的3个卷
c1t4d2s2                    sun6180-0_2          -            -            ENABLED        ///说明,这3个应该是我创建的3个卷
# format   
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0
       1. c0t1d0 <SEAGATE-ST914603SSUN146G-0B70 cyl 14087 alt 2 hd 24 sec 848>
          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@1,0
       2. c1t4d0 <SUN-SUN_6180-0760 cyl 51198 alt 2 hd 128 sec 64>       ///说明,这3个应该是我创建的3个卷
          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w20150080e518cbe4,0
       3. c1t4d1 <SUN-SUN_6180-0760 cyl 44798 alt 2 hd 256 sec 64>       ///说明,这3个应该是我创建的3个卷
          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w20150080e518cbe4,1
       4. c1t4d2 <SUN-SUN_6180-0760 cyl 35838 alt 2 hd 256 sec 64>       ///说明,这3个应该是我创建的3个卷
          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w20150080e518cbe4,2
Specify disk (enter its number): ^C
#
# bash
bash-3.2# /etc/vx/bin/vxdisksetup -if        
bash-3.2# /etc/vx/bin/vxdisksetup -if c1t4d0
VxVM vxdisksetup ERROR V-5-2-43 c1t4d0: Invalid disk device for vxdisksetup
bash-3.2# /etc/vx/bin/vxdisksetup -if c1t4d0
VxVM vxdisksetup ERROR V-5-2-43 c1t4d0: Invalid disk device for vxdisksetup
bash-3.2# /etc/vx/bin/vxdisksetup -if sun6180-0_0
VxVM vxdisksetup ERROR V-5-2-43 sun6180-0_0: Invalid disk device for vxdisksetup
bash-3.2#
bash-3.2#

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
2 [报告]
发表于 2014-03-26 10:36 |只看该作者
Unable to initialize a VxVM disk with vxdisksetup after upgrading to Solaris patch 147440-20

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
3 [报告]
发表于 2014-03-26 10:36 |只看该作者
本帖最后由 东方蜘蛛 于 2014-03-26 10:38 编辑

The vxdisksetup command enables you to configure a disk for use with Veritas Volume Manager (VxVM). When using the vxdisksetup command, the following message may appear:

ERROR V-5-2-43 address: Invalid disk device for vxdisksetup

This message is displayed when:
•You provide an invalid device name.
•You use VxVM on Solaris, you have applied Solaris patch 147440-20 or later, and you use the vxdisksetup -i command. In this environment, disk initialization fails. (If the system uses Solaris patch 147440-19 or earlier, vxdisksetup -i works correctly.)

This solution applies to VxVM version 5.1SP1 and later:
•If you entered the device name incorrectly, make sure that you specify the correct, existing device name. If the issue persists, use the following command to rescan the devices in the operating system device tree:
# vxdisk scandisks

This solution applies to VxVM version 5.1SP1RP3 and later:
•If the system includes Solaris patch 1474440-20 or later, do one of the following: •Use the vxdisk init command instead of the vxdisksetup command. For detailed information on these commands, see the following 6.0.1 manual pages:
vxdisk (1M)
vxdisksetup (1M)
Manual pages for other releases can be found on the SORT website.
•Upgrade to the appropriate VxVM patch with the fix for this issue. For details, see:
http://www.symantec.com/docs/TECH194707

论坛徽章:
71
15-16赛季CBA联赛之同曦
日期:2018-08-23 15:41:42辰龙
日期:2014-08-15 09:07:43狮子座
日期:2014-06-03 13:55:33亥猪
日期:2014-06-02 11:17:08巨蟹座
日期:2014-05-06 10:02:03午马
日期:2014-05-04 08:18:27亥猪
日期:2014-04-29 11:11:32技术图书徽章
日期:2014-04-24 15:51:26技术图书徽章
日期:2014-04-17 11:01:53辰龙
日期:2014-04-15 12:45:46亥猪
日期:2014-04-11 09:06:23射手座
日期:2014-04-01 15:28:10
4 [报告]
发表于 2014-03-26 11:46 |只看该作者
试试执行vxinstall
楼上好贴

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
5 [报告]
发表于 2014-03-26 13:00 |只看该作者
蜘蛛兄,我看了你的回复。理解如下,不知是否正确
1.Solaris patch 147440-20 or later,用vxdisksetup -i ,就会不成功。需要其他一些操作。
2.Solaris patch 147440-19 or earlier, 用vxdisksetup -i,就肯定成功。
3.对于solaris系统已经是147440-20或更新一些的,而且VM版本是version 5.1SP1 and later,需要用# vxdisk scandisks,来 重新扫描。rescan。
4.对于solaris系统已经是147440-20或更新一些的,而且VM版本是version 5.1SP1RP3 and later。可以有2个办法解决,任选其一就可以
办法一 •Use the vxdisk init command instead of the vxdisksetup command使用vxdisk init 命令,而不是vxdisksetup命令。
办法二 •Upgrade to the appropriate VxVM patch ,升级 VxVM版本。

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
6 [报告]
发表于 2014-03-26 13:00 |只看该作者
蜘蛛兄,我看了你的回复。理解如下,不知是否正确
1.Solaris patch 147440-20 or later,用vxdisksetup -i ,就会不成功。需要其他一些操作。
2.Solaris patch 147440-19 or earlier, 用vxdisksetup -i,就肯定成功。
3.对于solaris系统已经是147440-20或更新一些的,而且VM版本是version 5.1SP1 and later,需要用# vxdisk scandisks,来 重新扫描。rescan。
4.对于solaris系统已经是147440-20或更新一些的,而且VM版本是version 5.1SP1RP3 and later。可以有2个办法解决,任选其一就可以
办法一 •Use the vxdisk init command instead of the vxdisksetup command使用vxdisk init 命令,而不是vxdisksetup命令。
办法二 •Upgrade to the appropriate VxVM patch ,升级 VxVM版本。

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
7 [报告]
发表于 2014-03-26 13:10 |只看该作者
回复 3# 东方蜘蛛
还有2个问题
1. 怎么在主机上查询我的solaris系统是 patch 147440-19 ,还是更新的 patch 147440-20,或者更新一些的?我安装的solaris光盘是前几天从oracle官网上刚刚下载的,估计是 比patch 147440-20这个还新。
2.怎么在主机上查询VxVM version 。目前知道的是,我的veritas安装光盘上面印刷的是5.1SP1。

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
8 [报告]
发表于 2014-03-26 15:29 |只看该作者
我安装的顺序一般是:安装最新版本的OS,打最新版本的系统补丁,安装VxVM软件,打VxVM的补丁
如果,你没有补丁,bug会比较多,问题也会比较多!

查看单个补丁的情况:
#showrev -p |grep 147440(-19)

查看VxVM版本信息:
#pkginfo -l VRTSvxvm
#vxlicrep

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
9 [报告]
发表于 2014-03-27 15:16 |只看该作者
对Veritas安装了补丁。sfha-sol_sparc-5.1SP1RP4-patches.tar 然后问题解决。谢谢蜘蛛

论坛徽章:
0
10 [报告]
发表于 2014-03-27 17:35 |只看该作者
回复 9# raoyunjia


    注意,601也有这个问题,603 fix了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP