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

I need help with error:device does not support DAX. #78

Closed dangzzz closed 4 years ago

dangzzz commented 4 years ago

I'm try to install NOVA in my VMware Workstation,and I try to emulate Persistent Memory using DRAM,followinghttps://software.intel.com/en-us/articles/how-to-emulate-persistent-memory-on-an-intel-architecture-server.

I use linux-nova-master and configure kernel with CONFIG_LIBNVDIMM=y, CONFIG_BLK_DEV_PMEM=y, CONFIG_FS_DAX=y and CONFIG_NOVA_FS=y.

I successfully saw pmem0 in /dev/,and I can mount it without DAX. But when I run "mount -t NOVA -o init /dev/pmem0 /mnt/pmemdir",there is an error which is device does not support DAX.(when I use EXT4 with DAX,it said DAX unsupported by block device.)

I don't know how to solve it.Could you help me? Thank you very much!

Andiry commented 4 years ago

Can you post your findings in case others encounter the same issue? Thanks.

On Sun, Oct 27, 2019, 22:51 17pigfarmer notifications@github.com wrote:

Closed #78 https://github.com/NVSL/linux-nova/issues/78.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NVSL/linux-nova/issues/78?email_source=notifications&email_token=AAKBYEF5R4GSX6EJE424KVLQQZ4W7A5CNFSM4JFRJRL2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUPAS4EA#event-2747346448, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKBYEG43DODLZLE36PN2YTQQZ4W7ANCNFSM4JFRJRLQ .

TaehoHwang commented 3 years ago

I saw the same message on real intel optane memory. After configuring pmem mode (from 'raw' to 'fsdax') with ndctl, the problem was resolved.