<div class="gmail_quote"><br><div>Hi Brain,</div><div><br></div><div>Here the results of the lustre server.</div><div><br></div><div>[root@SF_01 mnt]# df -kh</div><div>Filesystem Size Used Avail Use% Mounted on</div>
<div>/dev/sda3 9.7G 6.1G 3.2G 66% /</div>
<div>none 1004M 0 1004M 0% /dev/shm</div><div>/dev/loop0 342M 17M 306M 6% /mnt/mdt</div><div>/dev/loop1 275M 25M 236M 10% /mnt/ost</div><div>6.6.212.1@o2ib:/lustre</div>
<div> 275M 25M 236M 10% /mnt/lustre</div><div>[root@SF_01 mnt]# </div><div>[root@SF_01 mnt]# rpm -qa | grep lustre<br></div><div class="im"><div>lustre-modules-1.6.7.1-2.6.9_67.0.22.EL_lustre.1.6.7.1smp</div>
<div>
lustre-ldiskfs-3.0.7.1-2.6.9_67.0.22.EL_lustre.1.6.7.1smp</div></div><div class="im"><div>kernel-lustre-smp-2.6.9-67.0.22.EL_lustre.1.6.7.1</div></div><div class="im"><div>kernel-ib-1.3-2.6.9_67.0.22.EL_lustre.1.6.7.1smp</div>
</div><div>lustre-1.6.7.1-2.6.9_67.0.22.EL_lustre.1.6.7.1smp</div>
<div>[root@SF_01 mnt]# </div><div>[root@SF_01 mnt]# ifconfig ib0<br></div><div>ib0 Link encap:UNSPEC HWaddr 80-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00 </div><div> inet addr:6.6.212.1 Bcast:6.6.255.255 Mask:255.255.0.0</div>
<div> inet6 addr: fe80::205:ad00:8000:0/64 Scope:Link</div><div> UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1</div><div> RX packets:19 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:9 errors:0 dropped:0 overruns:0 carrier:0</div>
<div> collisions:0 txqueuelen:256 </div><div> RX bytes:1348 (1.3 KiB) TX bytes:672 (672.0 b)</div><div><br></div><div>[root@SF_01 mnt]# </div><div><br></div><div><br></div><div>I need help to configure the lustre-client .</div>
<div><br></div><div>Here the client details.</div><div><br></div><div><div class="im"><div>[root@SF_02 ~]# rpm -qa | grep lustre</div><div>kernel-ib-1.3-2.6.9_67.0.22.EL_lustre.1.6.7.1smp</div><div>lustre-modules-1.6.7.1-2.6.9_67.0.22.EL_lustre.1.6.7.1smp</div>
<div>lustre-ldiskfs-3.0.7.1-2.6.9_67.0.22.EL_lustre.1.6.7.1smp</div><div>lustre-1.6.7.1-2.6.9_67.0.22.EL_lustre.1.6.7.1smp</div><div>kernel-lustre-smp-2.6.9-67.0.22.EL_lustre.1.6.7.1</div></div><div><div><br></div><div>[root@SF_02 ~]# ifconfig ib1</div>
<div>ib1 Link encap:UNSPEC HWaddr 80-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00 </div><div> inet addr:6.6.213.2 Bcast:6.6.255.255 Mask:255.255.0.0</div><div> inet6 addr: fe80::205:ad00:5:7412/64 Scope:Link</div>
<div> UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1</div><div> RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:10 errors:0 dropped:0 overruns:0 carrier:0</div><div>
collisions:0 txqueuelen:256 </div><div> RX bytes:0 (0.0 b) TX bytes:752 (752.0 b)</div><div><br></div><div><div>[root@SF_02 ~]# mount -t lustre 6.6.212.1@o2ib:/lustre /mnt/lustre</div><div>mount.lustre: mount 6.6.212.1@o2ib:/lustre at /mnt/lustre failed: No such device</div>
<div>Are the lustre modules loaded?</div><div>Check /etc/modprobe.conf and /proc/filesystems</div><div>Note 'alias lustre llite' should be removed from modprobe.conf</div><div><br></div><div>what are all the things i need to configure in client machine.</div>
<div>can you please guide me further ?!<br></div><div><br></div><div><br></div><div>The steps i followed,<br></div><div><br></div><div><div>insmod /lib/modules/2.6.9-67.0.22.EL_lustre.1.6.7.1smp/kernel/net/lustre/libcfs.ko<br>
</div><div>insmod /lib/modules/2.6.9-67.0.22.EL_lustre.1.6.7.1smp/kernel/net/lustre/lnet.ko networks=o2ib</div><div>insmod /lib/modules/2.6.9-67.0.22.EL_lustre.1.6.7.1smp/kernel/net/lustre/ko2iblnd.ko</div><div><br></div>
<div><br></div><div>mkfs.lustre --mgs --mdt --fsname=lustre --device-size=400000 --param sys.timeout=20 --param lov.stripesize=1048576 --param lov.stripecount=0 --mountfsoptions=acl --backfstype ldiskfs --reformat /tmp/lustre-mdt</div>
<div><br></div><div>mkfs.lustre --ost --fsname=lustre --device-size=300000 --mgsnode=6.6.212.1@o2ib --param sys.timeout=20 --backfstype ldiskfs --reformat /tmp/lustre-ost1</div><div><br></div><div>tunefs.lustre --writeconf /tmp/lustre-mdt<br>
</div><div>mount -o loop -t lustre /tmp/lustre-mdt /mnt/mdt</div><div><br></div><div>mount -o loop -t lustre /tmp/lustre-ost1 /mnt/ost<br></div><div>e2label /tmp/lustre-mdt</div><div><br></div><div>mount.lustre -o user_xattr,acl 6.6.212.1@o2ib:/lustre /mnt/lustre<br>
</div><div><br></div><div><br></div><div><br></div></div><div><br></div></div></div></div><div>Thanks,</div>Gnana<div><div></div><div class="h5"><br><br>
<br><br><div class="gmail_quote">On Tue, Apr 28, 2009 at 9:08 AM, Gnanasekar Loganathan <span dir="ltr"><<a href="mailto:l.gnanasekar@gmail.com" target="_blank">l.gnanasekar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks brain.!<div>I'll try my best level and come back with good result.<br><div><br clear="all"><br></div><div>Thanks,</div><div>Gnana<br><br><br>
<br><br><div class="gmail_quote"><div><div></div><div>On Mon, Apr 27, 2009 at 6:04 PM, Brian J. Murrell <span dir="ltr"><<a href="mailto:Brian.Murrell@sun.com" target="_blank">Brian.Murrell@sun.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
On Sat, 2009-04-25 at 16:44 +0530, Gnanasekar Loganathan wrote:<br>
> Hi Brain,<br>
<br>
Hi,<br>
<div><br>
<br>
> [root@SF_02 ~]# rpm -qa | grep e2fs<br>
> e2fsprogs-1.35-12.17.el4<br>
> e2fsprogs-devel-1.35-12.17.el4<br>
> e2fsprogs-1.40.11.sun1-0redhat<br>
> e2fsprogs-1.35-12.17.el4<br>
<br>
</div>Why do you have 3 e2fsprogs packages installed? How did you manage to<br>
do that? If you used "rpm -i" rpm should have complained that you<br>
already had e2fsprogs installed and if you used "rpm -U" it should have<br>
installed e2fsprogs-1.40.11.sun1-0redhat and removed<br>
e2fsprogs-1.35-12.17.el4.<br>
<div><br>
> Device Boot Start End Blocks Id System<br>
> /dev/sda1 * 2550 5000 19687657+ 83 Linux<br>
> /dev/sda2 5001 5383 3076447+ 82 Linux swap<br>
><br>
><br>
> I have only a 2 partitions on my system.<br>
<br>
</div>Yes. /dev/sda1 and /dev/sda2<br>
<div><br>
> If i run the command<br>
><br>
><br>
> 'mkfs.lustre --mdt --mgs --fsname=large-fs /dev/sda'<br>
><br>
><br>
> the system will crash/corrupt.<br>
<br>
</div>Of course it will. You are overwriting /dev/sda1 and /dev/sda2 (which<br>
are your system and swap devices) doing this. If you intend this<br>
machine to be an MDS, you need to format some other<br>
(than /dev/sda, /dev/sda1 or /dev/sda2) device. I think perhaps you are<br>
not quite understanding the architecture of Lustre. I think a review of<br>
the manual and probably the wiki will help you understand what the<br>
components of a Lustre system are and how to install them.<br>
<font color="#888888"><br>
b.<br>
<br>
</font><br></div></div><div>_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
<br></div></blockquote></div><br></div></div>
</blockquote></div><br>
</div></div></div><br>