top of page

Unix 디스크 관리 방법 정리 SUN

Unix 디스크 관리 방법 정리

l SUN

새로운 장비를 붙이는 방법 정리

-명령순서 : format e newfs e vi /etc/vfstab e mountall

Partition 명령 Format명령 부팅시 partition mount 정보 셋팅 partition mount 정보로 자동 mount

# format

Searching for disks…done

AVAILABLE DISK SELECTIONS:

0. c0t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>

/sbus@1f,0/SUNW,fas@e,8800000/sd@0,0

1. c0t9d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>

/sbus@1f,0/SUNW,fas@e,8800000/sd@9,0

2. c0t10d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>

/sbus@1f,0/SUNW,fas@e,8800000/sd@a,0

3. c0t11d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>

/sbus@1f,0/SUNW,fas@e,8800000/sd@b,0

4. c0t12d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>

/sbus@1f,0/SUNW,fas@e,8800000/sd@c,0

5. c0t13d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>

/sbus@1f,0/SUNW,fas@e,8800000/sd@d,0

6. c0t14d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>

/sbus@1f,0/SUNW,fas@e,8800000/sd@e,0

Specify disk (enter its number):4

Newfs /dev/dev/c0t12d0s6

mount /dev/dev/c0t12d0s6 /disk6

디스크에 관한 구조

-disk 정보 보기 명령 : df

df -g

-디스크이름에 대한 이해 : c0t0d0s0

c0 : controller 번호

t0 : disk 번호

d0 : disk 내부 address번호

s0 : slice 번호

ex> c0t12d0s6가 4G =>controller0에 디스크12에 address가0번에 slice가 6번에 4G할당 되어 있음

-mount 명령 : mount /dev/dev/c0t12d0s6 /disk6

부팅시 자동 소프트웨어의 자동수행

-명령순서 : cd /etc/rc2.d e 수행파일을 만드는데 첫문자는 대문자 S를 사용해야 됨 e 현재 ls시 파일순서로 수행

조회수 1회댓글 0개

Comments


bottom of page