linux 磁盘格式化和逻辑卷以及磁盘分区

1.xfs格式化,挂载磁盘
mkdir -p /mnt/sdb
mkfs.xfs -f -n ftype=1 /dev/sdb
mount /dev/sdb /mnt/sdb
blkid | grep sdb | sed s/"//g | awk '{print $2 " /mnt/sdb xfs defaults 0 0 # sdb"}' >> /etc/fstab

强制卸载
fuser 命令 https://blog.whsir.com/post-1092.html

2.逻辑卷和物理卷
https://www.cnblogs.com/moox/p/11163229.html
https://blog.csdn.net/j_ychen/article/details/79404197
3.linux下磁盘分区
https://www.cnblogs.com/yhaing/p/8706697.html
4.linux磁盘阵列
https://www.cnblogs.com/Wolf-Dreams/p/10693115.html
5.linux raid
https://jingyan.baidu.com/article/e3c78d64b7fff63c4c85f5ab.html

posted @ 2020-05-21 18:21  棋阿帕奇  阅读(938)  评论(0编辑  收藏  举报