<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Joel,<br>
<br>
Yes, I can mount with "-o dax":<br>
<br>
lvcreate -L 40G -n test-lv vg_ssd<br>
scan_dev_close /dev/sdb2 no DEV_IN_BCACHE set<br>
Logical volume "test-lv" created.<br>
mkfs.ext4 -b 4K /dev/vg_ssd/test-lv<br>
mount -o dax /dev/vg_ssd/test-lv /mnt<br>
df /mnt<br>
Filesystem 1K-blocks Used Available Use% Mounted
on<br>
/dev/mapper/vg_ssd-test--lv 41022688 49176 38859976 1% /mnt<br>
<br>
But it shows a failure in syslog:<br>
[518270.833954] EXT4-fs (dm-16): DAX enabled. Warning: EXPERIMENTAL,
use at your own risk<br>
[518270.833959] EXT4-fs (dm-16): DAX unsupported by block device.
Turning off DAX.<br>
[518270.835599] EXT4-fs (dm-16): mounted filesystem with ordered
data mode. Opts: dax<br>
<br>
Regards,<br>
Rob<br>
<br>
<br>
<div class="moz-cite-prefix">On 6/11/19 3:57 PM, Joel Colledge
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGNP_+X7fXvBj2xYry=PX-Lma9xcefPvxP1KORn76jjyuKqD+A@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">Hi Rob,
This is strange. It seems that your LV is reporting that it supports
PMEM/DAX. I suggest that you check that this issue also occurs without
DRBD. For example, create a filesystem and try to mount it with DAX
enabled:
mkfs.ext4 -b 4K /dev/<your-lv>
mount -o dax /dev/<your-lv> <somewhere>
The check the syslog to see whether DAX was successfully enabled. You
can see the expected success and failure output here:
<a class="moz-txt-link-freetext" href="https://nvdimm.wiki.kernel.org/#filesystems">https://nvdimm.wiki.kernel.org/#filesystems</a>
Best regards,
Joel
PS Please "reply all" to keep the mailing list in CC
On Tue, Jun 11, 2019 at 2:53 PM Rob van der Wal
<a class="moz-txt-link-rfc2396E" href="mailto:rob.vanderwal@surfsara.nl"><rob.vanderwal@surfsara.nl></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
Hi Joel,
I've build the module from source (downloaded from <a class="moz-txt-link-freetext" href="https://www.linbit.com/en/drbd-community/drbd-download/">https://www.linbit.com/en/drbd-community/drbd-download/</a>).
I think we don't use external metadata and we are using a ssd disk for storing. This is a part of our drbd.conf:
drbd.conf:
on barentsz {
node-id 1;
device /dev/drbd0 minor 0;
disk /dev/vg_ssd/vm_prace-ldap;
meta-disk internal;
address ipv4 10.0.0.30:7788;
}
LVM info:
PV /dev/sdb2 VG vg_ssd lvm2 [446.43 GiB / 102.43 GiB free]
ACTIVE '/dev/vg_ssd/vm_prace-ldap' [38.00 GiB] inherit
The requested line in the syslog is:
[1037978.736262] drbd r0/0 drbd0: meta-data IO uses: dax-pmem
But I don't think we are using a PMEM device so this looks not correct.
Regards,
Rob van der Wal
</pre>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div><font face="Arial">Rob van der Wal</font></div>
<div><font face="Arial"><span style="font-size: 13px;">Supercomputing
| SURFsara | Science Park 140 | 1098 XG Amsterdam | T +31 20
800 1300 | <a class="moz-txt-link-abbreviated" href="mailto:Rob.vanderWal@surfsara.nl">Rob.vanderWal@surfsara.nl</a> | <a class="moz-txt-link-abbreviated" href="http://www.surfsara.nl">www.surfsara.nl</a> |</span></font></div>
<div><font face="Arial"><span style="font-size: 13px;"></span></font></div>
<br>
<div style="display:inline-block;vertical-align:top;">
<img src="cid:part1.DDEED50C.B6A2E084@surfsara.nl"
type="image/jpg"></div>
<div style="display:inline-block;">
<div><span style="font-size: 13px; color: #0055a5;"> We
are ISO 27001 certified and meet the high requirements for
information security. </span><span style="box-sizing:
inherit; color: #0000cd;"><img
src="cid:part2.B7BD3DDE.CB11AD46@surfsara.nl"
type="image/png"></span></div>
</div>
</div>
</body>
</html>