westerndigitalcorporation / zenfs

ZenFS is a storage backend for RocksDB that enables support for ZNS SSDs and SMR HDDs.
GNU General Public License v2.0
235 stars 86 forks source link

Issue with running ZenFS on AWS cloud environment #278

Closed Chillax-0v0 closed 11 months ago

Chillax-0v0 commented 11 months ago

Describe

I attempted to run ZenFS on AWS, specifically on an EC2 instance with the following configuration:

The command I executed was:

sudo ./plugin/zenfs/util/zenfs mkfs --zbd=nvme1n1 --aux_path=/data

However, I encountered the following error:

Failed to open zoned block device: nvme1n1, error: Invalid argument: Failed to open zoned block device for read: No such file or directory

Upon checking the zoned capability of nvme1n1 using cat /sys/class/block/nvme1n1/queue/zoned, the output was none. This suggests that the AWS EBS might not be recognized as a zoned block device.

I also tried various other options including gp2, io1, io2, and local disks on i3en.large instances. However, none of them seem to be zoned block devices.

Question

I would like to inquire whether there are any plans in the future for ZenFS to support cloud-based devices like those in AWS?

Your insights and guidance would be greatly appreciated. Thank you!

yhr commented 11 months ago

ZenFS is built to work with zoned storage devices. We are enabling zoned storage in the cloud currently, but I can't say if/when AWS will add support.

Chillax-0v0 commented 11 months ago

Thank you for your prompt response!