[lustre-discuss] Problem in confugration of MGS and MDT server in lustre.
Blagodarenko Artem
artem.blagodarenko at gmail.com
Tue Dec 20 03:09:17 PST 2022
Hi Nick
> Is the ldiskfs module available?
It looks like lustre modules (ldiskfs exactly for mkfs.lustre) are not loaded.
Please, try load them first:
#modprobe lustre
If all required packages are installed, this command loads the modules.
Best regards,
Artem Blagodarenko
From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on behalf of Nick dan via lustre-discuss <lustre-discuss at lists.lustre.org>
Date: Tuesday, 20 December 2022 at 04:19
To: lustre-discuss at lists.lustre.org <lustre-discuss at lists.lustre.org>
Subject: [lustre-discuss] Problem in confugration of MGS and MDT server in lustre.
Hi,
Nick here Trying to configure Lustre MGS and MDT on Redhat 8.6.
Referred from https://www.lustre.org/
Successfully downloaded and installed the following packages by using yum install command:
yum install https://downloads.whamcloud.com/public/lustre/latest-release/el8.6/server/RPMS/x86_64/kernel-4.18.0-372.9.1.el8_lustre.x86_64.rpm
yum install https://downloads.whamcloud.com/public/lustre/latest-release/el8.6/server/RPMS/x86_64/lustre-2.15.1-1.el8.x86_64.rpm
yum install https://downloads.whamcloud.com/public/lustre/latest-release/el8.6/server/RPMS/x86_64/lustre-ldiskfs-dkms-2.15.1-1.el8.noarch.rpm
yum install https://downloads.whamcloud.com/public/lustre/latest-release/el8.6/server/RPMS/x86_64/lustre-osd-ldiskfs-mount-2.15.1-1.el8.x86_64.rpm
yum install https://downloads.whamcloud.com/public/e2fsprogs/latest/el8/RPMS/x86_64/e2fsprogs-1.46.2.wc5-0.el8.x86_64.rpm
yum install https://downloads.whamcloud.com/public/e2fsprogs/latest/el8/RPMS/x86_64/e2fsprogs-libs-1.46.2.wc5-0.el8.x86_64.rpm
yum install https://downloads.whamcloud.com/public/e2fsprogs/latest/el8/RPMS/x86_64/libcom_err-1.46.2.wc5-0.el8.x86_64.rpm
yum install https://downloads.whamcloud.com/public/e2fsprogs/latest/el8/RPMS/x86_64/libss-1.46.2.wc5-0.el8.x86_64.rpm
After this trying to do mkfs.lustre on my available NVMe-disk(nvme1n1)Mentioned in the below Fig
[cid:ii_lbq5tp7r0]
And did the mkfs.lusre on it and getting the error .
mkfs.lustre --fsname=lustre --mgs --mdt --index=0 /dev/nvme1n1
Permanent disk data:
Target: lustre:MDT0000
Index: 0
Lustre FS: lustre
Mount type: ldiskfs
Flags: 0x65
(MDT MGS first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters:
checking for existing Lustre data: not found
device size = 953869MB
formatting backing filesystem ldiskfs on /dev/nvme1n1
target name lustre:MDT0000
kilobytes 976762584
options -J size=4096 -I 1024 -i 2560 -q -O dirdata,uninit_bg,^extents,dir_nlink,quota,project,huge_file,ea_inode,large_dir,^fast_commit,flex_bg -E lazy_journal_init="0",lazy_itable_init="0" -F
mkfs_cmd = mke2fs -j -b 4096 -L lustre:MDT0000 -J size=4096 -I 1024 -i 2560 -q -O dirdata,uninit_bg,^extents,dir_nlink,quota,project,huge_file,ea_inode,large_dir,^fast_commit,flex_bg -E lazy_journal_init="0",lazy_itable_init="0" -F /dev/nvme1n1 976762584k
mkfs.lustre: Unable to mount /dev/nvme1n1: No such device
Is the ldiskfs module available?
mkfs.lustre FATAL: failed to write local files
mkfs.lustre: exiting with 19 (No such device)
Can you help where am I going wrong?
Regards,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20221220/4ddab219/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 34594 bytes
Desc: image.png
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20221220/4ddab219/attachment-0001.png>
More information about the lustre-discuss
mailing list