Solaris Volume Manager
작성자 관리자 작성시간 2006-10-24 11:45:31
 

Solaris Volume Manager

설치하기
root@tech # cd /cdrom
root@tech # ls
cdrom0            devpro_v9n1_sparc  sol_8_204_sparc_2
root@tech # cd cdrom0
root@tech # ls
Copyright  Solaris_8  installer

root@tech # cd Solaris_*
root@tech # ls
EA      Product  Tools
root@tech # cd EA
root@tech # ls
installer  products
root@tech # cd prod*
root@tech # ls
DiskSuite_4.2.1    SunScreen_3.1_Lite
root@tech # cd Di*
root@tech # ls
README    installer  sparc
root@tech # cd sp*
root@tech # ls
Docs      Packages  Tools
root@tech # cd Pa*

--경로 : CD 2번째 CD

# cd /cdrom/sol_8_401_sparc_2/Solaris_8/EA/products/Disksuite_4.2.1/sparc/P
ackages 
root@tech # ls
SUNWlvma  SUNWlvmr  SUNWmdja  SUNWmdnu  SUNWmdu
SUNWlvmg  SUNWmdg  SUNWmdnr  SUNWmdr  SUNWmdx
root@tech # pkgadd -d . 

다음과 같은 패키지를 사용할 수 있습니다.
  1  SUNWlvma    Solaris Volume Management API's
                  (sparc) 1.0,REV=2001.11.02.03.17
  2  SUNWlvmg    Solaris Volume Management Application
                  (sparc) 1.0,REV=2001.11.14.03.19
  3  SUNWlvmr    Solaris Volume Management (root)
                  (sparc) 1.0,REV=2001.11.14.03.19
  4  SUNWmdg      Solstice DiskSuite Tool
                  (sparc) 4.2.1,REV=1999.11.04.18.29
  5  SUNWmdja    Solstice DiskSuite Japanese localization ß x
                  (sparc) 4.2.1,REV=1999.12.09.15.37
  6  SUNWmdnr    Solstice DiskSuite Log Daemon Configuration Files ß
                  (sparc) 4.2.1,REV=1999.11.04.18.29
  7  SUNWmdnu    Solstice DiskSuite Log Daemon
                  (sparc) 4.2.1,REV=1999.11.04.18.29
  8  SUNWmdr      Solstice DiskSuite Drivers
                  (sparc) 4.2.1,REV=1999.12.03.10.00
  9  SUNWmdu      Solstice DiskSuite Commands
                  (sparc) 4.2.1,REV=1999.11.04.18.29
10  SUNWmdx      Solstice DiskSuite Drivers(64-bit)  ß 서버 버전 확인 후 설치

              (sparc) 4.2.1,REV=1999.11.04.18.29

처리할 패키지(들)를 선택하십시오.(또는 모든 패키지를
처리하려면'all'을 입력하십시오.) (default: all) [?,??,q]:

패키지예<SUNWlvma>(을)를 </cdrom/sol_8_204_sparc_2/Solaris_8/EA/products/DiskSuite_4.2.1/sparc/P
ackages>에서 처리 중

Solaris Volume Management API's
(sparc) 1.0,REV=2001.11.02.03.17
Copyright 2001 Sun Microsystems, Inc. All rights reserved.
디렉토리 </>(을)를 패키지의 기본 디렉토리로 사용
## 패키지 정보 처리 중
## 시스템 정보 처리 중
  14개 패키지 경로 이름이 이미 제대로 설치되어 있습니다.
## 패키지 종속성 검증
## 디스크 공간 요구 검증 중
## 이미 설치되어 있는 패키지와의 충돌 여부를 확인하고 있습니다.

다음의 파일이 이미 시스템에 설치되어 있으며 다른 패키지에 의해
사용되고 있습니다:
  /usr/sadm/lib/wbem/doc <속성 변경만>

충돌하는 파일을 설치하겠습니까? y
## setuid/setgid 프로그램 점검

## 설치 전 스크립트 실행

.

.

.

(10개 패키지 설치 …)


## 1째 (전체: 1) 부분 설치
1346 블록
## 설치 후 스크립트 실행
postinstall: configure driver

                (This may take a while.)

<SUNWmdx>(이)가 성공적으로 설치되었습니다.

다음과 같은 패키지를 사용할 수 있습니다.
  1  SUNWlvma    Solaris Volume Management API's
                  (sparc) 1.0,REV=2001.11.02.03.17
  2  SUNWlvmg    Solaris Volume Management Application
                  (sparc) 1.0,REV=2001.11.14.03.19
  3  SUNWlvmr    Solaris Volume Management (root)
                  (sparc) 1.0,REV=2001.11.14.03.19
  4  SUNWmdg      Solstice DiskSuite Tool
                  (sparc) 4.2.1,REV=1999.11.04.18.29
  5  SUNWmdja    Solstice DiskSuite Japanese localization
                  (sparc) 4.2.1,REV=1999.12.09.15.37
  6  SUNWmdnr    Solstice DiskSuite Log Daemon Configuration Files
                  (sparc) 4.2.1,REV=1999.11.04.18.29
  7  SUNWmdnu    Solstice DiskSuite Log Daemon
                  (sparc) 4.2.1,REV=1999.11.04.18.29
  8  SUNWmdr      Solstice DiskSuite Drivers
                  (sparc) 4.2.1,REV=1999.12.03.10.00
  9  SUNWmdu      Solstice DiskSuite Commands
                  (sparc) 4.2.1,REV=1999.11.04.18.29
10  SUNWmdx      Solstice DiskSuite Drivers(64-bit)
                  (sparc) 4.2.1,REV=1999.11.04.18.29

처리할 패키지(들)를 선택하십시오.(또는 모든 패키지를
처리하려면'all'을 입력하십시오.) (default: all) [?,??,q]: q

*** 주의 사항 ***
        시스템의 정확한 작동을 위해서는 반드시재부팅해야 합니다.
        다음을 실행한 후:
              shutdown -y -i6 -g0
        "콘솔 로그인:" 프롬프트가 나올 때까지 기다리십시오.



--패키지 설치 여부 확인작업

root@tech # pkginfo | grep mdx
system      SUNWhmdx      SunSwift SBus Adapter Drivers (64-bit)
system      SUNWmdx        Solstice DiskSuite Drivers(64-bit)
root@tech # pkginfo | grep -i solstice
ALE        SUNWksadl      Korean (EUC) Solstice Admintool launcher
system      SUNWmdg        Solstice DiskSuite Tool
system      SUNWmdja      Solstice DiskSuite Japanese localization
system      SUNWmdnr      Solstice DiskSuite Log Daemon Configuration Files
system      SUNWmdnu      Solstice DiskSuite Log Daemon
system      SUNWmdr        Solstice DiskSuite Drivers
system      SUNWmdu        Solstice DiskSuite Commands
system      SUNWmdx        Solstice DiskSuite Drivers(64-bit)
system      SUNWmibii      Solstice Enterprise Agents 1.0.3 SNMP daemon
system      SUNWsacom      Solstice Enterprise Agents 1.0.3 files for root file system
system      SUNWsadmi      Solstice Enterprise Agents 1.0.3 Desktop Management Interface
system      SUNWsadml      Solstice Launcher.
system      SUNWsadmx      Solstice Enterprise Agents 1.0.3 Desktop Management Interface Libraries (64-bit)
system      SUNWsasnm      Solstice Enterprise Agents 1.0.3 Simple Network Management Protocol
system      SUNWsasnx      Solstice Enterprise Agents 1.0.3 Simple Network Management Protocol Libraries (64-bit)

root@tech # metadb 
metadb: tech: there are no existing databases



Disk Partition 설정 및 metadb 생성

Metadevice 구성을 위한 Disk Partition 구성은 Data 영역과 Metadatabase영역으로 나눈다
    Metadatabase 영역은 약 10MB 정도 설정 해 주며 복제본은 한 metadb 당 3개 이상으로 한다.
ex) 18.2GB HDD 일 경우
(1) command Prompt에서 작업 방법
# format
c0t1d0s6,  c0t2d0s6 … -> 10MB 한 disk 에 하나씩
c0t1d0s7,  c0t2d0s7 … -> 18190MB로 파티션 설정하며 각 디스크의 종류와 설정값은 동일해야 한다.
# metadb  -a  &#8211;f  -c  3  c0t1d0s6  c0t2d0s6 ……
  -a ; 생성
  -f ; 강제로
  -c  3  ; metabd 당 복제본 3개

-> 삭제
# metadb  -d  -f  c0t1d0s6
# metaclear  d3

(2) File  편집 작업 방법
# vi  /etc/opt/SUNWmd/md.tab
  mddb  01  c0t1d0s6  c0t2d0s6  ……
:wq!

# metadb  -a  -f  -c  3  mddb01
확인방법
# metadb  -i   
플래그              첫째 blk        블록 계수
    M      pc luo              16            1034            /dev/dsk/c2t0d0s6
    a m    pc luo        16              1034            /dev/dsk/c2t1d0s6
    a      pc luo        16              1034            /dev/dsk/c2t8d0s6

    a      pc luo        16              1034            /dev/dsk/c2t9d0s6

o - mddb 구성을 마지막으로 변경하기 전의 활성 복제본입니다.
u - 최신 복제본입니다.

l - 이 복제본의 위치자를 성공적으로 읽었습니다.
c - 복제본의 위치는 /etc/opt/SUNWmd/mddb.cf 내에 있습니다.
p - 커널에서 복제본의 위치를 패치하였습니다.
m - 복제본은 마스터이고 이것은 입력용으로 선택한 복제본입니다.
W - 복제본에 장치 쓰기 오류가 있습니다.
a - 복제본을 활성화하여 이 복제본을 완료합니다.
M - 복제본에 마스터 블록 문제가 있습니다.
D - 복제본에 데이터 블록 문제가 있습니다.
F - 복제본에 형식 문제가 있습니다.
S - 복제본이 너무 작아 현재 데이터베이스를 유지할 수 없습니다.
R - 복제본에 장치 읽기 오류가 있습니다



Tip>

디스크를 새로이 장착한 후 format 명령으로 파티션하는 작업은 때로는 귀찮을 수 있다.

이런때에는 소프트 파티션을 생성하는 명령인 metainit d7 -p -e c1t2d0 1G 를 이용하면 편하다.



이 명령을 통해 디스크의 마지막 파티션(슬라이스-c*t*d*s7)이 metadb 영역을 위해 약 4MB 크기로

설정되며 나머지 디스크 영역이 c*t*d*s0 으로 설정되게 된다.

일단 위의 명령으로 파티션이 나누어지면 metaclear 명령으로 meta device를 다시 없앤다음 사용하면 된다.

======================================================================
============
# Solaris Volume Manager를 이용한 RAID 구성 실습                   
# 실습환경 : Solaris9(intel) with VMWare                                   
# 디 스 크 : 1GB SCSI 디스크 5장                                             
#              c2t1d0s3 - statdb                                                   
#                    s4 - Raid0 (concatenation) d10                         
#              c2t2d0s3 - statdb                                                   
#                    s4 - Raid0 (concatenation) d10                         
#              c2t3d0s3 - statdb                                                   
#                    s4 - Raid5 d15                                                 
#              c2t4d0s3 - Raid1                                                   
#                    s4 - Raid5 d15                                                 
#              c2t5d0s3 - Raid1                                                   
#              s4 - Raid 5d15                                                 
======================================================================
============

# devfsadm ---------------------- 추가한 디스크 인식
#
# format ---------------------- 작업에 필요한 디스크 확보 및 파티셔닝
Searching for disks...done

AVAILABLE DISK SELECTIONS:
      0. c0d0 <DEFAULT cyl 22189 alt 2 hd 15 sec 63>
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
      1. c0d1 <DEFAULT cyl 17750 alt 2 hd 15 sec 63>
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
      2. c2t0d0 <DEFAULT cyl 4092 alt 2 hd 128 sec 32>
          /pci@0,0/pci1000,30@10/sd@0,0
      3. c2t1d0 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci1000,30@10/sd@1,0
      4. c2t2d0 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci1000,30@10/sd@2,0
      5. c2t3d0 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci1000,30@10/sd@3,0
      6. c2t4d0 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci1000,30@10/sd@4,0
      7. c2t5d0 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci1000,30@10/sd@5,0
Specify disk (enter its number): 3 ---------------------- 파티셔닝할 디스크 선택
selecting c2t1d0
[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
        fdisk      - run the fdisk program
        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: 1020 + 2 (reserved cylinders)

Part      Tag    Flag    Cylinders        Size            Blocks
  0 unassigned    wm      0              0        (0/0/0)          0
  1 unassigned    wm      0              0        (0/0/0)          0
  2    backup    wu      0 - 1019    1020.00MB    (1020/0/0) 2088960
  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      0              0        (0/0/0)          0
  7 unassigned    wm      0              0        (0/0/0)          0
  8      boot    wu      0 -    0        1.00MB    (1/0/0)      2048
  9 unassigned    wm      0              0        (0/0/0)          0

partition> 3 ---------------------- 3번 슬라이스 파티셔닝
Part      Tag    Flag    Cylinders        Size            Blocks
  3 unassigned    wm      0              0        (0/0/0)          0

Enter partition id tag[unassigned]: ---------------------- 슬라이스 네임
Enter partition permission flags[wm]: ---------------------- ro/rw 옵션 설정
Enter new starting cyl[0]: ---------------------- 시작할 실린더
Enter partition size[0b, 0c, 0e, 0.00mb, 0.00gb]: 1044480b ---------------------- 마지막 사이즈
partition> 4
Part      Tag    Flag    Cylinders        Size            Blocks
  4 unassigned    wm      0              0        (0/0/0)          0

Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 510
Enter partition size[0b, 0c, 510e, 0.00mb, 0.00gb]: 1044480b
partition> p
Current partition table (unnamed):
Total disk cylinders available: 1020 + 2 (reserved cylinders)

Part      Tag    Flag    Cylinders        Size            Blocks
  0 unassigned    wm      0              0        (0/0/0)          0
  1 unassigned    wm      0              0        (0/0/0)          0
  2    backup    wu      0 - 1019    1020.00MB    (1020/0/0) 2088960
  3 unassigned    wm      0 -  509      510.00MB    (510/0/0)  1044480
  4 unassigned    wm    510 - 1019      510.00MB    (510/0/0)  1044480
  5 unassigned    wm      0              0        (0/0/0)          0
  6 unassigned    wm      0              0        (0/0/0)          0
  7 unassigned    wm      0              0        (0/0/0)          0
  8      boot    wu      0 -    0        1.00MB    (1/0/0)      2048
  9 unassigned    wm      0              0        (0/0/0)          0

partition> label ---------------------- 설정한 슬라이스 저장
Ready to label disk, continue? y ---------------------- 디스크 4, 5, 6, 7 모두 동일한 작업을 해준다

partition> q

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
        fdisk      - run the fdisk program
        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> q
#
#
# metadb ---------------------- 메타디비 상태 확인
metadb: terran: there are no existing databases
#
#

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

Raid0(concatenation)  구성하기

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


# vi /etc/lvm/md.tab ---------------------- 볼륨 환경 구성 파일
#
# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)md.tab    2.4    02/01/29 SMI"
#
# md.tab
#
#      metainit utility input file.
#
# The following examples show the format for local metadevices, and a
# similar example for a shared metadevice, where appropiate.  The shared
# metadevices are in the diskset named "blue":
#
# Metadevice database entry:
#
#      mddb01  /dev/dsk/c0t2d0s0 /dev/dsk/c0t0d0s0
#
# Concatenation of devices:
#
#      d10            2 1 /dev/dsk/c0t2d0s0 1 /dev/dsk/c0t0d0s0
#      blue/d10        2 1 /dev/dsk/c2t2d0s0 1 /dev/dsk/c2t0d0s0
#
# Stripe of devices:
#
#      d11            1 2 /dev/dsk/c0t2d0s1 /dev/dsk/c0t0d0s1
#      blue/d11        1 2 /dev/dsk/c2t2d0s1 /dev/dsk/c2t0d0s1
#
# Concatenation of stripes (with a hot spare pool):
#
#      d13            2 2 /dev/dsk/c0t2d0s0 /dev/dsk/c0t0d0s0
#                        2 /dev/dsk/c0t2d0s1 /dev/dsk/c0t0d0s1 -h hsp001
#      blue/d13        2 2 /dev/dsk/c2t2d0s0 /dev/dsk/c2t0d0s0
#                        2 /dev/dsk/c2t2d0s1 /dev/dsk/c2t0d0s1 -h blue/hsp001
#
# Two way mirror:
#
#      d14            -m d10 d11
#      blue/d14        -m blue/d10 blue/d11
#
# Logging w/components for master and logging device
#
#      d0              -t /dev/dsk/c1t2d0s0 /dev/dsk/c1t0d0s0
#      blue/d0        -t /dev/dsk/c2t2d0s0 /dev/dsk/c2t0d0s0
#
# Logging with mirrored master device and striped logging device
#
#      d1              -t d14 d13
#      blue/d1        -t blue/d14 blue/d13
#
# RAID of devices
#
#      d15            -r /dev/dsk/c1t0d0s0 /dev/dsk/c1t1d0s0
#                          /dev/dsk/c1t2d0s0 /dev/dsk/c1t3d0s0
#      blue/d15        -r /dev/dsk/c2t0d0s0 /dev/dsk/c2t1d0s0
#                          /dev/dsk/c2t2d0s0 /dev/dsk/c2t3d0s0
#
# Hot Spare Pool of devices
#
#      hsp001          /dev/dsk/c1t0d0s0
#      blue/hsp001    /dev/dsk/c2t0d0s0
#
# 100MB Soft Partition
#
#      d1              -p /dev/dsk/c1t0d0s1 100M
#      blue/d1        -p /dev/dsk/c2t0d0s1 100M
d10 2 1 /dev/dsk/c2t1d0s4 1 /dev/dsk/c2t2d0s4 ---------------------- Raid0(concatenation) 설정
:wq!

#
#
# metainit d10 ---------------------- d10에 관한 메타DB 구성
d10: Concat/스트립이 설정됨
#
#
# metastat ---------------------- 메타디비 확인
d10: Concat/Stripe
    크기: 2088960 블록(1020 MB)
    스트립 0:
        장치      시작 블록    Dbase  Reloc
        c2t1d0s4          0    아니    예
    스트립 1:
        장치      시작 블록    Dbase  Reloc
        c2t2d0s4          0    아니    예

장치 재배치 정보:
장치    재배치 장치 ID
c2t1d0  예    id1,sd@f08a4054843c441cb000ca4bf0000
c2t2d0  예    id1,sd@f08a4054843c441cb000dc69d0001
#

# newfs /dev/md/rdsk/d10 ---------------------- 구성한 볼륨 파일시스템 생성
newfs: 새 시스템 파일 /dev/md/rdsk/d10을(를) 구성하시겠습니까: (y/n)? y
/dev/md/rdsk/d10:      64 트랙, 32 섹터의 1020 실린더에 있는 2088960 섹터
        1020.0MB (64 실린더 그룹) (16 c/g, 16.00MB/g, 7680 i/g)
수퍼 블록 백업 (fsck -F ufs -o b=#의 경우):
32, 32832, 65632, 98432, 131232, 164032, 196832, 229632, 262432, 295232,
1771232, 1804032, 1836832, 1869632, 1902432, 1935232, 1968032, 2000832,
2033632, 2066432,
#
#
# mkdir md10
# mount /dev/md/dsk/d10 /md10
# df -k
파일시스템          K바이트    사용    가용  용량    설치지점
/dev/dsk/c0d0s0      9424682 1940499 7389937    21%    /
/proc                      0      0      0    0%    /proc
mnttab                    0      0      0    0%    /etc/mnttab
fd                        0      0      0    0%    /dev/fd
swap                  590892      20  590872    1%    /var/run
swap                  591176    304  590872    1%    /tmp
/dev/dsk/c0d1s4        96019    1042  85376    2%    /mntpoint
/dev/dsk/c0d0s7      480620    2216  430342    1%    /export/home
/dev/md/dsk/d10      981999    1041  922039    1%    /md10
# cd /md10
# pwd       
/md10
# mkfile 500m & ---------------------- 임의의 파일 생성후
[1]    568
# iostat -xctn 1 ---------------------- 파일 입출력 현황 확인
  tty        cpu
tin tout  us sy wt id
  1  48  0  1  2 96
                    extended device statistics             
    r/s    w/s  kr/s  kw/s wait actv wsvc_t asvc_t  %w  %b device
    9.9    0.9  72.4    1.9  0.1  0.1    8.4    5.0  1  4 c0d0
    0.2    0.0    0.2    0.0  0.0  0.0    0.0    1.7  0  0 c0d1
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 fd0
    0.2    2.5    1.9  706.9  0.0  0.6    0.0  205.3  0  6 d10
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c1t0d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c2t0d0
    0.1    0.4    1.8  15.2  0.0  0.0    0.0  19.7  0  0 c2t1d0 ------------- 구성한 디스크에
    0.0    0.4    1.8  15.1  0.0  0.1    0.0  315.8  0  0 c2t2d0 ------------ 동시에 파일 쓰기 작업
    0.0    0.1    1.8    1.8  0.0  0.0    0.0    0.4  0  0 c2t3d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c2t4d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c2t5d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 terran:vold(pid347)
#
#

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

Raid 5 구성하기

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


# vi /etc/lvm/md.tab
d15 -r /dev/dsk/c2t3d0s4 /dev/dsk/c2t4d0s4 /dev/dsk/c2t5d0s4 ---------------------- Raid5 볼륨 구성
"/etc/lvm/md.tab" 68 행, 1829 문자
#
#
# metainit d15
d15: RAID가 설정됨
# metastat
d15: RAID
    상태: 확인       
    인터레이스: 32 블록
    크기: 2086912 블록(1019 MB)
원래의 장치:
    크기: 2088256 블록(1019 MB)
        장치      시작 블록    Dbase        상태 Reloc  핫 스패어
        c2t3d0s4        330      아니        확인    예
        c2t4d0s4        330      아니        확인    예
        c2t5d0s4        330      아니        확인    예

장치 재배치 정보:
장치    재배치 장치 ID
c2t3d0  예    id1,sd@f08a4054843c441cb000eb94f0002
c2t4d0  예    id1,sd@f08a4054843c441cc0000f92e0003
c2t5d0  예    id1,sd@f08a4054843c441cc00020ff60004
#
#
# newfs /dev/md/rdsk/d15
newfs: 새 시스템 파일 /dev/md/rdsk/d15을(를) 구성하시겠습니까: (y/n)? y
/dev/md/rdsk/d15:      64 트랙, 32 섹터의 1019 실린더에 있는 2086912 섹터
        1019.0MB (64 실린더 그룹) (16 c/g, 16.00MB/g, 7680 i/g)
수퍼 블록 백업 (fsck -F ufs -o b=#의 경우):
32, 32832, 65632, 98432, 131232, 164032, 196832, 229632, 262432, 295232,
1771232, 1804032, 1836832, 1869632, 1902432, 1935232, 1968032, 2000832,
2033632, 2066432,
#
#
# mkdir /md15
# cd /md15
# mkfile 500m &
# iostat -xctn 1
  tty        cpu
tin tout  us sy wt id
  0 1107  2 98  0  0
                    extended device statistics             
    r/s    w/s  kr/s  kw/s wait actv wsvc_t asvc_t  %w  %b device
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c0d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c0d1
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 fd0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 d10
    0.0  18.2    0.0 1017.8  0.0  0.5    0.0  27.4  0  50 d15
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c1t0d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c2t0d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c2t1d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 c2t2d0
  24.2  84.8  290.8 1184.4  0.0  0.3    0.0    2.7  0  20 c2t3d0
  24.2  84.8  290.8 1184.4  0.0  0.2    0.0    2.1  0  23 c2t4d0
  24.2  84.8  290.8 1184.4  0.0  0.3    0.0    2.6  0  19 c2t5d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0  0  0 terran:vold(pid347)





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

Raid1 구성하기

<P class=MsoNormal style="MARGIN: 0cm





출처 : http://aqua707.cafe24.com/blog/


목록 | 입력 | 수정 | 답변 | 삭제