mkdir /mnt/sda2 mount /dev/sda2 /mnt/sda2 service mysqld stop service pureftpd stop service httpd stop service nginxd stop mv /www/* /mnt/sda2 umount /dev/sda2 mount /dev/sda2 /www service mysqld start service pureftpd start service httpd start service nginxd start 要重起生效,修改/etc/fstab文件
硬盘分区不够大,想转到大一点的分区,应该怎么转
我在论坛找到了站长写的这个: mkdir /mnt/sda2 mount /dev/sda2 /mnt/sda2 mv /www/* /mnt/sda2 umount /dev/sda2 mount /dev/sda2 /www 要重起生效,修改/etc/fstab文件