Linux下新磁盘挂载
挂载新磁盘
(1)查看新加的磁盘分区
[root@localhost ~]#fdisk -l
一般新的磁盘分区在最后一个显示,但是为了避免出错,请查看下当前已经挂载的磁盘信息做确认
[root@localhost ~]# df -Th
(2)格式化磁盘为ext4格式
[root@localhost ~]# mkfs -t ext4 /dev/vdd
(3)创建新目录并将磁盘挂载到该目录
[root@localhost ~]# mkdir /Release-new
[root@localhost ~]# mount /dev/vdd /Release-new
博主github地址:https://github.com/bazingafraser/cv
本文章为Bazingafraser作者原创,转载请注明出处,违权必究:http://www.cnblogs.com/bazingafraser/
posted on 2018-03-14 14:28 Bazingafraser 阅读(136) 评论(0) 编辑 收藏 举报