Oracle 小型机T7-1更换rpool中的硬盘

  1. 确定故障原因
[email protected] # fmadm faulty
--------------- ------------------------------------  -------------- ---------
TIME            EVENT-ID                              MSG-ID         SEVERITY
--------------- ------------------------------------  -------------- ---------
Oct 30 22:11:10 8ad90d8d-3e4f-432d-a233-84f8627dcf10  DISK-8000-0X   Major    

Problem Status    : open
Diag Engine       : eft / 1.16
System
    Manufacturer  : Oracle Corporation
    Name          : SPARC T7-1
    Part_Number   : 34429612+1+1
    Serial_Number : AK00373594
    Host_ID       : 86bb603a

----------------------------------------
Suspect 1 of 1 :
   Problem class : fault.io.disk.predictive-failure
   Certainty   : 100%
   Affects     : dev:///:devid=id1,[email protected]//scsi_vhci/[email protected]
   Status      : faulted but still providing degraded service

   FRU
     Status           : faulty
     Location         : "/SYS/DBP/HDD0"
     Manufacturer     : HGST
     Name             : H101860SFSUN600G
     Part_Number      : HGST-H101860SFSUN600G
     Revision         : A990
     Serial_Number    : 001619FJ0WNC--------03GJ0WNC
     Chassis
        Manufacturer  : Oracle Corporation
        Name          : SPARC T7-1
        Part_Number   : 34429612+1+1
        Serial_Number : AK00373594

Description : SMART health-monitoring firmware reported that a disk failure is
              imminent.

Response    : A hot-spare disk may have been activated.

Impact      : It is likely that the continued operation of this disk will
              result in data loss.

Action      : Use ‘fmadm faulty‘ to provide a more detailed view of this event.
              Please refer to the associated reference document at
              http://support.oracle.com/msg/DISK-8000-0X for the latest service
              procedures and policies regarding this diagnosis.
[email protected] # more /var/adm/messages 
Nov  8 16:23:13 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 16:23:13 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 16:23:13 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 394604487                 Error Block: 394604487
Nov  8 16:23:13 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 16:23:13 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 16:23:13 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 17:06:27 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 17:06:27 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 17:06:27 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 118860647                 Error Block: 118860647
Nov  8 17:06:27 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 17:06:27 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 17:06:27 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 17:11:11 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 17:11:11 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 17:11:11 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 86417744                  Error Block: 86417744
Nov  8 17:11:11 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 17:11:11 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 17:11:11 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 17:36:14 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 17:36:14 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 17:36:14 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 118915795                 Error Block: 118915795
Nov  8 17:36:14 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 17:36:14 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 17:36:14 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 17:54:11 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 17:54:11 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 17:54:11 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 86417744                  Error Block: 86417744
Nov  8 17:54:11 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 17:54:11 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 17:54:11 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 19:11:49 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 19:11:49 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 19:11:49 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 211206686                 Error Block: 211206686
Nov  8 19:11:49 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 19:11:49 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 19:11:49 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 20:16:45 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 20:16:45 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 20:16:45 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 213848167                 Error Block: 213848167
Nov  8 20:16:45 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 20:16:45 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 20:16:45 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 20:21:55 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 20:21:55 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 20:21:55 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 209782185                 Error Block: 209782185
Nov  8 20:21:55 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 20:21:55 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 20:21:55 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 20:27:08 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 20:27:08 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 20:27:08 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 213848182                 Error Block: 213848182
Nov  8 20:27:08 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 20:27:08 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 20:27:08 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 20:37:29 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 20:37:29 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 20:37:29 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 211019254                 Error Block: 211019254
Nov  8 20:37:29 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 20:37:29 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 20:37:29 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 20:42:42 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 20:42:42 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 20:42:42 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 211955388                 Error Block: 211955388
Nov  8 20:42:42 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 20:42:42 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 20:42:42 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 20:58:15 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
Nov  8 20:58:15 zbwl03  Error for Command: read(10)                Error Level: Informational
Nov  8 20:58:15 zbwl03 scsi: [ID 243001 kern.info]      Requested Block: 213894761                 Error Block: 213894761
Nov  8 20:58:15 zbwl03 scsi: [ID 243001 kern.info]      Vendor: HGST                               Serial Number: 1619FJ0WNC  
Nov  8 20:58:15 zbwl03 scsi: [ID 243001 kern.info]      Sense Key: Soft_Error
Nov  8 20:58:15 zbwl03 scsi: [ID 243001 kern.info]      ASC: 0x5d (<vendor unique code 0x5d>), ASCQ: 0x90, FRU: 0x90
Nov  8 21:08:38 zbwl03 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci/[email protected] (sd5):
                            Serial Number: 1619FJ0WNC 
[email protected] # zpool status rpool
  pool: rpool
 state: DEGRADED
status: One or more devices are unavailable in response to persistent errors.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Determine if the device needs to be replaced, and clear the errors
        using ‘zpool clear‘ or ‘fmadm repaired‘, or replace the device
        with ‘zpool replace‘.
        Run ‘zpool status -v‘ to see device specific details.
  scan: resilvered 191G in 18m17s with 0 errors on Wed Aug 31 20:15:31 2016

config:

        NAME                       STATE     READ WRITE CKSUM
        rpool                      DEGRADED     0     0     0
          mirror-0                 DEGRADED     0     0     0
            c0t5000CCA02F1D2524d0  DEGRADED     0     0     0
            c0t5000CCA02F1D7534d0  ONLINE       0     0     0

errors: No known data errors

2.具体操作步骤

[email protected] # zpool offline rpool c0t5000CCA02F1D2524d0
[email protected] # zpool status rpool
  pool: rpool
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Online the device using ‘zpool online‘ or replace the device with
        ‘zpool replace‘.
  scan: resilvered 191G in 18m17s with 0 errors on Wed Aug 31 20:15:31 2016

config:

        NAME                       STATE     READ WRITE CKSUM
        rpool                      DEGRADED     0     0     0
          mirror-0                 DEGRADED     0     0     0
            c0t5000CCA02F1D2524d0  OFFLINE      0     0     0
            c0t5000CCA02F1D7534d0  ONLINE       0     0     0

errors: No known data errors
[email protected] # cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c4                             fc           connected    unconfigured unknown
c5                             fc-fabric    connected    configured   unknown
c5::2100000e1ecb1261           unknown      connected    unconfigured unknown
c5::2100000e1ecc7100           disk         connected    configured   unknown
c5::2100000e1ecc8320           disk         connected    configured   unknown
c6                             scsi-sas     connected    unconfigured unknown
c7                             scsi-sas     connected    configured   unknown
c7::w5000cca02f1d2524,0        disk-path    connected    configured   unknown
c8                             scsi-sas     connected    configured   unknown
c8::w5000cca02f1d7535,0        disk-path    connected    configured   unknown
c9                             fc           connected    unconfigured unknown
c11                            fc-fabric    connected    configured   unknown
c11::2100000e1ecb11f1          unknown      connected    unconfigured unknown
c11::2100000e1ecc8350          disk         connected    configured   unknown
c11::2100000e1ecc84c0          disk         connected    configured   unknown
usb0/1                         unknown      empty        unconfigured ok
usb0/2                         unknown      empty        unconfigured ok
usb0/3                         usb-hub      connected    configured   ok
usb0/3.1                       usb-device   connected    configured   ok
usb0/3.2                       usb-communications connected    configured   ok
usb0/3.3                       unknown      empty        unconfigured ok
usb0/3.4                       unknown      empty        unconfigured ok
usb0/4                         usb-hub      connected    configured   ok
usb0/4.1                       unknown      empty        unconfigured ok
usb0/4.2                       usb-storage  connected    configured   ok
usb0/5                         unknown      empty        unconfigured ok
usb0/6                         unknown      empty        unconfigured ok
usb0/7                         usb-hub      connected    configured   ok
usb0/7.1                       unknown      empty        unconfigured ok
usb0/7.2                       unknown      empty        unconfigured ok
usb0/7.3                       unknown      empty        unconfigured ok
usb0/7.4                       unknown      empty        unconfigured ok
usb0/8                         usb-hub      connected    configured   ok
usb0/8.1                       usb-device   connected    configured   ok
usb0/8.2                       unknown      empty        unconfigured ok

记住位置编号,unconfigure故障磁盘

c7::w5000cca02f1d2524,0
[email protected] # cfgadm -c unconfigure  c7::w5000cca02f1d2524,0

拨出故障硬盘,插入新的磁盘

[email protected] # cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c4                             fc           connected    unconfigured unknown
c5                             fc-fabric    connected    configured   unknown
c5::2100000e1ecb1261           unknown      connected    unconfigured unknown
c5::2100000e1ecc7100           disk         connected    configured   unknown
c5::2100000e1ecc8320           disk         connected    configured   unknown
c6                             scsi-sas     connected    unconfigured unknown
c7                             scsi-sas     connected    configured   unknown
c7::w5000cca02f1091b9,0        disk-path    connected    configured   unknown
c8                             scsi-sas     connected    configured   unknown
c8::w5000cca02f1d7535,0        disk-path    connected    configured   unknown
c9                             fc           connected    unconfigured unknown
c11                            fc-fabric    connected    configured   unknown
c11::2100000e1ecb11f1          unknown      connected    unconfigured unknown
c11::2100000e1ecc8350          disk         connected    configured   unknown
c11::2100000e1ecc84c0          disk         connected    configured   unknown
usb0/1                         unknown      empty        unconfigured ok
usb0/2                         unknown      empty        unconfigured ok
usb0/3                         usb-hub      connected    configured   ok
usb0/3.1                       usb-device   connected    configured   ok
usb0/3.2                       usb-communications connected    configured   ok
usb0/3.3                       unknown      empty        unconfigured ok
usb0/3.4                       unknown      empty        unconfigured ok
usb0/4                         usb-hub      connected    configured   ok
usb0/4.1                       unknown      empty        unconfigured ok
usb0/4.2                       usb-storage  connected    configured   ok
usb0/5                         unknown      empty        unconfigured ok
usb0/6                         unknown      empty        unconfigured ok
usb0/7                         usb-hub      connected    configured   ok
usb0/7.1                       unknown      empty        unconfigured ok
usb0/7.2                       unknown      empty        unconfigured ok
usb0/7.3                       unknown      empty        unconfigured ok
usb0/7.4                       unknown      empty        unconfigured ok
usb0/8                         usb-hub      connected    configured   ok
usb0/8.1                       usb-device   connected    configured   ok
usb0/8.2                       unknown      empty        unconfigured ok
[email protected] # cfgadm -c configure  c7::w5000cca02f1091b9,0
[email protected] # format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0t5000CCA02F1091B8d0 <HGST-H101860SFSUN600G-A990-558.91GB>  solaris
          /scsi_vhci/[email protected]
          /dev/chassis/SYS/DBP/HDD0/disk
       1. c0t5000CCA02F1D7534d0 <HGST-H101860SFSUN600G-A990-558.91GB>
          /scsi_vhci/[email protected]
          /dev/chassis/SYS/DBP/HDD1/disk
       2. c2t0d0 <MICRON-eUSB DISK-1112 cyl 246 alt 0 hd 255 sec 63>
          /[email protected]/[email protected]/[email protected]/[email protected]/[email protected]/[email protected],0
          /dev/chassis/SYS/MB/EUSB-DISK/disk
       3. c0t6000B08414B303033373335353600004d0 <Oracle-Oracle FS1-2-6203-800.83GB>
          /scsi_vhci/[email protected]
       4. c0t6000B08414B303033373335353600005d0 <Oracle-Oracle FS1-2-6203-800.83GB>
          /scsi_vhci/[email protected]
       5. c0t6000B08414B303033373335353600003d0 <Oracle-Oracle FS1-2-6203-2.00TB>
          /scsi_vhci/[email protected]
       6. c0t6000B08414B303033373335353600000d0 <Oracle-Oracle FS1-2-6203-2.00TB>
          /scsi_vhci/[email protected]
       7. c0t6000B08414B303033373335353600001d0 <Oracle-Oracle FS1-2-6203-2.00TB>
          /scsi_vhci/[email protected]
       8. c0t6000B08414B303033373335353600002d0 <Oracle-Oracle FS1-2-6203-2.00TB>
          /scsi_vhci/[email protected]
       9. c0t6000B08414B303033373335353600006d0 <Oracle-Oracle FS1-2-6203 cyl 575 alt 2 hd 128 sec 32>
          /scsi_vhci/[email protected]
Specify disk (enter its number): ^C
[email protected] # zpool help replace
usage:
        replace [-f] <pool> <device> [new-device]
[email protected] # zpool replace rpool c0t5000CCA02F1D2524d0 c0t5000CCA02F1091B8d0
Make sure to wait until resilver is done before rebooting.
[email protected] # zpool status rpool
  pool: rpool
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function in a degraded state.
action: Wait for the resilver to complete.
        Run ‘zpool status -v‘ to see device specific details.
  scan: resilver in progress since Tue Nov 14 10:38:00 2017
    74.5G scanned out of 165G at 2.87G/s, 31s to go
    0 resilvered
config:

        NAME                         STATE     READ WRITE CKSUM
        rpool                        DEGRADED     0     0     0
          mirror-0                   DEGRADED     0     0     0
            replacing-0              DEGRADED     0     0     0
              c0t5000CCA02F1D2524d0  OFFLINE      0     0     0
              c0t5000CCA02F1091B8d0  DEGRADED     0     0     0  (resilvering)
            c0t5000CCA02F1D7534d0    ONLINE       0     0     0

errors: No known data errors
[email protected] # zpool status rpool
  pool: rpool
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function in a degraded state.
action: Wait for the resilver to complete.
        Run ‘zpool status -v‘ to see device specific details.
  scan: resilver in progress since Tue Nov 14 10:38:00 2017
    165G scanned
    34.4G resilvered at 183M/s, 20.91% done, 12m08s to go
config:

        NAME                         STATE     READ WRITE CKSUM
        rpool                        DEGRADED     0     0     0
          mirror-0                   DEGRADED     0     0     0
            replacing-0              DEGRADED    14     0     0
              c0t5000CCA02F1D2524d0  OFFLINE      0     0     0
              c0t5000CCA02F1091B8d0  DEGRADED     0     0     0  (resilvering)
            c0t5000CCA02F1D7534d0    ONLINE       0     0     0

errors: No known data errors
[email protected] # zpool status rpool
  pool: rpool
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function in a degraded state.
action: Wait for the resilver to complete.
        Run ‘zpool status -v‘ to see device specific details.
  scan: resilver in progress since Tue Nov 14 10:38:00 2017
    165G scanned
    161G resilvered at 157M/s, 97.98% done, 21s to go
config:

        NAME                         STATE     READ WRITE CKSUM
        rpool                        DEGRADED     0     0     0
          mirror-0                   DEGRADED     0     0     0
            replacing-0              DEGRADED    14     0     0
              c0t5000CCA02F1D2524d0  OFFLINE      0     0     0
              c0t5000CCA02F1091B8d0  DEGRADED     0     0     0  (resilvering)
            c0t5000CCA02F1D7534d0    ONLINE       0     0     0

errors: No known data errors
[email protected] # zpool status rpool
  pool: rpool
 state: DEGRADED
  scan: resilvered 165G in 19m26s with 0 errors on Tue Nov 14 10:57:26 2017

config:

        NAME                         STATE     READ WRITE CKSUM
        rpool                        DEGRADED     0     0     0
          mirror-0                   DEGRADED     0     0     0
            replacing-0              DEGRADED    14     0     0
              c0t5000CCA02F1D2524d0  OFFLINE      0     0     0
              c0t5000CCA02F1091B8d0  ONLINE       0     0     0
            c0t5000CCA02F1D7534d0    ONLINE       0     0     0

errors: No known data errors
[email protected] # zpool status rpool
  pool: rpool
 state: ONLINE
  scan: resilvered 165G in 19m26s with 0 errors on Tue Nov 14 10:57:26 2017

config:

        NAME                       STATE     READ WRITE CKSUM
        rpool                      ONLINE       0     0     0
          mirror-0                 ONLINE       0     0     0
            c0t5000CCA02F1091B8d0  ONLINE       0     0     0
            c0t5000CCA02F1D7534d0  ONLINE       0     0     0

errors: No known data errors
[email protected] #
时间: 2024-10-20 16:13:34

Oracle 小型机T7-1更换rpool中的硬盘的相关文章

Windows平台下Oracle监听服务启动过程中日志输出

Windows平台下Oracle监听服务启动过程中日志输出记录. 日志目录:D:\app\Administrator\diag\tnslsnr\WIN-RU03CB21QGA\listener\trace\listener.log 日志输出内容: Sat Aug 06 20:38:44 2016 系统参数文件为D:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora 写入d:\app\administrator

(转)更换镜像rootvg卷组中的硬盘

F85系统镜像盘更换实录之一:删除原有镜像操作 # cfgmgr # lsdev -Cc disk hdisk0 Available 11-09-00-8,0  16 Bit LVD SCSI Disk Drive hdisk1 Available 11-09-00-10,0 16 Bit LVD SCSI Disk Drive # lsvg rootvg # lsvg -p rootvg rootvg: PV_NAME           PV STATE          TOTAL PPs

Oracle数据库date类型与Java中Date的联系与转化

以下是对Java中的日期对象与Oracle中的日期之间的区别与联系做点说明,以期对大家有所帮助.new Date():分配 Date 对象并初始化此对象,以表示分配它的时间(精确到毫秒),就是系统当前.new Date(long date) : 分配 Date 对象并初始化此对象,以表示自从标准基准时间    (称为“历元(epoch)”,即 1970 年 1 月 1 日 00:00:00 GMT)以来的指定毫秒数.long getTime() :返回自 1970 年 1 月 1 日 00:00

在Oracle电子商务套件版本12.2中创建自定义应用程序(文档ID 1577707.1)

在本文档中 本笔记介绍了在Oracle电子商务套件版本12.2中创建自定义应用程序所需的基本步骤.如果您要创建新表单,报告等,则需要自定义应用程序.它们允许您将自定义编写的文件与Oracle电子商务套件提供的标准种子功能分离.在向您的环境应用修补程序或执行升级时可以保留自定义设置. 自定义数据和索引表空间默认为APPS_TS_TX_DATA和APPS_TS_TX_IDX. 注意:当没有活动的修补程序周期时,应在运行文件系统上执行本文档中描述的过程. 也可以按照此过程更正先前创建的不使用AD Sp

电池更换计划中获利?苹果面临电池质押投诉

苹果被指责发现iPhone不必要的故障,从而从电池更换计划中获利.当美国公司宣布去年12月为了"延长电池续航时间"而放缓iPhone手机时,为了不早点告诉别人而道歉.面对消费者的强烈反应,它承诺iPhone6的所有者和更现代的型号可以享受折扣或免费更换电池. "只有因为你的信仰和支持,我们才能完成我们所热爱的工作-而且我们永远不会忘记或认为理所当然."但自那时以来,一些看门狗观众告诉该计划,他们对公司的信心在试图让苹果公司接受其报价后严重动摇. 苹果要求一些客户支付

oracle查询包含在子表中的主表数据

Oracle数据库,查询某表中包含在子表中的数据,子表中数据按特定条件来源于该父表,SQL命令如 select * from a_table a where a.commandId in (select commandId from b_table where type = 1) a_table父表,b_table子表,a和b表都有commandId列,a表的commandId主键关联b表中的外键commandId,要求a表中commandId包含在b表commandId中,且b表的type黑白

在AIX中增加硬盘

在AIX中增加硬盘2010-12-31 17:30:05 分类: 1.用cfgmgr -v 命令进行搜索新硬件的操作. 2.用lspv命令确认扫描到的新硬盘. 3.如果需要删除硬盘,用rmdev -dl hdisx 命令进行删除. 一.基本情况 ------------- />df -m Filesystem    MB blocks      Free %Used    Iused %Iused Mounted on /dev/hd4         640.00    384.68   40

Hadoop集群中添加硬盘

Hadoop工作节点扩展硬盘空间 接到老板任务,Hadoop集群中硬盘空间不够用,要求加一台机器到Hadoop集群,并且每台机器在原有基础上加一块2T硬盘,老板给力啊,哈哈. 这些我把完成这项任务的步骤和我遇到的问题和解决方法总结一下,分享给大家. 1.    首先,介绍一下用到的基本命令和配置,如果本文的网友时间比较紧,可以直接跳过部分内容,直接看“2.   如何加载新硬盘”部分. (1)命令fdisk 语法: fdisk [-b sectorsize] device fdisk -l [-u

给EXSI虚拟机中linux硬盘扩容

给EXSI虚拟机中linux硬盘扩容 post by rocdk890 / 2015-5-18 14:45 Monday linux技术 发表评论 今天公司同事过来给我说要求把公司的exsi服务器上的一台虚拟机硬盘扩大,好吧,连上exsi后,直接在原来的硬盘40G上加了20G,等我添加完后,同事才告诉我那台是linux的系统,好吧,只能连上ssh来更改了.下面就是我用另外一台虚拟机来做的实验.   系统:centos 5.x1.exsi扩容图扩容前:扩容后:2.分区前准备yum -y insta