ZVOL on SSD pool as a special device for HDD pool

mailinglists

Renowned Member
Mar 14, 2012
641
68
93
Hi guys,

i have two pools, one HDD and one SSD.
I want to speedup HDD pool by using zfs special device.
As there is no disk space on SSDs, to create new partitions, I wonder, can I just create a new ZVOL and use it as a special device for HDD pool.
Something like:
Code:
zfs create -s -V 42455040k rpool/hddpoolSpecialDevice
zpool add hddpool special /rpool/hddpoolSpecialDevice

I wonder will this system have any problems during bootup.
Are there any reasons not to do this? What do you guys think?
 
I wonder will this system have any problems during bootup.
Are there any reasons not to do this? What do you guys think?

It will work if you would use the correct block file path /dev/zvol/rpool/hddpoolSpecialDevice but you could run into dependecy problems. If the special device is not present if you import your will, it'll fail. I don't know if you could add dependency management into the zpool import logic.
 
  • Like
Reactions: mailinglists

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!