|
News,
Internal,
Projects,
Home Software, Support, Documentation |
예제를 보여드리는 게 제일 좋을 거 같아서..
저희 서버 설정입니다.
-----------------------------------------------
# vinum configuation file
#
# /home - RAID5 drive
# /movie - Concatenated drive
#
# Drives
drive drive1 device /dev/ad1s1d
drive drive2 device /dev/ad2s1d
drive drive3 device /dev/ad3s1d
drive drive4 device /dev/da0s1d
drive drive5 device /dev/da1s1d
#
# Volumes
volume home
plex org striped 256k
sd length 0 drive drive1
sd length 0 drive drive2
sd length 0 drive drive3
#
volume movie
plex org concat
sd length 0 drive drive4
sd length 0 drive drive5
-------------------------------------------
vinum 설정파일입니다.
참고로 저는 /etc에 vinum.conf라는 파일을 만들어서는...
vinum create -f /etc/vinum.conf로 해서 vinum 설정을 만들었습니다.
사용할 drive (예를 들어 /dev/da1s1d) 같은 경우는 슬라이드의 fs type을
전부다 vinum으로 해야합니다.
SungGON Yi.
skon@xxxxxxxxxxxxxx
----- Original Message -----
From: "soonpc" <trusty@xxxxxxxxxx>
To: <questions@xxxxxxxxxxxxxx>
Sent: Thursday, March 20, 2003 1:29 AM
Subject: vinum 레이드 구성문제...
>
> 안녕하세요~ ^^
>
> 어제 하루 왠종일 이거랑 씨름하고 있는데, 아직 해결하지 못했습니다.
>
> 다시 IDC 갈 일이 없어야 할텐데.. ㅡ.ㅡ
>
>
> 36기가 두개 + 18기가 두개 총 4개의 하드인데요..
>
> freebsd# fdisk -s da0
> /dev/da0: 2231 cyl 255 hd 63 sec
> Part Start Size Type Flags
> 1: 63 35840952 0xa5 0x80
> freebsd# fdisk -s da1
> /dev/da1: 2231 cyl 255 hd 63 sec
> Part Start Size Type Flags
> 1: 63 35840952 0xa5 0x80
> freebsd# fdisk -s da2
> /dev/da2: 1116 cyl 255 hd 63 sec
> Part Start Size Type Flags
> 1: 63 17928477 0xa5 0x80
> freebsd# fdisk -s da3
> /dev/da3: 1116 cyl 255 hd 63 sec
> Part Start Size Type Flags
> 1: 63 17928477 0xa5 0x80
>
> 첫 하드에 기본적은 프로그램을 깔았구요.. 첫하드의 남은 파티션과 나머지
하드세개 "da0s1h+da1+da2+da3" 이렇게 구성할려고 시도 중입니다.
> da0
> da0s1a,da0s1b,da0s1e,da0s1f,da0s1g,da0s1h
>
> da1
> da2
> da3
>
> 먼저 궁금한게요.. 아래와 같이 치면 unused 이것만 나오는데, 원래 파티션이
짜악~ 나와아 하는게 정상인가요? ㅡ.ㅡ
> da1,da2,da3도 마찬가지로 저런식으로 출력 되더라구요..
>
> freebsd# disklabel /dev/da0
> # /dev/da0:
> type: SCSI
> disk: IBM
> label: DDYS-T18350M
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 2231
> sectors/unit: 35843670
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # milliseconds
> track-to-track seek: 0 # milliseconds
> drivedata: 0
>
> 8 partitions:
> # size offset fstype [fsize bsize bps/cpg]
> c: 35843670 0 unused 0 0 # (Cyl. 0 -
2231*)
>
>
> 그래서 장치명을 입력해서 셋팅했습니다. da1s1e,da2s1e,da3s1e 이런식으로요..
> freebsd# disklabel /dev/da0s1h
> # /dev/da0s1h:
> type: SCSI
> disk: da0s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 2230
> sectors/unit: 35840952
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # milliseconds
> track-to-track seek: 0 # milliseconds
> drivedata: 0
>
> 8 partitions:
> # size offset fstype [fsize bsize bps/cpg]
> a: 262144 0 4.2BSD 0 0 0 # (Cyl. 0 -
16*)
> b: 2097152 262144 swap # (Cyl. 16*-
146*)
> c: 35840952 0 unused 0 0 # (Cyl. 0 -
2230*)
> e: 2097152 2359296 4.2BSD 0 0 0 # (Cyl. 146*-
277*)
> f: 1024000 4456448 4.2BSD 0 0 0 # (Cyl. 277*-
341*)
> g: 10240000 5480448 4.2BSD 0 0 0 # (Cyl. 341*-
978*)
> h: 20120504 15720448 vinum # (Cyl. 978*-
2230*)
>
>
> 마지막으로 vinum을 실행하면
>
> vinum -> concat -v /dev/da1 /dav/da2 /dav/da3
> volume vinum12
> plex name vinum12.p0 org concat
> sd name vinum12.p0.s0 drive vinumdrive1 size 0
> sd name vinum12.p0.s1 drive vinumdrive4 size 0
> drive vinumdrive5 device /dav/da3
> Can't create drive vinumdrive5, device /dav/da3: Can't initialize drive
vinumdrive5
>
> 저런 에러가 납니다. ㅠ.ㅠ (디스크명이 돌아가면서 에러가 나네요)
>
> vinum -> concat -v /dev/da0s1h /dev/da1s1e /dav/da2s1e /dav/da3s1e
> 이런식으로도 해 보았는데, 마찬가지구요.. 혹시나 해서 da0s1h(/dev/da0)를
빼고, 작업해도 마찬가지...
>
> 제 생각에는 저 위부터 뭔가 잘못된것 같은데... 감을 못 잡겠습니다.
>
> 한줄기 빛을...... ㅠ.ㅠ
>
> 편한밤 되세요~~>괍vz?뗐y?¯Rn‰zj⇔??²rz²ž?~
--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@xxxxxxxxxxxxxx
with "unsubscribe questions" in the BODY of the message
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2003/03/31 23:00:56 $ |
|