Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OVM 3.3.3 SSD Trim support

3042404Jan 19 2016 — edited Jan 19 2016

I have OVM 3.3.3 installed on a Dell PE R730 and OVM 3.3.3 is running as a standalone host.

The configuration is as follows:

2 - 400GB SAS SSD's in RAID1 which are Sandisk SDLTODKM-400G-5C and I've already ran it against a kernel blacklist at https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/ata/libata-core.c#n4095

10 - 600GB SAS 15k RPM disks in RAID10 to be used for data and DBMS storage

1 - 600GB SAS 15k RPM 4K native sector drive in no RAID to be used for DBMS redo logs. (There is another issue that this presents is that OVM 3.3.3 does not yet support creating an OCFS2 4k disk to use as a repo within OVMM. The workaround is to map the disk to a single VM which is inefficient)

The SSD array has the OVM 3.3.3 hypervisor installed on it and I created a local OCFS2 pool for the repository so OVMM can work with it. I was planning on putting the VM OS virtual disks on this array, however when I do it looks like I can't trim from the guest or the host.

The error I get is:

fstrim: /: the discard operation is not supported

fstrim: /boot: the discard operation is not supported

fstrim: /home: the discard operation is not supported

I verified with Dell that the controller does support TRIM in RAID1 as well as all available RAID configurations that is supported by that controller.

http://i.dell.com/sites/doccontent/shared-content/data-sheets/en/Documents/Dell-PowerEdge-RAID-Controller-H730.pdf

From what I've researched I may need to boot the VM guest with the virtual disk offline to do this. Please confirm this and if so what is the correct automated approach to do this so I don't have to schedule downtime that required manual work to accomplish.

Thank you.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 16 2016
Added on Jan 19 2016
0 comments
832 views