阿里云扩充云盘遇到的坑

阿里云官方文档:https://help.aliyun.com/document_detail/25452.html?spm=5176.2020520101.0.0.19ac4df5vlFqjH

解决 umount /dev/vdb1 报错的问题

 (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

  fuser -m /dev/vdb1
/dev/vdb1:          26086c
没有想到还真的有个进程在使用。
只能查查是和什么程序了:
   ps -ef |grep 26086c

root      7347  4480  0 15:29 pts/2    00:00:00 grep 26086c
[root@pan Desktop]# ps -ef |grep 26086
root      7457  4480  0 15:29 pts/2    00:00:00 grep 26086
root     26086     1  0 13:40 pts/1    00:00:09 konqueror http://www.vmware.com/info?id=520

杀死全部进程
  kill -9 26086
嘻嘻~再umount的时候可以了。
  umount /dev/vdb1
按文档执行挂载操作

最后设置开机自动挂载
编辑/etc/fstab文件,再最后面添加

猜你喜欢

转载自www.cnblogs.com/mr-amazing/p/9755887.html