NVSL / linux-nova

NOVA is a log-structured file system designed for byte-addressable non-volatile memories, developed at the University of California, San Diego.
http://nvsl.ucsd.edu/index.php?path=projects/nova
Other
421 stars 118 forks source link

how to let NOVA support xattr #62

Closed Zhaoziwei0621 closed 6 years ago

Zhaoziwei0621 commented 6 years ago

I use nova managed PM(/dev/pmem0) in Openstack Swift as a Swift storage backend. But when I run a test, it reports an error:

Apr 11 11:12:13 de84 object-server: STDERR: ERROR:root:Filesystem at 10 does not support xattr# It seems like that NOVA do not support xattr extended attributes like other file systems, like XFS. So, anybody can tell me how to solve this problem.

Andiry commented 6 years ago

Currently NOVA does not support xattr. It is on the to-do list.

Zhaoziwei0621 commented 6 years ago

Andiry, Thank you so much. Could you please tell me any other NVMFS which support xattr.

Andiry commented 6 years ago

You can try ext4-DAX or xfs-DAX.

stevenjswanson commented 6 years ago

How hard would this be do you think?

-steve

-- Composed on (and maybe dictated to) my phone.

On Apr 10, 2018, at 23:04, Andiry Xu notifications@github.com wrote:

You can try ext4-DAX or xfs-DAX.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Andiry commented 6 years ago

I don't think there is any difficulty. It just takes some effort.

Zhaoziwei0621 commented 6 years ago

What is xfs-DAX and how to use it? Could you please elaborate on the details (a reference document will be great), or other possible solutions, because my time is currently tight.

Andiry commented 6 years ago

mkfs.xfs /dev/pmem0 mount -o dax /dev/pmem0 /mnt/ramdisk

Zhaoziwei0621 commented 6 years ago

Thank you so much !!