Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-04-09 Thread Fulvio Galeazzi
I present single disks as RAID0) and XFS formatted. Thanks! Fulvio ---- Original Message Subject: Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap From: Jason Dillaman <jdill...@redhat.com> To: Fulvio Galeazzi <fulvio.galea...@garr.it>

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-15 Thread Jason Dillaman
> Ceph as reusable? > > By the way, I think I forgot to mention that underlying OSD disks are > taken from a FibreChannel storage (DELL MD3860, which is not capable of > presenting JBOD so I present single disks as RAID0) and XFS formatted. > > Thanks! > >

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-15 Thread Fulvio Galeazzi
so I present single disks as RAID0) and XFS formatted. Thanks! Fulvio Original Message ---- Subject: Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap From: Jason Dillaman <jdill...@redhat.com> To: Fulvio Galeazzi <fulvio.galea...@

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-14 Thread Jason Dillaman
> > > ---- Original Message ---- > Subject: Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap > From: Jason Dillaman <jdill...@redhat.com> > To: Fulvio Galeazzi <fulvio.galea...@garr.it> > CC: Ceph Users <ceph-users@lists.ceph.com> >

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-14 Thread Fulvio Galeazzi
.9e7ffe238e1f29 format: 2 features: layering, exclusive-lock, object-map, fast-diff, deep-flatten flags: Thanks Fulvio Original Message Subject: Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap From: Jason Dillaman <jd

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-13 Thread Jason Dillaman
Can you provide the output from "rbd info /volume-80838a69-e544-47eb-b981-a4786be89736"? On Tue, Mar 13, 2018 at 12:30 PM, Fulvio Galeazzi wrote: > Hallo! > >> Discards appear like they are being sent to the device. How big of a >> temporary file did you create and then

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-13 Thread Jason Dillaman
Discards appear like they are being sent to the device. How big of a temporary file did you create and then delete? Did you sync the file to disk before deleting it? What version of qemu-kvm are you running? On Tue, Mar 13, 2018 at 11:09 AM, Fulvio Galeazzi wrote: >

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-13 Thread Fulvio Galeazzi
Hallo! Discards appear like they are being sent to the device. How big of a temporary file did you create and then delete? Did you sync the file to disk before deleting it? What version of qemu-kvm are you running? I made several test with commands like (issuing sync after each operation):

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-13 Thread Fulvio Galeazzi
Hallo Jason, thanks for your feedback! Original Message >> * decorated a CentOS image with hw_scsi_model=virtio--scsi,hw_disk_bus=scsi> > Is that just a typo for "hw_scsi_model"? Yes, it was a typo when I wrote my message. The image has virtio-scsi as it should. I

Re: [ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-12 Thread Jason Dillaman
On Mon, Mar 12, 2018 at 9:54 AM, Fulvio Galeazzi wrote: > Hallo all, > I am not sure RBD discard is working in my setup, and I am asking for > your help. > (I searched this mailing list for related messages and found one by > Nathan Harper last 29th Jan 2018

[ceph-users] Issue with fstrim and Nova hw_disk_discard=unmap

2018-03-12 Thread Fulvio Galeazzi
Hallo all, I am not sure RBD discard is working in my setup, and I am asking for your help. (I searched this mailing list for related messages and found one by Nathan Harper last 29th Jan 2018 "Debugging fstrim issues" which however mentions trimming was masked by logging... so