创建磁盘

#1.create lv
lvcreate -L 100G -n datavg ebao
#2.format lv
mkfs.ext4 /dev/datavg/ebao
#3.Create a partitioned directory /ebao
mkdir /ebao
#4. Adding partition to /etc/fstab
echo "/dev/datavg/ebao /ebao ext4 defaults 0 0" >> /etc/fstab
#5.mount /ebao directory
mount /ebao

posted @ 2019-05-24 11:40  鬼面郎君  阅读(314)  评论(0编辑  收藏  举报