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

2018-04-09 Thread Fulvio Galeazzi
e-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 To: Fulvio Galeazzi CC: Ceph Users Date: 03/13/2018 06:33 PM Can

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

2018-03-15 Thread Jason Dillaman
> > 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! > > Fulv

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

2018-03-15 Thread Fulvio Galeazzi
nting JBOD 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 To: Fulvio Galeazzi CC: Ceph Users Date: 03/14/2018 0

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 > To: Fulvio Galeazzi > CC: Ceph Users > Date: 03/13/2018 06:33 PM > >> Can you provide the output from "rbd info > name>/volume-80

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

2018-03-14 Thread Fulvio Galeazzi
: rbd_data.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

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 delete? Did you sync the

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: > Hallo Jason, > thanks for

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): d

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 see

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 "Debugging fstrim issues" w

[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 I