all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Weber <Christoph.Weber@xpecto.com>
To: "'pve-user@lists.proxmox.com'" <pve-user@lists.proxmox.com>
Subject: [PVE-User] How to be sure if I can safely delete pve/data thin pool LV
Date: Mon, 11 Jul 2022 07:04:54 +0000	[thread overview]
Message-ID: <55642ded9dce4e57bd548c73f40c084a@xpecto.com> (raw)

Hi everybody,

I'm need to make the pve/root LV larger on one node, because Ceph complains during backups that there is low disk space on the disk.

I'm pretty sure that I don't use the lvthin pool or that the pve/data LV is in use, but would like a second opinion, before I destroy it


# parted /dev/sda
Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2097kB  1049kB                     bios_grub
 2      2097kB  271MB   268MB   fat32              boot, esp
 3      271MB   120GB   120GB                      lvm


# pvs
  PV         VG                                        Fmt  Attr PSize    PFree
  /dev/sda3  pve                                       lvm2 a--  <111.54g <13.88g

#vgs
  VG                                        #PV #LV #SN Attr   VSize    VFree
  pve                                         1   3   0 wz--n- <111.54g <13.88g

#lvs
  data                                           pve                                       twi-a-tz-- 59.91g             0.00   1.59
  root                                           pve                                       -wi-ao---- 27.75g
  swap                                           pve                                       -wi-ao----  8.00g


/dev/pve
lrwxrwxrwx  1 root root    7 Jul  7 13:26 data -> ../dm-6
lrwxrwxrwx  1 root root    7 Jul  8 11:35 root -> ../dm-2
lrwxrwxrwx  1 root root    7 Jul  7 13:26 swap -> ../dm-1


/etc/pve/storage.cfg ( stripped some custom entries made by me)

rbd: cephstor_vm
        content images,rootdir
        krbd 0
        pool cephstor

dir: local
        path /var/lib/vz
        content rootdir,iso,vztmpl,images
        prune-backups keep-all=1
        shared 0

cephfs: cephfs
        path /mnt/pve/cephfs
        content iso,backup,vztmpl


# mount |grep -i /var/lib/vz
<empty>

# swapon
NAME      TYPE      SIZE USED PRIO
/dev/dm-1 partition   8G 3.3M   -2


Did I miss something, or is it really safe to destroy pve/data safely? 

Thanks for your help :-)

  Christoph




                 reply	other threads:[~2022-07-11  7:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=55642ded9dce4e57bd548c73f40c084a@xpecto.com \
    --to=christoph.weber@xpecto.com \
    --cc=pve-user@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