Mandi! Dmitry Petuhov
In chel di` si favelave...
> "discard" is option of image. But it is actually available only if interface
> supports it. Like TRIM is supported on modern SSDs, but you can't use it with
> old SAS controllers that do not support it.
Super-clear! Thanks!!!
--
dott. Marco G
08.03.2017 13:31, Marco Gaiarin wrote:
> Two question.
> 1) switching from VirtIO to SCSI-VirtIO mean that /dev/vda became
> /dev/sda, right? So i have to keep into account for initrd and so on,
> right?
Usually it is seamless for guest, if all FSes are mounted by LVM path or
partition/fs UUID,
w
Mandi! Marcus
In chel di` si favelave...
> To make this work you have to activate "discard" option in proxmox per
> harddisk, set bus to "scsi" and use virtio-scsci as controller.
> I use XFS only, but ext4 provides discard also.
Two question.
1) switching from VirtIO to SCSI-VirtIO mean that
To make this work you have to activate "discard" option in proxmox per
harddisk, set bus to "scsi" and use virtio-scsci as controller.
I use XFS only, but ext4 provides discard also.
Mandi! Marcus
In chel di` si favelave...
Yes, that's possible. Use fstrim or mount the volume with "discard"
Mandi! Marcus
In chel di` si favelave...
> Yes, that's possible. Use fstrim or mount the volume with "discard" as
root@brucaliffo:~# fstrim -v /var
fstrim: /var: the discard operation is not supported
/var is an ext4 filesystem, debian jessie.
Why?
--
dott. Marco Gaiarin
Yes, that's possible. Use fstrim or mount the volume with "discard" as
option.
Windows (2012R2) recognizes that the volume supports discard and you can
reclaim space with defrag
(https://blogs.technet.microsoft.com/askcore/2014/02/17/whats-new-in-defrag-for-windows-server-20122012r2/)
Is it pos
>> So if you allocate 100GB to a vm disk, and write a 99GB at some time,
>> then delete 98GB, the vm-disk will still report 99GB of allocated space
>> AFAIK
Is it possible to reclaim this space by using virtio scsi as a virtual
storage controller on the vm and then enabling discard option?
Do we n
On 06/03/17 15:29, Emmanuel Kasper wrote:
> On 03/06/2017 10:22 AM, John Crisp wrote:
>> I am a bit puzzled as to how to do a simple disk usage query on Proxmox
>> 4 with LVM thin.
>
> I suppose you would like to know how much data are using your VMs using
> thin logical volumes.
>
Thanks for th
Il 06/03/2017 16:17, Marco Gaiarin ha scritto:
> nteresting. But how can i red this data:
>
> root@magneto:~# lvs
> LVVG Attr LSizePool Origin Data% Meta% Move Log
> Cpy%Sync Convert
> data pve twi-aotz-- 783.23g 50.38 25.36
>
Mandi! Emmanuel Kasper
In chel di` si favelave...
> For this you can simply use lvs.
Interesting. But how can i red this data:
root@magneto:~# lvs
LVVG Attr LSizePool Origin Data% Meta% Move Log
Cpy%Sync Convert
data pve twi-aotz-- 783.23g
On 03/06/2017 10:22 AM, John Crisp wrote:
> I am a bit puzzled as to how to do a simple disk usage query on Proxmox
> 4 with LVM thin.
>
> The normal commands such as df -h etc do not give the correct figures.
>
> The drive is on a hardware RAID. To the system it is a single drive.
>
> Here are
I am a bit puzzled as to how to do a simple disk usage query on Proxmox
4 with LVM thin.
The normal commands such as df -h etc do not give the correct figures.
The drive is on a hardware RAID. To the system it is a single drive.
Here are some of the figures I managed to extract, but none are sim
12 matches
Mail list logo