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

Can't enable data integrity features #63

Closed rajatkateja closed 6 years ago

rajatkateja commented 6 years ago

I tried enabling the metadata integrity features using the following (from Documentation/filesystems/nova.txt): $> modprobe metadata_csum=1 data_csum=1 data_parity=1 wprotect=1 $> mount -t NOVA -o init /dev/pmem0 /mnt/pmem

However, when I look at dmesg, I see "nova: measure timing 0, metadata checksum 0, inplace update 0, wprotect 0, data checksum 0, data parity 0, DRAM checksum 0" which seems to imply that the data integrity features have not been enabled.

luzh commented 6 years ago

Could you try to remove any existing nova module and then modprobe?

  1. umount /mnt/pmem
  2. rmmod nova
  3. modprobe nova metadata_csum=1 data_csum=1 data_parity=1 wprotect=1
  4. mount -t NOVA -o init /dev/pmem0 /mnt/pmem
rajatkateja commented 6 years ago

That worked, thanks!