public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Marco Gaiarin <gaio@lilliput.linux.it>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] Force reclaiming space on a vdisk...
Date: Wed, 19 Jan 2022 09:19:33 +0100	[thread overview]
Message-ID: <j5ukbi-se4.ln1@hermione.lilliput.linux.it> (raw)


Situation: VM with a disk on a ZFS storage, 2TB disk; the disk have some
'system' partitions, and two big partition /dev/sda7 and /dev/sda8 for /home
and /srv.

I've added two more disk (/dev/sdb and /dev/sdc), created one partition per
disk and moved data from old partition to the ones. After that, i've deleted
/dev/sda7 and /dev/sda8, so now /dev/sda is a 2TB disk with roughly 100GB of
data in.

Space get not reclaimed. All disks have 'discard=1'.

I've tried to move /dev/sda to another ZFS storage (that have 500GB of
free space), and move fail.


How can i reclaim the free space on /dev/sda?! I need to create one
partition on the free space, format it, fstrim it?


Thanks.

-- 
  Siamo circondati da troppa gente piena di sé. E a quelli pieni di sé,
  io preferisco le persone piene di se, di ma, di forse. (Tonio Dell'Olio)





             reply	other threads:[~2022-01-19  8:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-19  8:19 Marco Gaiarin [this message]
2022-01-19  8:49 ` Daniel Plominski
2022-01-20 10:47   ` Marco Gaiarin
     [not found]     ` <qmMMMDznVErHvtLDASvXi93ArFgsrEDwDgYRRb1tvWRv7rmQTETQI8owpr6NthnRc4Ti1mgm4XjK-QciST-hyaWdPwjq2OpIc_7yEM5_b0Q=@protonmail.ch>
2022-01-20 12:23       ` Daniel Plominski
     [not found]     ` <mailman.129.1642678747.436.pve-user@lists.proxmox.com>
2022-01-21 10:03       ` Marco Gaiarin
2022-01-25 10:44         ` Marco Gaiarin

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=j5ukbi-se4.ln1@hermione.lilliput.linux.it \
    --to=gaio@lilliput.linux.it \
    --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 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