ITPub博客

首页 > Linux操作系统 > Linux操作系统 > hp-ux 备份OS命令

hp-ux 备份OS命令

原创 Linux操作系统 作者:zhanglei_itput 时间:2009-10-22 12:07:14 0 删除 编辑

LEIZ_TEST更换硬盘操作步骤

 

对服务器进行硬盘的更换之前,要先做好os级的备份,操作步骤如下:

备注:请在hp工程师到位前对os进行备份,备份命令为

make_tape_recovery -Av

 

1.    查看日志

LEIZ_TEST#[/]cd /var/opt/resmon/log

LEIZ_TEST#[/var/opt/resmon/log]ls

api.log        client.log     event.log      registrar.log  rst.log

LEIZ_TEST#[/var/opt/resmon/log]vi event.log

"event.log" 6399 , 219948 个字节

 

>------------ Event Monitoring Service Event Notification ------------<

 

Notification Time: Sat Sep 27 12:48:04 2008

 

LEIZ_TEST sent Event Monitor notification information:

 

/storage/events/disks/default/1_0_1_1_0_1_1.6.0

 is >= 1.

Its current value is INFORMATION(1).

 

Event data from monitor:

 

Event Time..........: Sat Sep 27 12:48:04 2008

Severity............: INFORMATION

Monitor.............: disk_em

Event #.............: 100401

System..............: LEIZ_TEST

 

Summary:

     Disk at hardware path 1/0/1/1/0/1/1.6.0 : Successful completion of

"event.log" 6399 , 219948 个字节

 

v-v-v-v-v-v-v-v-v-v-v-v-v    D  E  T  A  I  L  S    v-v-v-v-v-v-v-v-v-v-v-v-v

 

Component Data:

     Physical Device Path...: 1/0/1/1/0/1/1.6.0

     Device Class...........: Disk

     Inquiry Vendor ID......: HP 73.4G

     Inquiry Product ID.....: ST373454LC

     Firmware Version.......: HPC2

     Serial Number..........: 3KP17RDX00007607ZL0J

 

Product/Device Identification Information:

 

     Logger ID.........: sdisk

     Product Identifier: SCSI Disk

     Product Qualifier.: HP73.4GST373454LC

     SCSI Target ID....: 0x06

     SCSI LUN..........: 0x00

 

I/O Log Event Data:

 

:q

 

 

 

2.    ioscan

LEIZ_TEST#[/var/opt/resmon/log]ioscan -kfnCdisk

Class     I  H/W Path       Driver   S/W State   H/W Type     Description

==========================================================================

disk      0  1/0/0/3/0.6.0  sdisk    CLAIMED     DEVICE       HP 73.4GST373454LC

                           /dev/dsk/c0t6d0   /dev/rdsk/c0t6d0

disk      1  1/0/0/3/1.2.0  sdisk    CLAIMED     DEVICE       _NEC    DVD+RW NDD

                           /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0

disk      2  1/0/1/1/0/1/1.6.0  sdisk    CLAIMED     DEVICE       HP 73.4GST373C

                           /dev/dsk/c3t6d0   /dev/rdsk/c3t6d0

disk      3  1/0/6/1/1.0.0  sdisk    CLAIMED     DEVICE       COMPAQ  BD07288277

                           /dev/dsk/c5t0d0   /dev/rdsk/c5t0d0

disk      4  1/0/6/1/1.1.0  sdisk    CLAIMED     DEVICE       COMPAQ  BD07288277

                           /dev/dsk/c5t1d0   /dev/rdsk/c5t1d0

                           

LEIZ_TEST#[/var/opt/resmon/log]ioscan -fnCtape

Class     I  H/W Path       Driver   S/W State   H/W Type     Description

==========================================================================

tape      1  1/0/1/1/0/1/0.1.0  stape    CLAIMED     DEVICE       HP      C5683A

LEIZ_TEST#[/var/opt/resmon/log]ioscan -fnCtape

Class     I  H/W Path       Driver   S/W State   H/W Type     Description

==========================================================================

tape      1  1/0/1/1/0/1/0.1.0  stape    CLAIMED     DEVICE       HP      C5683A

 

LEIZ_TEST#[/var/opt/resmon/log]uname -a

HP-UX LEIZ_TEST B.11.11 U 9000/800 192372456 不限用户数的许可证

 

 

 

3. 备份OS命令--备份到小磁带

192.168.203.66 2009-10-21日备份

LEIZ_TEST#[/var/opt/resmon/log]make_tape_recovery -Av

       * Creating local directories for configuration files and archive.

 

=======  10/21/09 14:22:08 EAT  Started make_tape_recovery. (Wed Oct 21

         14:22:08 EAT 2009)

         @(#) Ignite-UX Revision B.5.2.124

         @(#) net_recovery (opt) $Revision: 10.624 $

 

=======  10/21/09 17:04:33 EAT  make_tape_recovery completed successfully!

 

 

4. 取消2块盘之间的mirror

5. 更换新硬盘

6. 重新做mirror

7. 更换硬盘完成(并填写现场服务记录单)

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9252210/viewspace-617153/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-02-10

  • 博文量
    400
  • 访问量
    1108467