-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can not format the device dev/pmem0 as pmfs #3
Comments
mkfs.pmfs won't work as there is no PMFS support in mkfs.
For the mount command, can you post the output of dmesg when seeing the
error?
…On Tue, Aug 11, 2020 at 6:34 AM BOGEDABUDA ***@***.***> wrote:
I am sorry to disturb you that I have met a issues about pmfs-new.
According to the "README.md", after rebooting and inserting the module, we
can initialize a PMFS instance with the following command:#mount -t pmfs
-o init /dev/pmem0 /mnt/ramdisk
But the Terminal reports that mount: wrong fs type, bad option, bad
superblock on /dev/pmem0,missing codepage or helper program, or other error
When I was trying to format the device dev/pmem0 as pmfs, the Terminal
reports thatmkfs: failed to execute mkfs.pmfs: No such file or directory.
How can I solve this problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://urldefense.com/v3/__https://github.com/NVSL/PMFS-new/issues/3__;!!Mih3wA!WoiJSsiannjGxZv1g5D_Y0TlctQycPvidt6oWuta6wVnB9JMrXglUmngT7VvGAX2d09V$>,
or unsubscribe
<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAKBYEH6RYAGYYZ3T7TKNU3SAFCFHANCNFSM4P3BM6XQ__;!!Mih3wA!WoiJSsiannjGxZv1g5D_Y0TlctQycPvidt6oWuta6wVnB9JMrXglUmngT7VvGBlUjazW$>
.
|
@Andiry Thank you for replying. The output of
Please refer to the attached file (i.e., dmesg_log.txt) for the complete output of |
The error occurs at bdev_dax_supported() and returns "device does not
support DAX". I would suggest two things: 1. In super.c, print out the
return code of bdev_dax_supported and post the dmesg, and 2. If you are
running on VM, try a bare-metal environment.
Thanks,
Andiry
…On Tue, Aug 11, 2020 at 10:45 PM BOGEDABUDA ***@***.***> wrote:
@Andiry
<https://urldefense.com/v3/__https://github.com/Andiry__;!!Mih3wA!SKhOGAK54sh7cTlArd4JJ5bhFj0TNac7wDtobI_Nm0CSVgtsshLGMIJhRoG4STNC05V-$>
Thank you for replying. The output of dmesg | grep pmfs is as follows:
1633:[ 141.731334] pmfs: loading out-of-tree module taints kernel.
1634:[ 141.731415] pmfs: module verification failed: signature and/or
required key missing - tainting kernel
1635:[ 213.974550] pmfs: arch does not have PCOMMIT support
1636:[ 213.974551] pmfs: arch does not have CLWB support
1637:[ 213.974554] pmfs error:
1639:[ 281.873399] pmfs: arch does not have PCOMMIT support
1640:[ 281.873400] pmfs: arch does not have CLWB support
1641:[ 281.873402] pmfs error:
1659:[ 1579.571032] pmfs: arch does not have PCOMMIT support
1660:[ 1579.571033] pmfs: arch does not have CLWB support
1661:[ 1579.571058] pmfs error:
Please refer to the attached file (i.e., dmesg_log.txt) for the complete
output of dmesg.
dmesg_log.txt
<https://urldefense.com/v3/__https://github.com/NVSL/PMFS-new/files/5060785/dmesg_log.txt__;!!Mih3wA!SKhOGAK54sh7cTlArd4JJ5bhFj0TNac7wDtobI_Nm0CSVgtsshLGMIJhRoG4ScS-HvYn$>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://urldefense.com/v3/__https://github.com/NVSL/PMFS-new/issues/3*issuecomment-672608860__;Iw!!Mih3wA!SKhOGAK54sh7cTlArd4JJ5bhFj0TNac7wDtobI_Nm0CSVgtsshLGMIJhRoG4SYm3d9aZ$>,
or unsubscribe
<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAKBYEBOT7MR2LUEQW6KVWTSAIUARANCNFSM4P3BM6XQ__;!!Mih3wA!SKhOGAK54sh7cTlArd4JJ5bhFj0TNac7wDtobI_Nm0CSVgtsshLGMIJhRoG4Se_Tx_3W$>
.
|
Thank you for replying. I print out the return code of bdev_dax_supported in "super.c". The output is as follows: Thanks, |
It is strange that on failure bdev_dax_supported should return a minus
number, not 1. I am not sure what happened. You can try bare-metal to
see if the issue still exists.
Thanks,
Andiry
…On Wed, Aug 12, 2020 at 9:17 AM BOGEDABUDA ***@***.***> wrote:
Thank you for replying. I print out the return code of bdev_dax_supported in "super.c". The output is as follows:
the code of bdev_dax_supported is : 1
The complete output is attached in "new_dmesg_log.txt".
I run pmfs on VM.Is it because my device does not support DAX?
new_dmesg_log.txt
Thanks,
Bo Ding
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you for your advices. I would try a bare-metal environment to make it again. Thanks, |
I remount it on a bare-metal environment. And it works, thank you. |
In Linux kernel 4.19, I meet the same problem "mount: /mnt/ramdisk: wrong fs type, bad option, bad superblock on /dev/pmem0, missing codepage or helper program, or other error." due to does not support DAX. |
I mount it on a bare-metal environment. |
I am sorry to disturb you that I have met a issues about pmfs-new.
According to the "README.md", after rebooting and inserting the module, we can initialize a PMFS instance with the following command:
#mount -t pmfs -o init /dev/pmem0 /mnt/ramdisk
But the Terminal reports that
mount: wrong fs type, bad option, bad superblock on /dev/pmem0,missing codepage or helper program, or other error
When I was trying to format the device dev/pmem0 as pmfs, the Terminal reports that
mkfs: failed to execute mkfs.pmfs: No such file or directory
.How can I solve this problem?
The text was updated successfully, but these errors were encountered: