#hdparm /dev/sda
#mke2fs -j /dev/sda1
edit the fstab in etc
add the following line to fstab
/dev/sda1 /DATA ext3 rw,acl 0 0
note: i need the ACL so i add the function in this directory
make directory
#mkdir /DATA
then mount the DATA directory
#mount /DATA
[root@brain ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 9.5G 2.6G 6.5G 29% /
tmpfs 371M 0 371M 0% /dev/shm
/dev/hda2 9.5G 537M 8.5G 6% /home
/dev/hda5 16G 172M 15G 2% /rhome
/dev/sda1 147G 2.4G 137G 2% /DATA
[root@brain ~]#
note :
#e2label /dev/hdd /newlabel
#mount -o remount,rw /
No comments:
Post a Comment