service mysqld stop
service pureftpd stop
service httpd stop
service nginxd stop
mv /www/* /data
umount /dev/sdb1
mount /dev/sdb1 /www
service mysqld start
service pureftpd start
service httpd start
service nginxd start
要重起生效,修改/etc/fstab文件
vi /etc/fstab
/dev/sdb1 /data
改为
/dev/sdb1 /www