Today, i just have been asked to myselft how to add new hardisk and create new partition join to the partition which has been ready exist. The answers is very easy, here is:
1. Put the new hardisk on slave in beside the master which already exist.
2. Linux doesn’t detect the new hardisk automaticaly. It’s not same on windows system. Remember, In linux first HD looked on /dev/hda and second HD is detected on /dev/hdb
3. You must create new partition first before formating and mounting. To create new partition can use “fdisk /dev/hdb” command. Following the instruction on there. You can add, delete, or modife the parttion. Create the number of partition as your needed, the example 3 partition.
4. The next step is create filesystem to the new partition. Use this command:
mke2fs /dev/hdb1,2,3 –> to create ext2 file system
mkreiserfs /dev/hdb1,2,3 –> to create reiserfs file system
mke2fs -j /dev/hdb1,2,3 –> to create ext3 file system
5. After that, you must mount the partition to the mount point. If you want outomatically mounting the new partition, edit /etc/fstab and add the new line below:
dev/hdb1 /mp3 ext3 defaults 1 2
/dev/hdb2 /video ext3 defaults 1 2
dev/hdb3 /images ext3 defaults 1 2
Very easy Huh……
>>aris<<
First post at Monday, June 5, 2006, 11:08 PM
