[LU-11060] mkfs.lustre cli command not supported in 2.11 Created: 28/May/18 Updated: 08/Aug/18 Resolved: 08/Aug/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Abe | Assignee: | WC Triage |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
the mkfs.lustre cli is not supported under 2.11 release of lustre: Below is the list of components installed on the server: dkms status lustre-all, 2.11.0, 3.10.0-693.21.1.el7_lustre.x86_64, x86_64: installed spl, 0.7.6, 3.10.0-693.21.1.el7_lustre.x86_64, x86_64: installed zfs, 0.7.6, 3.10.0-693.21.1.el7_lustre.x86_64, x86_64: installed
we are able to create the zfs pools: zpool create -f -O canmount=off -o cachefile=none mgspool mirror sdb sdc zpool status pool: mgspool state: ONLINE scan: none requested config:
NAME STATE READ WRITE CKSUM mgspool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 sdb ONLINE 0 0 0 sdc ONLINE 0 0 0 however the mfs.lustre cli fails:
mkfs.lustre --mgs --fsname=$NAME --reformat --servicenode=$MGS_NID --servicenode=$MDT_NID --mgsnode=$MGS_NID --mgsnode=$MDT_NID --backfstype=zfs mgspool/mgt mkfs.lustre: command not found!!
Has this been deprecated or is there something missing ?
thanks, Abe
|
| Comments |
| Comment by Andreas Dilger [ 28/May/18 ] |
|
The mkfs.lustre tool is still in use and needs to be installed from the RPL. Almost certainly something is missing. This is a standard command that is still in use. You can try "which mkfs.lustre" to check if it is in your path, or "rpm -ql <package>" |
| Comment by Abe [ 29/May/18 ] |
|
You are right Andreas,
the lustre rpm was not installed although dams shows as installed:
yum install lustre-2.11.0-1.el7.x86_64.rpm mkfs.lustre modprobe lustre modprobe zfs modprobe lnet lctl network up
and it is working now: mkfs.lustre --mgs --fsname=$NAME --reformat --servicenode=$MGS_NID --servicenode=$MDT_NID --mgsnode=$MGS_NID --mgsnode=$MDT_NID --backfstype=zfs mgspool/mgt
mgspool/mgt on /mnt/lustre/mgt type lustre (ro,seclabel,svname=MGS,nosvc,mgs,osd=osd-zfs)
Also do you know of documentation on how to setup data on metadata feature in 2.11 release ?
Thanks & Best Regards, Abe
|
| Comment by Andreas Dilger [ 29/May/18 ] |
|
See https://jira.hpdd.intel.com/secure/attachment/28729/DOM_user_guide.pdf |
| Comment by Abe [ 04/Jun/18 ] |
|
thanks Andreas for providing info this, one more question are there any default settings already for the strip size etc or does the user has to set these params before using metadata servers ?
Best regards, Abe |
| Comment by Andreas Dilger [ 06/Jun/18 ] |
|
There are several levels of default values for file layouts. In order of increasing priority
|
| Comment by Andreas Dilger [ 08/Aug/18 ] |
|
Closing this ticket as questions have been answered. |