[Lustre-discuss] [zfs-discuss] Problems getting Lustre started with ZFS

Ned Bass bass6 at llnl.gov
Wed Oct 23 10:00:34 PDT 2013


On Wed, Oct 23, 2013 at 05:46:41PM +0100, Andrew Holway wrote:
> Hello,
> 
> I have hit a wall trying to get lustre started. I have followed this
> to some extent:
> 
> http://zfsonlinux.org/lustre-configure-single.html
> 
> If someone could give me some guidance how to get these services
> started it would be much appreciated.
> 
> I running on Centos 6.4 and am getting my packages from:
> http://archive.zfsonlinux.org/epel/6/SRPMS/
> 
> Thanks,
> 
> Andrew
> 
> 
> [root at lustre1 ~]# zfs get lustre:svname
> NAME              PROPERTY       VALUE           SOURCE
> lustre-mdt0       lustre:svname  -               -
> lustre-mdt0/mdt0  lustre:svname  lustre:MDT0000  local
> lustre-mgs        lustre:svname  -               -
> lustre-mgs/mgs    lustre:svname  MGS             local
> [root at lustre1 ~]# zfs get lustre:svname
> NAME              PROPERTY       VALUE           SOURCE
> lustre-mdt0       lustre:svname  -               -
> lustre-mdt0/mdt0  lustre:svname  lustre:MDT0000  local
> lustre-mgs        lustre:svname  -               -
> lustre-mgs/mgs    lustre:svname  MGS             local
> [root at lustre1 ~]# /etc/init.d/lustre
> anaconda-ks.cfg       .bash_profile         .cshrc
> install.log.syslog    .ssh/                 .viminfo
> .bash_logout          .bashrc               install.log
> ks-post-anaconda.log  .tcshrc
> [root at lustre1 ~]# /etc/init.d/lustre start
> [root at lustre1 ~]# /etc/init.d/lustre start lustre-MDT0000
> lustre-MDT0000 is not a valid lustre label on this node
> [root at lustre1 ~]# /etc/init.d/lustre start MGS
> MGS is not a valid lustre label on this node

You need to configure an /etc/ldev.conf file.  See man ldev.conf(5).
Make sure the first field matches `uname -n`.

> 
> I have configured three OSS's with a single OST:
> 
> Andrews-MacBook-Air:~ andrew$ for i in {201..204}; do ssh
> root at 192.168.0.$i "hostname; zfs get lustre:svname"; done
> lustre1.calthrop.com
> NAME              PROPERTY       VALUE           SOURCE
> lustre-mdt0       lustre:svname  -               -
> lustre-mdt0/mdt0  lustre:svname  lustre:MDT0000  local
> lustre-mgs        lustre:svname  -               -
> lustre-mgs/mgs    lustre:svname  MGS             local
> lustre2.calthrop.com
> NAME              PROPERTY       VALUE           SOURCE
> lustre-ost0       lustre:svname  -               -
> lustre-ost0/ost0  lustre:svname  lustre:OST0000  local
> lustre3.calthrop.com
> NAME              PROPERTY       VALUE           SOURCE
> lustre-ost0       lustre:svname  -               -
> lustre-ost0/ost0  lustre:svname  lustre:OST0000  local

You need to use unique index numbers for each OST, i.e. OST0000,
OST00001, etc.

Ned



More information about the lustre-discuss mailing list