天天看點

linux磁盤動态擴容時無法umount

之前阿裡雲的磁盤空間是200G的,由于業務原因,現在要提升到400G

下面是操作詳情:

[root@localhost /]# umount /data
umount.nfs: /data: device is busy
[root@localhost /]# umount -lf /data
成功!
[root@localhost /]# fdisk /dev/xvdb
WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old tab
......      

瞬間整個人都不好了,已經解除安裝了,還有程序調用。。。。。。

[root@iZ25papb7g2Z ~]# fuser -m -v /data

                     USER        PID ACCESS COMMAND

/data:               root       1332 F..e. httpd

                     daemon     1333 F..e. httpd

                     root       1340 F..e. nginx

                     www        1341 F..e. nginx      

繼續閱讀