[DRBD-user] How to delete multiple disk of the same resource

Rossetti rossetti at sardi.it
Sat Mar 18 17:16:38 CET 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


root at mpve1:~# drbdmanage v
+------------------------------------------------------------------------------------------------------------+
| Name          | Vol ID |    Size | Minor |                                
                        | State |
|------------------------------------------------------------------------------------------------------------|
| vm-105-disk-2 |      0 |  32 GiB |   112 |                                
                        |    ok |
| vm-105-disk-1 |      0 | 146 GiB |   105 |                                
                        |    ok |
| vm-104-disk-1 |      0 | 146 GiB |   104 |                                
                        |    ok |
| vm-103-disk-1 |      0 | 146 GiB |   103 |                                
                        |    ok |
| vm-102-disk-1 |      0 | 146 GiB |   102 |                                
                        |    ok |
| vm-101-disk-7 |      0 |  32 GiB |   111 |                                
                        |    ok |
| vm-101-disk-6 |      0 |  32 GiB |   110 |                                
                        |    ok |
| vm-101-disk-5 |      0 |  32 GiB |   109 |                                
                        |    ok |
| vm-101-disk-4 |      0 | 146 GiB |   108 |                                
                        |    ok |
| vm-101-disk-3 |      0 |  32 GiB |   107 |                                
                        |    ok |
| vm-101-disk-2 |      0 |  32 GiB |   106 |                                
                        |    ok |
| vm-101-disk-1 |      0 |  16 GiB |   101 |                                
                        |    ok |
| vm-100-disk-1 |      0 |  32 GiB |   100 |                                
                        |    ok |
+------------------------------------------------------------------------------------------------------------+

root at mpve1:~# drbdmanage a
+------------------------------------------------------------------------------------------------------------+
| Node  | Resource      | Vol ID |                             |            
                          State |
|------------------------------------------------------------------------------------------------------------|
| mpve1 | vm-105-disk-2 |      * |                             |            
                             ok |
| mpve1 | vm-104-disk-1 |      * |                             |            
                             ok |
| mpve1 | vm-103-disk-1 |      * |                             |            
                             ok |
| mpve1 | vm-102-disk-1 |      * |                             |            
                             ok |
| mpve1 | vm-101-disk-7 |      * |                             |            
                             ok |
| mpve1 | vm-100-disk-1 |      * |                             |            
                             ok |
| mpve2 | vm-105-disk-2 |      * |                             |            
                             ok |
| mpve2 | vm-104-disk-1 |      * |                             |            
                             ok |
| mpve2 | vm-103-disk-1 |      * |                             |            
                             ok |
| mpve2 | vm-102-disk-1 |      * |                             |            
                             ok |
| mpve2 | vm-101-disk-7 |      * |                             |            
                             ok |
| mpve2 | vm-100-disk-1 |      * |                             |            
                             ok |
| mpve3 | vm-105-disk-2 |      * |                             |            
    pending actions: commission |
| mpve3 | vm-105-disk-2 |      0 |                             |        
pending actions: commission, attach |
| mpve3 | vm-105-disk-1 |      * |                             |            
  pending actions: decommission |
| mpve3 | vm-104-disk-1 |      * |                             |            
                             ok |
| mpve3 | vm-103-disk-1 |      * |                             |            
                             ok |
| mpve3 | vm-102-disk-1 |      * |                             |            
                             ok |
| mpve3 | vm-101-disk-7 |      * |                             |            
    pending actions: commission |
| mpve3 | vm-101-disk-7 |      0 |                             |        
pending actions: commission, attach |
| mpve3 | vm-101-disk-6 |      * |                             |
disconnected, pending actions: decommission |
| mpve3 | vm-101-disk-5 |      * |                             |
disconnected, pending actions: decommission |
| mpve3 | vm-101-disk-4 |      * |                             |
disconnected, pending actions: decommission |
| mpve3 | vm-101-disk-3 |      * |                             |
disconnected, pending actions: decommission |
| mpve3 | vm-101-disk-2 |      * |                             |
disconnected, pending actions: decommission |
| mpve3 | vm-101-disk-1 |      * |                             |            
  pending actions: decommission |
| mpve3 | vm-100-disk-1 |      * |                             |            
                             ok |
+------------------------------------------------------------------------------------------------------------+


--------- Messaggio Originale --------
Da: Yannis Milios <yannis.milios at gmail.com>
Per: Michele Rossetti <rossetti at sardi.it>, drbd-user at lists.linbit.com
<drbd-user at lists.linbit.com>
Oggetto: Re: [DRBD-user] How to delete multiple disk of the same resource
Data: 17/03/17 19:21

> What does:drbdmanage v  and drbdmanage a...shows? Are those
resources/volumes still there?If yes, then possibly by giving:drbdmanage
remove &lt;res&gt; or &lt;vol&gt;  ...may fix things? You could also try to
force remove them (check drbdmanage remove syntax).YannisOn Fri, 17 Mar 2017
at 11:24, Michele Rossetti &lt;rossetti at sardi.it&gt; wrote:Hi,
> 
> on a 3 node Proxmox 4.4 with DRBD4 system, trying to clone one VM
> with the PVE GUI (probably wrongly, we try to clone from a resource
> in secondary state instead of primary, executing from primary it
> worked), now we see, on PVE GUI Storage&gt;drbd1&gt;Content seven disk
> belonging to the same VM, from vm-101-disk-1 to vm-101-disk-7 and
> only vm-101-disk-7 seems to be in use.
> 
> With drbd-owerview only &quot;111:vm-101-disk-7/0&quot; is listed and the
same
> with drbd status: &quot;vm-101-disk-7 role:Primary disk:UpToDate&quot;
> 
> How can we delete the disk from vm-101-disk-1 to vm-101-disk-6
> without seeing them in a shell, as from the PVE GUI no operation on
> DRBD is permitted?
> 
> Thanks for help,
> Michele
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> -- Sent from Gmail Mobile
> 

________________________________________________
Message sent using Micro srl Webmail



More information about the drbd-user mailing list