linux 磁盘分区挂载求助
ringa_lee
ringa_lee 2017-04-17 13:49:35
0
2
862

磁盘总共大小15G,现在想分成系统盘5G和数据盘10G,然后把数据盘挂载到www的目录下面,linux命令应该怎么操作,谢谢!

ringa_lee
ringa_lee

ringa_lee

reply all(2)
大家讲道理

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.

黄舟

You can use fdisk and mkfs to repartition. I will not copy and paste these two specific commands.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!