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

Allow absolute path to device in `zenfs` utility #246

Open metaspace opened 1 year ago

metaspace commented 1 year ago

Paths to devices in ZenFS have to be given without leading /dev/ prefix. This is a source of confusion for new users. It is also not documented.

We should allow zenfs utility and RocksDB URI to use absolute paths for devices.

damien-lemoal commented 1 year ago

Yes ! That will also allow using /dev/disk/by-id/xxx as these are stable device names that do not depend on the scan order on boot.

metaspace commented 1 year ago

We might also have issues with using /dev/mapper/... with the current implementation.