|
|
root@controller iso]# guestmount -a CentOS7.9_x86_64_LVM_20241118.qcow2 -i --rw /mnt/
& V+ K' C3 y9 U' R# P* Q4 @6 r4 D1 efuse: mountpoint is not empty& V9 l' b* w+ P$ q$ y2 f
fuse: if you are sure this is safe, use the 'nonempty' mount option$ P& [% x$ b$ I5 z1 S: j
libguestfs: error: fuse_mount failed: /mnt/, see error messages above0 U4 Q/ u1 t7 R' B5 u1 H
0 n$ r+ h' x7 l. T/ v; }9 g+ D解决办法:
1 i8 R! b8 ?/ z) A$ |' j7 h3 P D* d, J
4 }+ [# N" C2 x5 B# L j- H7 _' P在命令中加 个-o参数 并添加nonempty命令即可:
! i: ^) h l! Q4 P6 K+ |5 K[root@controller iso]# guestmount -a CentOS7.9_x86_64_LVM_20241118.qcow2 -i --rw -o nonempty /mnt/
2 u; X! N4 J& L6 `, N4 Z, E: D- [# q1 N* x
& k% U% I5 I7 R问题解决。# y2 p. Z" H; ^* F; A
|
|