免费注册 查看新帖 |

Chinaunix

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

VM更换完rootdisk导致系统无法启动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-29 20:49 |只看该作者 |倒序浏览
screen not found.
Can't open input device.
Keyboard not present.  Using ttya for input and output.
Netra t 1400/1405 (UltraSPARC-II 440MHz), No Keyboard
OpenBoot 3.29, 2048 MB memory installed, Serial #51546842.
Ethernet address 0:3:ba:12:8a:da, Host ID: 83128ada.



Initializing Memory
Rebooting with command: boot
Boot device: disk  File and args:
SunOS Release 5.8 Version Generic_108528-19 64-bit
Copyright 1983-2001 Sun Microsystems, Inc.  All rights reserved.
WARNING: forceload of drv/scsi failed
Short read.  0x2000 chars read
/pci@1f,4000/pci@2/SUNW,isptwo@4 (isp0):
        initiator SCSI ID now 6
/pci@1f,4000/pci@4/SUNW,isptwo@4 (isp1):
        initiator SCSI ID now 6
NOTICE: vxvm:vxio: Cannot open disk ROOTDISK: kernel error 6Cannot mount root on /pseudo/vxio@0:0 fstype ufs


panic[cpu2]/thread=10408000: vfs_mountroot: cannot mount root

0000000010407970 genunix:vfs_mountroot+70 (10436000, 0, 0, 10410970, 10, 14)
  %l0-3: 0000000010436000 0000000010439670 000000007f000000 00000000104361e0
  %l4-7: 0000000000000000 0000000010413708 00000000000bb369 0000000000001369
0000000010407a20 genunix:main+94 (104101b8, 2000, 10407ec0, 10408030, fff2, 10050e9c)
  %l0-3: 0000000000000001 0000000000000001 0000000000000015 0000000000000eec
  %l4-7: 0000000010428f90 00000000104620a8 00000000000d2508 0000000000000508

skipping system dump - no dump device configured
rebooting...
Resetting ...

论坛徽章:
0
2 [报告]
发表于 2008-12-30 03:04 |只看该作者
你是怎么更换root disk的,把你操作的步骤写下。

论坛徽章:
0
3 [报告]
发表于 2008-12-30 12:03 |只看该作者
root@s # vxdctl enable
root@s # vxdiskadm

Volume Manager Support Operations
Menu: VolumeManager/Disk

1      Add or initialize one or more disks
2      Encapsulate one or more disks
3      Remove a disk
4      Remove a disk for replacement
5      Replace a failed or removed disk
6      Mirror volumes on a disk
7      Move volumes from a disk
8      Enable access to (import) a disk group
9      Remove access to (deport) a disk group
10     Enable (online) a disk device
11     Disable (offline) a disk device
12     Mark a disk as a spare for a disk group
13     Turn off the spare flag on a disk
14     Unrelocate subdisks back to a disk
15     Exclude a disk from hot-relocation use
16     Make a disk available for hot-relocation use
17     Prevent multipathing/Suppress devices from VxVM's view
18     Allow multipathing/Unsuppress devices from VxVM's view
19     List currently suppressed/non-multipathed devices
20     Change the disk naming scheme
21     Get the newly connected/zoned disks in VxVM view
list   List disk information


?      Display help about menu
??     Display help about the menuing system
q      Exit from menus

Select an operation to perform: 5


Replace a failed or removed disk
Menu: VolumeManager/Disk/ReplaceDisk

  Use this menu operation to specify a replacement disk for a disk
  that you removed with the "Remove a disk for replacement" menu
  operation, or that failed during use.  You will be prompted for
  a disk name to replace and a disk device to use as a replacement.
  You can choose an uninitialized disk, in which case the disk will
  be initialized, or you can choose a disk that you have already
  initialized using the Add or initialize a disk menu operation.

Select a removed or failed disk [<disk>,list,q,?] list

Disk group: rootdg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm rootdisk_1   -            -        -        -        REMOVED


Select a removed or failed disk [<disk>,list,q,?] rootdisk_1

  The following devices are available as replacements:

        c0t0d0s2

  You can choose one of these disks to replace rootdisk_1.
  Choose "none" to initialize another disk to replace rootdisk_1.

Choose a device, or select "none"
[<device>,none,q,?] (default: c0t0d0s2)

  The requested operation is to use the initialized device c0t0d0s2
  to replace the removed or failed disk rootdisk_1 in disk group rootdg.

Continue with operation? [y,n,q,?] (default: y) y

Use a default private region length for the disk?
[y,n,q,?] (default: y) y

  Replacement of disk rootdisk_1 in group rootdg with disk device
  c0t0d0s2 completed successfully.

Replace another disk? [y,n,q,?] (default: n) n

Volume Manager Support Operations
Menu: VolumeManager/Disk

1      Add or initialize one or more disks
2      Encapsulate one or more disks
3      Remove a disk
4      Remove a disk for replacement
5      Replace a failed or removed disk
6      Mirror volumes on a disk
7      Move volumes from a disk
8      Enable access to (import) a disk group
9      Remove access to (deport) a disk group
10     Enable (online) a disk device
11     Disable (offline) a disk device
12     Mark a disk as a spare for a disk group
13     Turn off the spare flag on a disk
14     Unrelocate subdisks back to a disk
15     Exclude a disk from hot-relocation use
16     Make a disk available for hot-relocation use
17     Prevent multipathing/Suppress devices from VxVM's view
18     Allow multipathing/Unsuppress devices from VxVM's view
19     List currently suppressed/non-multipathed devices
20     Change the disk naming scheme
21     Get the newly connected/zoned disks in VxVM view
list   List disk information


?      Display help about menu
??     Display help about the menuing system
q      Exit from menus

Select an operation to perform: q

Goodbye.
root@smcp1 # vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   162           PARENT/R  0.00% 5/0(1) VXRECOVER rootdisk_1
   163   163     ATCOPY/R 10.00% 0/28731105/2874320 PLXATT home home-01
root@smcp1 # vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP