Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:tricks [2020-04-12 16:08] Odd Stråbølinux:tricks [2020-05-08 22:47] (current) – [PVC] Odd Stråbø
Line 29: Line 29:
 opkg update opkg update
 opkg upgrade $(opkg list-upgradable | cut -d' ' -f0) opkg upgrade $(opkg list-upgradable | cut -d' ' -f0)
 +</code>
 +
 +
 +====== PVC ======
 +<code bash>
 +  $ pvc vm flush-locks Jellyfin
 +
 +  $ sudo rbd list vms
 +
 +  $ sudo rbd lock list vms/jellyfin_disk1
 +  There is 1 exclusive lock on this image.
 +  Locker          ID                   Address               
 +  client.80789691 auto 140104987332272 10.0.0.1:0/3183410785 
 +  
 +  $ sudo rbd lock remove vms/jellyfin_disk1 'auto 140104987332272' 'client.80789691'
 </code> </code>
Print/export