This walk-thru is intended to provide simple instructions to create a client of your Lustre filesystem.
Lustre server components can either be built from scratch or installed from Whamcloud RPMs. |
Lustre supports a wide variety of networks. Whamcloud builds two version of Lustre, one with Infiniband drivers that are shipped with the kernel (inkernel) and the other with Infiniband drivers that are provided by OpenFabrics Alliance (ofa) |
lustre-client-modules
and lustre-client
from build.whamcloud.com to your host.The RPMs for the client provide the kernel modules to allow the client to mount the Lustre filesystem.
yum
to install the RPMs.
yum --nogpgcheck localinstall lustre-client-2.1.52-2.6.32_131.6.1.el6.x86_64_ga296e94.x86_64.rpm lustre-client-modules-2.1.52-2.6.32_131.6.1.el6.x86_64_ga296e94.x86_64.rpm |
modprobe lustre |
mount
to mount the filesystem:
mount -t lustre 192.168.1.1@tcp:/lustre /mnt |
# mount /dev/mapper/VolGroup-lv_root on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/vda1 on /boot type ext4 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) 192.168.122.51@tcp:/lustre on /mnt type lustre (rw) # dd if=/dev/zero of=/mnt/test.dat bs=1K count=100K 102400+0 records in 102400+0 records out 104857600 bytes (105 MB) copied, 2.6479 s, 39.6 MB/s |
Q Mount returns:
mount.lustre: mount 192.168.122.51@tcp:/lustre at /mnt failed: Input/output error Is the MGS running? |
A