1) 查看当前系统的硬盘状况,采用df 命令
[root@localhost ~]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 18G 4.7G 12G 29% /
tmpfs 760M 0 760M 0% /dev/shm
2) 然后,分区 fdisk /dev/sdb
选n创建扩展分区,sdb1
选n创建逻辑分区,sdb5
3)格式化
mkfs.ext3 /dev/sdb5
4)挂载
编辑/etc/fstab文件,加入下面的内容
/dev/sdb5 /worl ext3 defaults 1 1
重启,OK!
参考:
1) http://www.hjhome.net/web/index.php?option=com_content&view=article&id=743:vmwarelinux&catid=94:linux&Itemid=10
没有评论:
发表评论