Please can someone help with information on how to setup Samba for a Lustre environment?
I currently have 4 Lustre nodes each running Centos 4.4 and the 1.6.5 Lustre kernal, which is working fine. But I want to be able to have Windows machines access this environment, and from what I have read I can use Samba to do this.
I have installed one node as an MGS/MDS and I have 3 OSS nodes. They have been installed using:
MDS
mkfs.lustre --fsname lustre --mdt --mgs /dev/sdb
mkdir -p /mnt/mdt
mount -t lustre /dev/sdb /mnt/mdt
OSS
mkfs.lustre --fsname lustre --ost --mgsnode=192.168.3.150@tcp0 /dev/sdb
mkdir -p /mnt/ost1
mount -t lustre /dev/sdb /mnt/ost1
mkfs.lustre --fsname lustre --ost --mgsnode=192.168.3.150@tcp0 /dev/sdb
mkdir -p /mnt/ost2
mount -t lustre /dev/sdb /mnt/ost2
mkfs.lustre --fsname lustre --ost --mgsnode=192.168.3.150@tcp0 /dev/sdb
mkdir -p /mnt/ost3
mount -t lustre /dev/sdb /mnt/ost3
I've added 'options lnet networks=tcp' to /etc/modprode.conf
Now for the Samba,
I'm running smbd 3.0.25b-1.el4_6.5
and I have added the following to smb.conf
clustering = yes
idmap backend = tdb2
private dir=/etc/samba
fileid:mapping = fsname
use mmap = no
nt acl support = yes
ea support = yes
I'm not sure what the parameter 'private dir =' should be pointing too. If I put any other directory other than '/etc/samba' samba dont start properly, get 'smbd dead but pid file exists' still get this if I remove the lock file from '/var/lock/subsys'. But works fine if I comment out the 'private dir =' or change the parameter to '/etc/samba'.
Also not sure if 'fileid:mapping = fsname' does the 'fsname' stay or do I change this to be the fsname I have called my lustre environment which in my case would be 'lustre' ?
Am I missing anything? Do I need to install anything more on the Samba side?
Also how do the Windows clients map to the Lustre environment, do they point to the MDS?
Please help I'm new to lustre and samba......
Thanks
I currently have 4 Lustre nodes each running Centos 4.4 and the 1.6.5 Lustre kernal, which is working fine. But I want to be able to have Windows machines access this environment, and from what I have read I can use Samba to do this.
I have installed one node as an MGS/MDS and I have 3 OSS nodes. They have been installed using:
MDS
mkfs.lustre --fsname lustre --mdt --mgs /dev/sdb
mkdir -p /mnt/mdt
mount -t lustre /dev/sdb /mnt/mdt
OSS
mkfs.lustre --fsname lustre --ost --mgsnode=192.168.3.150@tcp0 /dev/sdb
mkdir -p /mnt/ost1
mount -t lustre /dev/sdb /mnt/ost1
mkfs.lustre --fsname lustre --ost --mgsnode=192.168.3.150@tcp0 /dev/sdb
mkdir -p /mnt/ost2
mount -t lustre /dev/sdb /mnt/ost2
mkfs.lustre --fsname lustre --ost --mgsnode=192.168.3.150@tcp0 /dev/sdb
mkdir -p /mnt/ost3
mount -t lustre /dev/sdb /mnt/ost3
I've added 'options lnet networks=tcp' to /etc/modprode.conf
Now for the Samba,
I'm running smbd 3.0.25b-1.el4_6.5
and I have added the following to smb.conf
clustering = yes
idmap backend = tdb2
private dir=/etc/samba
fileid:mapping = fsname
use mmap = no
nt acl support = yes
ea support = yes
I'm not sure what the parameter 'private dir =' should be pointing too. If I put any other directory other than '/etc/samba' samba dont start properly, get 'smbd dead but pid file exists' still get this if I remove the lock file from '/var/lock/subsys'. But works fine if I comment out the 'private dir =' or change the parameter to '/etc/samba'.
Also not sure if 'fileid:mapping = fsname' does the 'fsname' stay or do I change this to be the fsname I have called my lustre environment which in my case would be 'lustre' ?
Am I missing anything? Do I need to install anything more on the Samba side?
Also how do the Windows clients map to the Lustre environment, do they point to the MDS?
Please help I'm new to lustre and samba......
Thanks