亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3550 | 回復(fù): 0
打印 上一主題 下一主題

HPUX 11.23下根盤鏡像全過程(上) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-05-15 15:13 |只看該作者 |倒序瀏覽

一、知識準(zhǔn)備
HPUX 11.23與11.22版本配置根盤鏡像的最大的不同:
1. 新增加了HPSP分區(qū);
11.22系統(tǒng)根盤只劃分了兩個分區(qū)EFI/HP-UX,在11.23系統(tǒng)中,劃分了3個分區(qū),分別為EFI/HP-UX/HPSP.相應(yīng)在使用idisk命令劃分硬盤分區(qū)時使用的/tmp/partitionfile 文件中的內(nèi)容也做了相應(yīng)調(diào)整.
2. EFI分區(qū)大小從原先的100M,增加到500M
二、實驗?zāi)康?br /> 對一臺HP rx8640機器的2號分區(qū)根盤(146GB)鏡像;
三、操作過程
1. From HPUX, use vgdisplay to identify the disk that is in vg00. Use ioscan to find the spare disk.
# vgdisplay -v --> vg00 is on /dev/dsk/c0t6d0s2
# ioscan -efunC disk --> c2t6d0
Class     I  H/W Path        Driver   S/W State   H/W Type     Description
========================================================================
disk      1  0/0/0/2/0.6.0   sdisk    CLAIMED     DEVICE       HP 146 GST3146855LC
                            /dev/dsk/c0t6d0     /dev/rdsk/c0t6d0  
                            /dev/dsk/c0t6d0s1   /dev/rdsk/c0t6d0s1
                            /dev/dsk/c0t6d0s2   /dev/rdsk/c0t6d0s2
                            /dev/dsk/c0t6d0s3   /dev/rdsk/c0t6d0s3
Acpi(HWP0002,PNP0A03,0)/Pci(2|0)/Scsi(Pun6,Lun0)/HD(Part1,Sig0E481F42-F04C-11DC-8002-D6217B60E588)/\EFI\HPUX\HPUX.EFI
disk      0  0/0/0/2/1.2.0   sdisk    CLAIMED     DEVICE       Optiarc DVD RW AD-5170A
                            /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0
disk      2  0/0/0/3/0.6.0   sdisk    CLAIMED     DEVICE       HP 146 GST3146855LC
                            /dev/dsk/c2t6d0   /dev/rdsk/c2t6d0
2. Create the system, OS, and service partitions.
# vi /tmp/partitionfile
   3
   EFI 500MB
   HPUX 100%
   HPSP 400MB
# idisk -wf /tmp/partitionfile /dev/rdsk/c2t6d0
idisk version: 1.31
********************** WARNING ***********************
If you continue you may destroy all data on this disk.
Do you wish to continue(yes/no)? yes

3. Create device files needed for the new partitions.
# insf -eC disk
insf: Installing special files for sdisk instance 1 address 0/0/0/2/0.6.0
insf: Installing special files for sdisk instance 0 address 0/0/0/2/1.2.0
insf: Installing special files for sdisk instance 2 address 0/0/0/3/0.6.0
insf: Installing special files for sdisk instance 3 address 0/0/12/1/0/4/1.0.0
insf: Installing special files for sdisk instance 4 address 0/0/12/1/0/4/1.1.0
insf: Installing special files for sdisk instance 5 address 0/0/12/1/0/4/1.2.0
insf: Installing special files for sdisk instance 6 address 0/0/12/1/0/4/1.3.0
insf: Installing special files for sdisk instance 7 address 0/0/14/1/0/4/1.0.0
insf: Installing special files for sdisk instance 8 address 0/0/14/1/0/4/1.1.0
insf: Installing special files for sdisk instance 9 address 0/0/14/1/0/4/1.2.0
insf: Installing special files for sdisk instance 10 address 0/0/14/1/0/4/1.3.0
4. Verify the partition table.
# idisk /dev/rdsk/c2t6d0
idisk version: 1.32
EFI Primary Header:
        Signature                 = EFI PART
        Revision                  = 0x10000
        HeaderSize                = 0x5c
        HeaderCRC32               = 0xe51d545d
        MyLbaLo                   = 0x1
        MyLbaHi                   = 0x0
        AlternateLbaLo            = 0x1117732f
        AlternateLbaHi            = 0x0
        FirstUsableLbaLo          = 0x22
        FirstUsableLbaHi          = 0x0
        LastUsableLbaLo           = 0x1117730c
        LastUsableLbaHi           = 0x0
        Disk GUID                 = 711f04da-2190-11dd-8001-d6217b60e588
        PartitionEntryLbaLo       = 0x2
        PartitionEntryLbaHi       = 0x0
        NumberOfPartitionEntries  = 0xc
        SizeOfPartitionEntry      = 0x80
        PartitionEntryArrayCRC32  = 0x280b786c
  Primary Partition Table (in 512 byte blocks):
    Partition 1 (EFI):
        Partition Type GUID       = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
        Unique Partition GUID     = 711f066a-2190-11dd-8002-d6217b60e588
        Starting Lba Lo            = 0x22
        Starting Lba Hi            = 0x0
        Ending Lba Lo              = 0xfa021
        Ending Lba Hi              = 0x0
    Partition 2 (HP-UX):
        Partition Type GUID       = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
        Unique Partition GUID     = 711f0688-2190-11dd-8003-d6217b60e588
        Starting Lba Lo            = 0xfa022
        Starting Lba Hi            = 0x0
        Ending Lba Lo              = 0x110af30b
        Ending Lba Hi              = 0x0
    Partition 3 (HPSP):
        Partition Type GUID       = e2a1e728-32e3-11d6-a682-7b03a0000000
        Unique Partition GUID     = 711f06a6-2190-11dd-8004-d6217b60e588
        Starting Lba Lo            = 0x110af30c
        Starting Lba Hi            = 0x0
        Ending Lba Lo              = 0x1117730b
        Ending Lba Hi              = 0x0
EFI Alternate Header:
        Signature                 = EFI PART
        Revision                  = 0x10000
        HeaderSize                = 0x5c
        HeaderCRC32               = 0xac871e6f
        MyLbaLo                   = 0x1117732f
        MyLbaHi                   = 0x0
        AlternateLbaLo            = 0x1
        AlternateLbaHi            = 0x0
        FirstUsableLbaLo          = 0x22
        FirstUsableLbaHi          = 0x0
        LastUsableLbaLo           = 0x1117730c
        LastUsableLbaHi           = 0x0
        Disk GUID                 = 711f04da-2190-11dd-8001-d6217b60e588
        PartitionEntryLbaLo       = 0x1117730e
        PartitionEntryLbaHi       = 0x0
        NumberOfPartitionEntries  = 0xc
        SizeOfPartitionEntry      = 0x80
        PartitionEntryArrayCRC32  = 0x280b786c
  Alternate Partition Table (in 512 byte blocks):
    Partition 1 (EFI):
        Partition Type GUID       = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
        Unique Partition GUID     = 711f066a-2190-11dd-8002-d6217b60e588
        Starting Lba Lo            = 0x22
        Starting Lba Hi            = 0x0
        Ending Lba Lo              = 0xfa021
        Ending Lba Hi              = 0x0
    Partition 2 (HP-UX):
        Partition Type GUID       = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
        Unique Partition GUID     = 711f0688-2190-11dd-8003-d6217b60e588
        Starting Lba Lo            = 0xfa022
        Starting Lba Hi            = 0x0
        Ending Lba Lo              = 0x110af30b
        Ending Lba Hi              = 0x0
    Partition 3 (HPSP):
        Partition Type GUID       = e2a1e728-32e3-11d6-a682-7b03a0000000
        Unique Partition GUID     = 711f06a6-2190-11dd-8004-d6217b60e588
        Starting Lba Lo            = 0x110af30c
        Starting Lba Hi            = 0x0
        Ending Lba Lo              = 0x1117730b
        Ending Lba Hi              = 0x0
Legacy MBR (MBR Signatures in little endian):
   MBR Signature = 0x6c041f71
Protective MBR

5. Verify that the device files were created properly.
# ioscan -efnC disk --> c2t6d0 is 0/0/0/3/0.6.0

6. Populate the /efi/hpux/ directory in the new EFI system partition.
# mkboot -e -l /dev/rdsk/c2t6d0

7. Change the auto file for the mirror to boot without quorum.
NOTE: Using "s1"
# echo "boot vmunix -lq" > /tmp/AUTO.lq
# efi_cp -d /dev/rdsk/c2t6d0s1 /tmp/AUTO.lq /EFI/HPUX/AUTO
NOTE: We assume that if we boot from the primary, the mirror is fully
functional and therefore we don't need to override quorum. Your site might
require that both disks override quorum.

8. Verify the contents of the auto file on the primary and the mirror.
NOTE: Using "s1"
# efi_cp -d /dev/rdsk/c0t6d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.pri
# efi_cp -d /dev/rdsk/c2t6d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.alt
# cat /tmp/AUTO.pri
boot vmunix
# cat /tmp/AUTO.alt
boot vmunix -lq


本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u/6589/showart_689201.html
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP