Merci. mais toujours pas :(
```
mint@mint:~$ sudo -i
root@mint:~# lvremove pve/swap
Do you really want to remove and DISCARD active logical volume pve/swap? [y/n]: y
Logical volume "swap" successfully removed
root@mint:~# lvremove pve/root
Do you really want to remove and DISCARD active logical volume pve/root? [y/n]: y
Logical volume "root" successfully removed
root@mint:~# vgremove pve
Do you really want to remove volume group "pve" containing 2 logical volumes? [y/n]: y
Do you really want to remove and DISCARD logical volume pve/swap? [y/n]: y
Logical volume "swap" successfully removed
Do you really want to remove and DISCARD logical volume pve/root? [y/n]: y
Logical volume "root" successfully removed
Volume group "pve" successfully removed
root@mint:~# pvremove pve
Device pve not found.
root@mint:~# pvdisplay
--- Physical volume ---
PV Name /dev/sdb3
VG Name pve
PV Size 118.74 GiB / not usable <3.32 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 30397
Free PE 0
Allocated PE 30397
PV UUID 1sRobh-BrFz-W91F-EWRW-mjwI-dQUU-PLaoKH
root@mint:~# pvremove /dev/sdb3
PV /dev/sdb3 is used by VG pve so please use vgreduce first.
(If you are certain you need pvremove, then confirm by using --force twice.)
/dev/sdb3: physical volume label not removed.
root@mint:~# vgdisplay
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <118.74 GiB
PE Size 4.00 MiB
Total PE 30397
Alloc PE / Size 30397 / <118.74 GiB
Free PE / Size 0 / 0
VG UUID gCPX7V-uESJ-4kOi-L7GY-kDJD-ZTow-P79sMy
root@mint:~# vgremove pve
Do you really want to remove volume group "pve" containing 2 logical volumes? [y/n]: y
Do you really want to remove and DISCARD logical volume pve/swap? [y/n]: y
Logical volume "swap" successfully removed
Do you really want to remove and DISCARD logical volume pve/root? [y/n]: y
Logical volume "root" successfully removed
Volume group "pve" successfully removed
root@mint:~# vgdisplay
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <118.74 GiB
PE Size 4.00 MiB
Total PE 30397
Alloc PE / Size 30397 / <118.74 GiB
Free PE / Size 0 / 0
VG UUID gCPX7V-uESJ-4kOi-L7GY-kDJD-ZTow-P79sMy
```J'ai l'impression que cela ne prends jamais en compte les modifications.
[^] # Re: rep
Posté par rjcab . En réponse au message impossible de supprimer partition. Évalué à 1.
Merci. mais toujours pas :(
```
mint@mint:~$ sudo -i
root@mint:~# lvremove pve/swap
Do you really want to remove and DISCARD active logical volume pve/swap? [y/n]: y
Logical volume "swap" successfully removed
root@mint:~# lvremove pve/root
Do you really want to remove and DISCARD active logical volume pve/root? [y/n]: y
Logical volume "root" successfully removed
root@mint:~# vgremove pve
Do you really want to remove volume group "pve" containing 2 logical volumes? [y/n]: y
Do you really want to remove and DISCARD logical volume pve/swap? [y/n]: y
Logical volume "swap" successfully removed
Do you really want to remove and DISCARD logical volume pve/root? [y/n]: y
Logical volume "root" successfully removed
Volume group "pve" successfully removed
root@mint:~# pvremove pve
Device pve not found.
root@mint:~# pvdisplay
--- Physical volume ---
PV Name /dev/sdb3
VG Name pve
PV Size 118.74 GiB / not usable <3.32 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 30397
Free PE 0
Allocated PE 30397
PV UUID 1sRobh-BrFz-W91F-EWRW-mjwI-dQUU-PLaoKH
root@mint:~# pvremove /dev/sdb3
PV /dev/sdb3 is used by VG pve so please use vgreduce first.
(If you are certain you need pvremove, then confirm by using --force twice.)
/dev/sdb3: physical volume label not removed.
root@mint:~# vgdisplay
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <118.74 GiB
PE Size 4.00 MiB
Total PE 30397
Alloc PE / Size 30397 / <118.74 GiB
Free PE / Size 0 / 0
VG UUID gCPX7V-uESJ-4kOi-L7GY-kDJD-ZTow-P79sMy
root@mint:~# vgremove pve
Do you really want to remove volume group "pve" containing 2 logical volumes? [y/n]: y
Do you really want to remove and DISCARD logical volume pve/swap? [y/n]: y
Logical volume "swap" successfully removed
Do you really want to remove and DISCARD logical volume pve/root? [y/n]: y
Logical volume "root" successfully removed
Volume group "pve" successfully removed
root@mint:~# vgdisplay
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <118.74 GiB
PE Size 4.00 MiB
Total PE 30397
Alloc PE / Size 30397 / <118.74 GiB
Free PE / Size 0 / 0
VG UUID gCPX7V-uESJ-4kOi-L7GY-kDJD-ZTow-P79sMy
```J'ai l'impression que cela ne prends jamais en compte les modifications.