[lustre-discuss] mount option " -o discard " not woking in lustre 2.16.1 mdt/ost

牛星星 xingxing.niu at leadstor.com
Mon Feb 10 22:09:24 PST 2025


Hello everyone: In the process of upgrading lustre 2.15.3 to 2.16.1, I found that the mount option "discard" is not working, can someone help me out? In both environments, the "mount -o discard" option is used when mounting. The operating environment is as follows: lustre 2.15.3 : centos7 + kernel 3.10, lustre 2.15.3 mount command output>> >> /dev/sdb on /mnt/lustre/node/00000cACCFDS09a0 type lustre_tgt (ro,svname=fs153-OST0000,mgsnode=192.168.204.154 at o2ib:192.168.204.155 at o2ib,osd=osd-ldiskfs,errors=remount-ro, noacl,discard) << lustre 2.16.1 : rocky9 + kernel 5.14, lustre 2.16.1 mount command output: >> /dev/sdb on /mnt/lustre/node/000030ACCFDS0cc0 type lustre_tgt (rw,svname=fs203-MDT0000,mgsnode=192.168.203.100 at o2ib:192.168.203.102 at o2ib,osd=osd-ldiskfs) << and logs from /var/log/messages: >> Feb 10 17:44:28 node1-mds1 kernel: Lustre: fs203-MDT0000: mounting server target with '-t lustre' deprecated, use '-t lustre_tgt' Feb 10 17:44:28 node1-mds1 kernel: LDISKFS-fs (sdb): recovery complete Feb 10 17:44:28 node1-mds1 kernel: LDISKFS-fs (sdb): mounted filesystem dd47b0a5-8594-4ebc-9ee2-3213558bf599 r/w with ordered data mode. Quota mode: journalled. << Please reply to me if you need more information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20250211/5ca9e0d5/attachment.htm>


More information about the lustre-discuss mailing list