存储 频道

镜像系统的硬盘扩容方案(1)

 
背景信息介绍

    
主机有236G硬盘,系统作了镜像。准备把现在的236G硬盘更换为273G硬盘。本文档就是该系统扩容实施的介绍!
 
方案实施细节   //为避免透露客户信息对部分内容作了删减,希望对完整性不会有影响

1  
系统健康检查

A.
检查扩充部件是否与主机匹配。

B.
系统健康检查
 
Sourcing //.profile-EIS.....
root@xz_netman # prtdiag -v
root@xz_netman # df -k
文件系统              千字节    用了    可用容量      挂接在

/dev/md/dsk/d10      30241354 26590345 3348596    89%    /
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
swap                 3996568       8 3996560     1%    /var/run
swap                 3999968    3408 3996560     1%    /tmp
root@xz_netman # psrinfo -v
Status of processor 0 as of: 03/20/07 20:11:53
  Processor has been on-line since 09/15/05 17:38:58.
  The sparcv9 processor operates at 900 MHz,
        and has a sparcv9 floating point processor.
Status of processor 1 as of: 03/20/07 20:11:53
  Processor has been on-line since 09/15/05 17:39:00.
  The sparcv9 processor operates at 900 MHz,
        and has a sparcv9 floating point processor.
root@xz_netman # format   //
察看当前硬盘能否正常识别及分区大小
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cfc333eb,0
       1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cfc333ff,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p
PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)
Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 - 21266       29.30GB    (21267/0/0) 61440363
  1       swap    wu   21267 - 24170        4.00GB    (2904/0/0)   8389656
  2     backup    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  3 unassigned    wm       0                0         (0/0/0)            0
  4 unassigned    wm       0                0         (0/0/0)            0
  5 unassigned    wm       0                0         (0/0/0)            0
  6 unassigned    wm   24171 - 24178       11.29MB    (8/0/0)        23112
  7 unassigned    wm       0                0         (0/0/0)            0
partition> ^D

0
相关文章