原因:
由于某个分区满了,切磁盘无法扩大分区空间,但是项目依赖该分区,需要继续像该分区存储文件,此时其他分区还有很大的空间,使用挂载的方式,在有空间的分区创建新目录,将新目录挂载到源目录下即可。
执行mount操作报错如下
[root@hostname home]# mount /home/wget/download /home/ftp/wget/download mount: you must specify the filesystem type
最终执行命名
[root@hostname download]# mount --bind /home/wget/download /home/ftp/wget/download
查看挂载成功
[root@hostname download]# mount -l /home/wget/download on /home/ftp/wget/download type none (rw,bind)