Mounting Hardisk di Centos- VM ware


masuk sebagai root
#su -
#cd /dev/sd (pake tab)
#mkdir /data1
#mkdir /data2
#mkdir /logarchmeth1

mounting hardisk 1 dengan directory data1 :
#fdisk /dev/sdb
->Command (m for help): m
->Command (m for help): p 
->Command (m for help): n
->Command (m for help): p
->Partition number (1-4): 1
->Tekan enter (2x)
->Command (m for help): w 
#/sbin/mkfs.ext4 -L /data1 /dev/sdb1
# mount /dev/sdb1 /data1
#df -h
 
mounting hardisk 2 dengan directory data2 :
#fdisk /dev/sdc
->Command (m for help): m
->Command (m for help): p
->Command (m for help): n
->Command (m for help): p
->Partition number (1-4): 1
->Tekan enter (2x)
->Command (m for help): w
#/sbin/mkfs.ext4 -L /data2 /dev/sdbc
# mount /dev/sdc /data2
#df -h
 
mounting hardisk 3 dengan directory logarchmeth1 :
#fdisk /dev/sdd
->Command (m for help): m
->Command (m for help): p
->Command (m for help): n
->Command (m for help): p
->Partition number (1-4): 1
->Tekan enter (2x)
->Command (m for help): w
#/sbin/mkfs.ext4 -L /logarchmeth1 /dev/sdd
# mount /dev/sdd /logarhmeth1
#df -h

 
 

0 comments:

Post a Comment