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

mount /dev/pmem0 on /mnt/ramdisk fail:stale file handle #84

Closed little-dog007 closed 2 years ago

little-dog007 commented 4 years ago

I tried on tencent cloud server. Here are my operations: 1.edit /boot/grub/grub ,add memmap=16G!8G err1

2.sudo mkdir /mnt/ramdisk 3.sudo modprobe nova 4.sudo mount -t NOVA -o init /dev/pmem0 /mnt/ramdisk But it's wrong. err2

err3

Does anyone know how to solve this problem?

Andiry commented 4 years ago

I am still suspecting this is a VM issue. The metadata of physical inode on pmem does not match the vnode. For example, inode number for root inode should be 1 but read as 0.

Still, I am suggesting trying on bare-metal machine first.