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@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@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@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@lustre1 ~]# /etc/init.d/lustre start
> [root@lustre1 ~]# /etc/init.d/lustre start lustre-MDT0000
> lustre-MDT0000 is not a valid lustre label on this node
> [root@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-Q0ErXNX1RuZlWke8ox7C/A@public.gmane.org$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