all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: "Proxmox VE development discussion" <pve-devel@lists.proxmox.com>,
	"Dominic Jäger" <d.jaeger@proxmox.com>
Subject: Re: [pve-devel] [PATCH docs] pvesm: How to remove directory storages
Date: Fri, 18 Jun 2021 18:31:51 +0200	[thread overview]
Message-ID: <c03517a4-82a4-6955-861f-0b9f7505fb71@proxmox.com> (raw)
In-Reply-To: <20210521104448.4376-1-d.jaeger@proxmox.com>

On 21.05.21 12:44, Dominic Jäger wrote:
> 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

shouldn't the disable --now already take care of that?

>  
>  ifdef::wiki[]
>  
> 





  reply	other threads:[~2021-06-18 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-21 10:44 Dominic Jäger
2021-06-18 16:31 ` Thomas Lamprecht [this message]
2021-06-21  7:06   ` Dominic Jäger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c03517a4-82a4-6955-861f-0b9f7505fb71@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=d.jaeger@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal