Discussion:
[lustre-discuss] help ldev.conf usage clarification
Riccardo Veraldi
2018-09-12 22:11:19 UTC
Permalink
Hello,

I wanted to ask some clarifiaction on ldev.conf usage and features.

I am using ldev.conf only on my ZFS lustre OSSes and MDS.

Anyway I hae a doubt on what should go in that file.

I have seen people having only the metadata configuration in it like for
example:

mds01 - mgs zfs:lustre01-mgs/mgs
mds01 - mdt0 zfs:lustre01-mdt0/mdt0

and people filling hte file with both mgs settings and listing also all
the OSSes/OSTs then spreading the same ldev.conf file over all the OSSes
like in this example with

3 OSSes where each one has one OST:


mds01 - mgs zfs:lustre01-mgs/mgs
mds01 - mdt0 zfs:lustre01-mdt0/mdt0
#
drp-tst-ffb01 - OST01 zfs:lustre01-ost01/ost01
drp-tst-ffb02 - OST02 zfs:lustre01-ost02/ost02
drp-tst-ffb03 - OST03 zfs:lustre01-ost03/ost03

is this correct or only the metadata information should stay in ldev.conf ?

Also can ldev.conf be used with ldiskfs based cluster ? On ldiskfs based
clsuters I usually mount the metadata partition and OSS partitions in
fstab and my ldev.conf is empty.

thanks

Rick
Cameron Harr
2018-09-12 23:07:35 UTC
Permalink
We only use ZFS, but we have one file with all MGS/MDTs/OSTs in it,
replicated across all Lustre server nodes. Note the 2nd column is for a
failover peer, which you hopefully have.
Post by Riccardo Veraldi
Hello,
I wanted to ask some clarifiaction on ldev.conf usage and features.
I am using ldev.conf only on my ZFS lustre OSSes and MDS.
Anyway I hae a doubt on what should go in that file.
I have seen people having only the metadata configuration in it like
mds01 - mgs zfs:lustre01-mgs/mgs
mds01 - mdt0 zfs:lustre01-mdt0/mdt0
and people filling hte file with both mgs settings and listing also
all the OSSes/OSTs then spreading the same ldev.conf file over all the
OSSes like in this example with
mds01 - mgs zfs:lustre01-mgs/mgs
mds01 - mdt0 zfs:lustre01-mdt0/mdt0
#
drp-tst-ffb01 - OST01 zfs:lustre01-ost01/ost01
drp-tst-ffb02 - OST02 zfs:lustre01-ost02/ost02
drp-tst-ffb03 - OST03 zfs:lustre01-ost03/ost03
is this correct or only the metadata information should stay in ldev.conf ?
Also can ldev.conf be used with ldiskfs based cluster ? On ldiskfs
based clsuters I usually mount the metadata partition and OSS
partitions in fstab and my ldev.conf is empty.
thanks
Rick
_______________________________________________
lustre-discuss mailing list
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
Hans Henrik Happe
2018-09-13 14:34:42 UTC
Permalink
Hi,

The third column should be the Lustre target names like:

MGS
<fs name>-MDT0000
<fs-name>-OST0000
<fs-name>-OST0001

Check 'man ldev.conf'.

Cheers,
Hans Henrik
Post by Riccardo Veraldi
Hello,
I wanted to ask some clarifiaction on ldev.conf usage and features.
I am using ldev.conf only on my ZFS lustre OSSes and MDS.
Anyway I hae a doubt on what should go in that file.
I have seen people having only the metadata configuration in it like for
mds01 - mgs zfs:lustre01-mgs/mgs
mds01 - mdt0 zfs:lustre01-mdt0/mdt0
and people filling hte file with both mgs settings and listing also all
the OSSes/OSTs then spreading the same ldev.conf file over all the OSSes
like in this example with
mds01 - mgs zfs:lustre01-mgs/mgs
mds01 - mdt0 zfs:lustre01-mdt0/mdt0
#
drp-tst-ffb01 - OST01 zfs:lustre01-ost01/ost01
drp-tst-ffb02 - OST02 zfs:lustre01-ost02/ost02
drp-tst-ffb03 - OST03 zfs:lustre01-ost03/ost03
is this correct or only the metadata information should stay in ldev.conf ?
Also can ldev.conf be used with ldiskfs based cluster ? On ldiskfs based
clsuters I usually mount the metadata partition and OSS partitions in
fstab and my ldev.conf is empty.
thanks
Rick
_______________________________________________
lustre-discuss mailing list
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
Loading...