>> Read No. 2321 article  
리눅스에 새로운 하드디스크 추가 하기

등록 2002-03-17 16:33:00     조회 4
이름 유재철    

		검색어: 하드추가 새로운하드
 리눅스 레드핫에서 새로운 하드디스트 추가 하기
1. 새로운 하드디스크를 물리적으로 추가한다.
2. 새로운 디스크에 파티션을 만든다.
2-1. # fdisk /dev/sdc
--------------------------------------------------------------------
The number of cylinders for this disk is set to 2495.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
  Command (m for help):
--------------------------------------------------------------------
2-2. 도움말 보기 : "m" 키
-------------------------------------------------------------------------
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition"s system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
--------------------------------------------------------------------
   2-3. 파티션 생성 : "n" 키
 --------------------------------------------------------------------
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p ---> 주 파티션을 생성함
 Partition number (1-4): 1 ---> 파티션 번호 선택
 First cylinder (1-2495, default 1): ---> 시작 실린더(Enter는 기본값사용)
Using default value 1
 Last cylinder or +size or +sizeM or +sizeK (1-504, default 504): +20M ---> 끝 실린더( +20M 등의 SIZE 단위 지
원가능함)   Command (m for help): p ---> 생성된 파티션 확인
  Disk /dev/hda: 255 heads, 63 sectors, 2495 cylinders
Units = cylinders of 16065 * 512 bytes
  Device Boot Start End Blocks Id System
/dev/hda1 1 3 24066 83 Linux
/dev/hda2 505 1779 10241437+ 83 Linux
/dev/hda3 1780 2495 5751270 83 Linux
 2-4. 파티션 작업 정보 저장 : "w" 키
 "w"키를 누르면 현재 설정된 파티션 정보를 저장하고 fdisk를 빠져나가게
됩니다. 나간후에 쉘에서 mkfs명령을 이용하여 파일시스템을 생성합니다.
 파일시스템을 생성한 후에야 mount 해서 사용할 수 있습니다.
 --------------------------------------------------------------------
Command (m for help): w
--------------------------------------------------------------------
3. 새로운 디스크 포맷하기
#./mke2fs /dev/sdc1
 4. 새로운 마운트 포인트 생성
# mkdir /home6
 5. 마운드
#mount –t ext2 /dev/sdc1 /home6
 6. /etc/fstab을 적절히 변경하기
# /etc/fstab파일을 새로운 디스크에 맞도록 적당하게 변경한다 .
이름
암호


>> 관련글
2321 리눅스에 새로운 하드디스크 추가 하기  유재철  2002.03.17  ....
  답장 RE: 좋은글 감사드립니다. ^^[내용無]  멍청이  2002.03.17  ....
  목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.42 초 ] 작업시간: [ 0.08 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791032969
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.