기존 시스템에 "/usr"파티션의 공간이 없어서 새로운 하드를 추가 했습니다.
그러나 잘 안되는군요..
제가 했던 작업과 메세지는 다음과 같습니다.
프라이머리 슬레이브로 하드를 추가하고 루트로 로그인해서
[root@localhost /root]# fdisk /dev/hdb 실행
Command (m for help):n
Command action
e extended
p primary patision (1-4)에서 p입력
Patision Number(1-4):에서 1입력
Frist cylinder (1-869, default 1):에서 1입력
Last cylinder or +size or +sizeM or +sizeK (1-869, default 869):869입력
Command (m for help):에서 p로 확인
Disk /dev/hdb: 10 heads, 63 sectors, 869 sylinders
Units = cylinders of 630 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 869 273703+ 83 Linux
Command (m for help):에서 wq로 저장후 종료
The partition table has been altered!
Calling ioctl() to re-read partition table.
hdb: hdb1
hdb: hdb1
WARNING: If you have created or modified any DOS 6.x
partisions, please see the fdisk manual page for additional
information.
Syncing disks.
[root@localhost /root]# mke2fs /dev/hdb1입력
mke2fs 1.18, 11-Nov-1999 EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type:Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
68544 inodes, 273703 blocks
13685 blocks (5.00%) reserved for the super user
First data block=1
34 block groups
8192 blocks per group, 8192 fragment group
2016 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
[root@localhost /root]# cat /etc/fstab입력
/dev/hda8 / ext2 defaults 11
/dev/hda1 /boot ext2 defaults 12
/dev/hda6 /home ext2 defaults 12
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 00
/dev/hda5 /usr ext2 defaults 12
/dev/hda7 /var ext2 defaults 12
/dev/fd0 /mnt/floppy auto noauto,owner 00
none /proc proc defaults 00
none /dev/pts devpts gid=5,mode=620 00
/dev/hda9 swap swap defaults 00
[root@localhost /root]# df입력
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda8 255690 51240 191247 21% /
/dev/hda1 17534 2965 13664 18% /boot
/dev/hda6 516008 620 489084 0% /home
/dev/hda5 519836 485332 8096 98% /usr
/dev/hda7 255690 6921 235566 3% /var
위의 상황에서 /usr의 파티션 용량이 부족하여 앞에서 포멧한 /dev/hdb1을
합쳐서 용량을 늘려서 사용하려 합니다..
합쳐서 용량을 늘리는 방법을 모르겠군요... 많은 조언 부탁드립니다.