public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH docs] pvesm: How to remove directory storages
@ 2021-05-21 10:44 Dominic Jäger
  2021-06-18 16:31 ` Thomas Lamprecht
  0 siblings, 1 reply; 3+ messages in thread
From: Dominic Jäger @ 2021-05-21 10:44 UTC (permalink / raw)
  To: pve-devel

Users are repeatedly left with entries in Disks->Directory, most recently
https://forum.proxmox.com/threads/how-to-remove-local-directory-storage-properly.89504/

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
---
 pve-storage-dir.adoc | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pve-storage-dir.adoc b/pve-storage-dir.adoc
index 090a44b..8489b42 100644
--- a/pve-storage-dir.adoc
+++ b/pve-storage-dir.adoc
@@ -133,6 +133,19 @@ And you can remove the image with:
 
  # pvesm free local:100/vm-100-disk10.raw
 
+To completely remove a directory storage with the name `backup`,
+
+1. Remove the storage from `/etc/pve/storage.cfg`
+
+ # pvesm remove backup
+
+2. Stop & disable the systemd mount
+
+ # systemctl disable mnt-pve-backup.mount --now
+
+3. Remove the systemd mount file
+
+ # rm /etc/systemd/system/mnt-pve-backup.mount
 
 ifdef::wiki[]
 
-- 
2.20.1





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-21  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 10:44 [pve-devel] [PATCH docs] pvesm: How to remove directory storages Dominic Jäger
2021-06-18 16:31 ` Thomas Lamprecht
2021-06-21  7:06   ` Dominic Jäger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal