|
|
root@controller iso]# guestmount -a CentOS7.9_x86_64_LVM_20241118.qcow2 -i --rw /mnt/
! Y+ r# Y/ V9 U: ]0 d# Ffuse: mountpoint is not empty
5 K2 N6 u" t f5 F( M" L8 Dfuse: if you are sure this is safe, use the 'nonempty' mount option" r; } l5 v0 j$ D' Q2 M- A
libguestfs: error: fuse_mount failed: /mnt/, see error messages above
, h7 F: p& V: U. H. C- _3 x2 A' a& j1 y0 f; s
解决办法:, z; t- ^9 ]: {6 T* a% N" ~5 S8 P8 C
; z* v; y9 d% _4 e9 [$ z
在命令中加 个-o参数 并添加nonempty命令即可:& a% S4 ^8 ~8 M8 @9 d( p: p
[root@controller iso]# guestmount -a CentOS7.9_x86_64_LVM_20241118.qcow2 -i --rw -o nonempty /mnt/+ a$ g- B- Y. n/ h3 s! e9 e X; c
" i$ |5 u: _- c* J9 S1 r/ `1 L- ?8 G7 m1 Z+ X) F
问题解决。
( G& e4 D. |! I- O7 j2 H$ h; b |
|