solaris 450 veritas 更换硬盘

Connection closed by foreign host.
you have mail
# vxdisk list
DEVICE       TYPE      DISK         GROUP        STATUS
RDAC0_0      sliced    -            -            error
RDAC0_1      sliced    -            -            error
c0t1d0s2     sliced    rootdisk2    rootdg       online
c0t2d0s2     sliced    -            -            online
c0t3d0s2     sliced    -            -            error
-            -         rootdisk1    rootdg       failed was:c0t0d0s2
# 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: 4






Remove a disk for replacement
Menu: VolumeManager/Disk/RemoveForReplace


  Use this menu operation to remove a physical disk from a disk
  group, while retaining the disk name.  This changes the state
  for the disk name to a "removed" disk.  If there are any
  initialized disks that are not part of a disk group, you will be
  given the option of using one of these disks as a replacement.


Enter disk name [<disk>,list,q,?] list


Disk group: rootdg


DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE


dm rootdisk1    -            -        -        -        NODEVICE
dm rootdisk2    c0t1d0s2     sliced   2888     71121402 -


Enter disk name [<disk>,list,q,?] c0t0d0s2


  There is no disk named c0t0d0s2 in any disk group configuration.
  To get a list of disks enter "list".


Enter disk name [<disk>,list,q,?] 


  Please enter a disk name, or type "list" to list all disks.


Enter disk name [<disk>,list,q,?] 


  Please enter a disk name, or type "list" to list all disks.


Enter disk name [<disk>,list,q,?] q




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.
# devfsadm


Jul 14 11:54:44 db1 vxfs: WARNING: msgcnt 1 vxfs: mesg 068: ncsize parameter is greater than 80% of the vxfs_ninode parameter; increasing the value of vxfs:vxfs_ninode
Jul 14 11:54:44 db1 sg: VERITAS SCSA Generic Revision: 3.4d
# # format
Searching for disks...done




AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@1,0
       2. c0t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@2,0
       3. c0t3d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@3,0
       4. c2t5d0 <Symbios-StorEDGEA1000-0301 cyl 65533 alt 2 hd 64 sec 67>
          /pseudo/rdnexus@2/rdriver@5,0
       5. c2t5d2 <Symbios-StorEDGEA1000-0301 cyl 17344 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@2/rdriver@5,2
Specify disk (enter its number): ^F^D
# vxdctl enable
# 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 rootdisk1    -            -        -        -        NODEVICE




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


  There is no disk named c0t0d0s2 in any disk group configuration.
  To get a list of disks enter "list".


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


Select disk device to initialize [<address>,list,q,?] list  


DEVICE       DISK         GROUP        STATUS
RDAC0_0      -            -            error
RDAC0_1      -            -            error
c0t0d0       -            -            error
c0t1d0       rootdisk2    rootdg       online
c0t2d0       -            -            online
c0t3d0       -            -            error


Select disk device to initialize [<address>,list,q,?] c0t0d0  


  The requested operation is to initialize disk device c0t0d0 and
  to then use that device to replace the removed or failed disk
  rootdisk1 in disk group rootdg.


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


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


  Replacement of disk rootdisk1 in group rootdg with disk device
  c0t0d0 completed successfully.


Replace another disk? [y,n,q,?] (default: 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.
# vxdisk list
DEVICE       TYPE      DISK         GROUP        STATUS
RDAC0_0      sliced    -            -            error
RDAC0_1      sliced    -            -            error
c0t0d0s2     sliced    rootdisk1    rootdg       online
c0t1d0s2     sliced    rootdisk2    rootdg       online

c0t2d0s2     sliced    -            -            online
c0t3d0s2     sliced    -            -            error
# bash  
bash-2.03# vx       
vx              vxdiskconfig    vxmend          vxrvg
vxassist        vxdmpadm        vxnetd          vxsd
vxclust         vxdump          vxnotify        vxspcshow
vxconfigd       vxedit          vxplex          vxstart_vvr
vxdco           vxibc           vxprint         vxstat
vxdctl          vxinfo          vxrecover       vxtask
vxddladm        vxinstall       vxrecover.wrap  vxtrace
vxdg            vxiod           vxrelayout      vxvol
vxdisk          vxliccheck      vxrestore       
vxdiskadd       vxlicense       vxrlink         
vxdiskadm       vxmake          vxrsync         
bash-2.03# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   160           PARENT/R  0.00% 3/0(1) VXRECOVER 0.0
   161   161     ATCOPY/R 04.41% 0/41020911/1807424 PLXATT 0.1061 0.0
bash-2.03# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   160           PARENT/R  0.00% 3/0(1) VXRECOVER 0.0
   161   161     ATCOPY/R 06.47% 0/41020911/2655336 PLXATT 0.1061 0.0
bash-2.03# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   160           PARENT/R  0.00% 3/0(1) VXRECOVER 0.0
   161   161     ATCOPY/R 07.05% 0/41020911/2891184 PLXATT 0.1061 0.0
bash-2.03# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   160           PARENT/R  0.00% 3/0(1) VXRECOVER 0.0
   161   161     ATCOPY/R 08.75% 0/41020911/3590544 PLXATT 0.1061 0.0
bash-2.03# 
db2 console login: root
Password: 
Last login: Fri Jul 11 10:14:48 from 172.18.20.36
Jul 14 12:03:30 db2 login: ROOT LOGIN /dev/console
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
You have new mail.


Starting OpenWindows in 5 seconds (type Control-C to interrupt)






/dev/fb: No such file or directory
/dev/fb: No such file or directory
Graphics Adapter device /dev/fb is of unknown type


Fatal server error:
InitOutput: Error loading module for /dev/fb


giving up.
/usr/openwin/bin/xinit:  Connection refused (errno 146):  unable to connect to X server
/usr/openwin/bin/xinit:  No such process (errno 3):  Server error.




db2 console login: root
Password: 
Last login: Mon Jul 14 12:03:30 on console
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
You have new mail.


Starting OpenWindows in 5 seconds (type Control-C to interrupt)
Jul 14 12:03:52 db2 last message repeated 1 time
Jul 14 12:03:55 db2 vxdmp: NOTICE: vxvm:vxdmp: enabled path 32/0x0 belonging to the dmpnode 261/0x0
Jul 14 12:03:55 db2 vxdmp: NOTICE: vxvm:vxdmp: enabled dmpnode 261/0x0




/dev/fb: No such file or directory
/dev/fb: No such file or directory
Graphics Adapter device /dev/fb is of unknown type


Fatal server error:
InitOutput: Error loading module for /dev/fb


giving up.
/usr/openwin/bin/xinit:  Connection refused (errno 146):  unable to connect to X server
/usr/openwin/bin/xinit:  No such process (errno 3):  Server error.




db2 console login: root
Password: 
Last login: Mon Jul 14 12:03:52 on console
Jul 14 12:04:17 db2 login: ROOT LOGIN /dev/console
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
You have new mail.


Starting OpenWindows in 5 seconds (type Control-C to interrupt)




/dev/fb: No such file or directory
/dev/fb: No such file or directory
Graphics Adapter device /dev/fb is of unknown type


Fatal server error:
InitOutput: Error loading module for /dev/fb


giving up.
/usr/openwin/bin/xinit:  Connection refused (errno 146):  unable to connect to X server
/usr/openwin/bin/xinit:  No such process (errno 3):  Server error.




db2 console login: 
bash-2.03# telnet 172.18.20.35
Trying 172.18.20.35...
Connected to 172.18.20.35.
Escape character is '^]'.




SunOS 5.8


login: root
Password: 
Last login: Mon Jul 14 12:04:17 on console
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
You have new mail.
# devfsadm
# format

Searching for disks...done




AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@1,0
       2. c0t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@2,0
       3. c0t3d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@3,0
       4. c3t5d0 <Symbios-StorEDGEA1000-0301 cyl 65533 alt 2 hd 64 sec 67>
          /pseudo/rdnexus@3/rdriver@5,0
       5. c3t5d2 <Symbios-StorEDGEA1000-0301 cyl 17344 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@3/rdriver@5,2

Specify disk (enter its number): ^D


# vxdctl enable
# 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 rootdisk1    -            -        -        -        NODEVICE




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


Select disk device to initialize [<address>,list,q,?] list


DEVICE       DISK         GROUP        STATUS
RDAC0_0      -            -            error
RDAC0_1      -            -            error
c0t0d0       -            -            error
c0t1d0       rootdisk2    rootdg       online
c0t2d0       -            -            error
c0t3d0       -            -            error


Select disk device to initialize [<address>,list,q,?] c0t0d0


  The requested operation is to initialize disk device c0t0d0 and
  to then use that device to replace the removed or failed disk
  rootdisk1 in disk group rootdg.


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


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


  Replacement of disk rootdisk1 in group rootdg with disk device
  c0t0d0 completed successfully.


Replace another disk? [y,n,q,?] (default: 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.
# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   165           PARENT/R  0.00% 4/0(1) VXRECOVER 0.0
   166   166     ATCOPY/R 03.44% 0/8389656/288920 PLXATT 0.1079 0.0
# vxdisk list
DEVICE       TYPE      DISK         GROUP        STATUS
RDAC0_0      sliced    -            -            error
RDAC0_1      sliced    -            -            error
c0t0d0s2     sliced    rootdisk1    rootdg       online
c0t1d0s2     sliced    rootdisk2    rootdg       online
c0t2d0s2     sliced    -            -            error
c0t3d0s2     sliced    -            -            error
#     
# bash
bash-2.03# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   165           PARENT/R  0.00% 4/0(1) VXRECOVER 0.0
   166   166     ATCOPY/R 20.91% 0/8389656/1754104 PLXATT 0.1079 0.0
bash-2.03# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   165           PARENT/R  0.00% 4/0(1) VXRECOVER 0.0
   166   166     ATCOPY/R 21.81% 0/8389656/1829992 PLXATT 0.1079 0.0
bash-2.03# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   165           PARENT/R  0.00% 4/0(1) VXRECOVER 0.0
   166   166     ATCOPY/R 22.31% 0/8389656/1871904 PLXATT 0.1079 0.0
bash-2.03# vxtask list
TASKID  PTID TYPE/STATE    PCT   PROGRESS
   165           PARENT/R  0.00% 4/0(1) VXRECOVER 0.0
   166   166     ATCOPY/R 22.91% 0/8389656/1922000 PLXATT 0.1079 0.0
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值