ONTAP Discussions

qos on vmdk file

francoisbnc

Hi,

What is the best method to set qos policy to vmdk files.

Basically the vmdk is located in a nfs exported /volume/qtree and is in a directory.

Vmware manage the name, so the name can contains blanks and specials caracters.

 

file modify -vserver gdcsvm311 -volume dft_nfs_vmware_sl3wclu12_sys_05 -file "SRV1224 -  DB Oracle ETA Dev+Test_2.vmdk" -qos-policy-group medium 

 

Error: command failed: Unable to access file "SRV1224 -  DB Oracle ETA Dev+Test_2.vmdk". Reason: File not found

 

Follow that, I have two problems

 

1) impossible, as in 7M, to locate the file with a ls command in diag mode.

2) the command "file modify" don't have a qtree parameter, I don't know how the -file parameter must be specified.

 

Any help appreciated?

François

1 ACCEPTED SOLUTION

ghislanzoni

Hi François,

I did some test with vmdk file and qos.

The command that I used was this:

 

file modify -vserver vmware_upgrade -volume vmware_upgrade_sata -file /dcfarm01/dcfarm01.vmdk -qos-policy-group test

 

I think that you miss the "/" character and if you have blank space you can use " character.

 

 

After that you can test the qos.

On my side the qos was never applied, after many ticket opened, NetApp had opened a bug (985740).

 

Tell me if you have more luck.

 

Regards
Roberto

View solution in original post

5 REPLIES 5

ghislanzoni

Hi François,

I did some test with vmdk file and qos.

The command that I used was this:

 

file modify -vserver vmware_upgrade -volume vmware_upgrade_sata -file /dcfarm01/dcfarm01.vmdk -qos-policy-group test

 

I think that you miss the "/" character and if you have blank space you can use " character.

 

 

After that you can test the qos.

On my side the qos was never applied, after many ticket opened, NetApp had opened a bug (985740).

 

Tell me if you have more luck.

 

Regards
Roberto

View solution in original post

francoisbnc

Hi Roberto,

That worked for me, I had to set policy to -flat vmdk file.

Thanks

François

 

ghislanzoni

Hi François,

the qos on the vmdk works well?

 

Can you post the correct pattern of the command.

 

Thanks

Roberto

francoisbnc

Hello Roberto,

I used the same command you specified, I had just to use the flat extent vmdk file, no results with the other one.

 

-rw------- 1 root root 225485783040 Mar 22 14:45 GDC01224 - Cronet DB Oracle ETA Dev+Test_2-flat.vmdk
-rw------- 1 root root 674 Mar 22 01:29 GDC01224 - Cronet DB Oracle ETA Dev+Test_2.vmdk

 

Best

François

lethaniel

Thanks Roberto, this was helpful.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public