Set write_cache for ceph disks persistent

Aug 28, 2017
67
12
48
44
Hi,

we changed the write_cache setting for disk based ceph osds by chaging /sys/block/sdXX/queue/write_cache manually.
Is there a preffered way to set this in proxmox, or could this even be an enhancement request to set the write cache for ceph disks from pve?
 
Hi,

we changed the write_cache setting for disk based ceph osds by chaging /sys/block/sdXX/queue/write_cache manually.
Is there a preffered way to set this in proxmox, or could this even be an enhancement request to set the write cache for ceph disks from pve?

If you have SAS drives, you can run the following command as root: sdparm --set=WCE --save /dev/sd[X].

To confirm write cache is enabled as root, run: sdparm --get=WCE /dev/sd[X]

1 = on
0 = off
 
  • Like
Reactions: Monstrous1704

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!