public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Dominic Jäger" <d.jaeger@proxmox.com>
To: Thomas Lamprecht <t.lamprecht@proxmox.com>, pve-devel@lists.proxmox.com
Cc: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH docs] pvesm: How to remove directory storages
Date: Mon, 21 Jun 2021 09:06:07 +0200	[thread overview]
Message-ID: <20210621070607.GA8754@mala.proxmox.com> (raw)
In-Reply-To: <c03517a4-82a4-6955-861f-0b9f7505fb71@proxmox.com>

On Fri, Jun 18, 2021 at 06:31:51PM +0200, Thomas Lamprecht wrote:
> 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?
> 
I expected something similar, but when I tried it out, the entry remained always
visible in the GUI without the `rm`.
> >  
> >  ifdef::wiki[]
> >  
> > 
> 




      reply	other threads:[~2021-06-21  7:06 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
2021-06-21  7:06   ` Dominic Jäger [this message]

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=20210621070607.GA8754@mala.proxmox.com \
    --to=d.jaeger@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=t.lamprecht@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 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