磁盘总共大小15G,现在想分成系统盘5G和数据盘10G,然后把数据盘挂载到www的目录下面,linux命令应该怎么操作,谢谢!
大家讲道理2017-04-17 13:51:35
You have divided the disk into the same partition. So you need to repartition. Repartitioning will delete the original data, which means the original system will be deleted, so you need to reinstall the system.
So reinstall, choose different mount points when reinstalling, or only divide 5G when reinstalling, and divide the rest after installing.
黄舟2017-04-17 13:51:35
You can use fdisk and mkfs to repartition. I will not copy and paste these two specific commands.