¸®´ª½º °ü·Ã °Ô½ÃÆÇ

2002/09/13(17:20) from 210.117.182.162
ÀÛ¼ºÀÚ : °­ÁÙ±â (jkkang65@hanmail.net) Á¶È¸¼ö : 6978 , ÁÙ¼ö : 58
Re: [Linux] ÆÄƼ¼Ç ³ª´©±â ¹× ÆÄÀϽýºÅÛ ¸¸µé±â
1. Master/Slave °áÁ¤

ÀϹÝÀûÀ¸·Î Disk¸¦ Master(hda, hdc)·Î ¿¬°áÇÏ´Â °ÍÀÌ Slave(hdb, hdd) ·Î ¿¬°áÇÏ´Â
°Íº¸´Ù ºü¸£´Ù´Â »ç½ÇÀ» ±â¾ïÇÏÀÚ. ÀÌ ¿¬°áÀº Á¡ÆÛ¼³Á¤À» º¯°æÇؼ­ Á¶Á¤ÇÑ´Ù.


2. ÆÄƼ¼Ç ³ª´©±â

»õ·Î Ãß°¡ÇÑ ÀåÄ¡ : /dev/hdb

$ fdisk /dev/hdb

$ fdisk /dev/hdb

The number of cylinders for this disk is set to 16383.
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., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): n
Command action
  e   extended
  p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-16383, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-16383, default 16383): 16383

Command (m for help): p

Disk /dev/hdb: 16 heads, 63 sectors, 16383 cylinders
Units = cylinders of 1008 * 512 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1     16383   8257000+  83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.


3. ÆÄÀÏ ½Ã½ºÅÛ ¸¸µé±â

$ mkfs -t ext3 -c /dev/hdb1

-c ¿É¼ÇÀº bad blockÀ» üũÇϴ°Í.

$ fdisk -l ·Î È®ÀÎÇÑ´Ù.



À§¿Í°°ÀÌ Çϸé 10GB Â¥¸® 1°³¸¦ 5GB Â¥¸® 2°³ÀÇ ÆÄƼ¼ÇÀ» ¸¸µé¼ö ÀÖ´Ù.
ÀÌ·¸°Ô µÇ¸é, µð½ºÅ©ÀåÄ¡°¡ /dev/hdb¶ó°í Çϸé, /dev/hdb1, /dev/hdb2 ·Î ¸¸µé¾îÁø´Ù.

Modify Delete Post Reply Backward Forward List
Powered by Kang Jul Ki