I am using the Lustre-1.2.4 on two machines "dell-161" and
"dell-162"
(both with redhat as 3.0, kernel 2.4.21).
Everything goes well when using "sh local.sh" and "lconf
local.xml" on
each machine.
Any suggestion is appreciated.
Thanks!
[root@dell-161 tmp]# lconf config.xml
loading module: portals srcdir None devdir libcfs
loading module: ksocknal srcdir None devdir knals/socknal
loading module: lvfs srcdir None devdir lvfs
loading module: obdclass srcdir None devdir obdclass
loading module: ptlrpc srcdir None devdir ptlrpc
loading module: ost srcdir None devdir ost
loading module: fsfilt_ext3 srcdir None devdir lvfs
loading module: obdfilter srcdir None devdir obdfilter
loading module: mdc srcdir None devdir mdc
loading module: osc srcdir None devdir osc
loading module: lov srcdir None devdir lov
loading module: mds srcdir None devdir mds
NETWORK: NET_dell-161_tcp NET_dell-161_tcp_UUID tcp dell-161 988
OSD: OST_dell-161 OST_dell-161_UUID obdfilter /tmp/ostloopfile 8192 ext3
no 0 0
removing stale pidfile: /var/run/acceptor-988.pid
MDSDEV: mds1 mds1_UUID /tmp/mdsloopfile ext3 8192 no
! /usr/sbin/lctl (107): error: setup: Transport endpoint is not connected
-------------------------------------------
config.sh
------------------
#!/bin/bash
config=config.xml
LMC="lmc -m $config"
rm -f $config
$LMC --add node --node dell-161
$LMC --add net --node dell-161 --nid dell-161 --nettype tcp
$LMC --add mds --node dell-161 --mds mds1 --fstype ext3 --dev
/tmp/mdsloopfile --size 8192
$LMC --add lov --lov lov1 --mds mds1 --stripe_sz 1048576 --stripe_cnt 1
--stripe_pattern 0
$LMC --add ost --node dell-161 --lov lov1 --fstype ext3 --dev
/tmp/ostloopfile --size 8192
$LMC --add node --node client
$LMC --add net --node client --nid ''*'' --nettype tcp
$LMC --add mtpt --node client --mds mds1 --lov lov1 --path /mnt/lustre
----------------------------------------------
# cat config.xml
----------------------
<?xml version=''1.0'' encoding=''UTF-8''?>
<!DOCTYPE lustre>
<lustre version=''2003070801''>
<ldlm name=''ldlm'' uuid=''ldlm_UUID''/>
<node name=''dell-161''
uuid=''dell-161_UUID''>
<profile_ref uuidref=''PROFILE_dell-161_UUID''/>
<network uuid=''NET_dell-161_tcp_UUID''
nettype=''tcp''
name=''NET_dell-161_tcp''>
<nid>dell-161</nid>
<clusterid>0</clusterid>
<port>988</port>
</network>
</node>
<profile name=''PROFILE_dell-161''
uuid=''PROFILE_dell-161_UUID''>
<ldlm_ref uuidref=''ldlm_UUID''/>
<network_ref uuidref=''NET_dell-161_tcp_UUID''/>
<mdsdev_ref uuidref=''MDD_mds1_dell-161_UUID''/>
<osd_ref uuidref=''OSD_OST_dell-161_dell-161_UUID''/>
</profile>
<mds name=''mds1'' uuid=''mds1_UUID''>
<active_ref uuidref=''MDD_mds1_dell-161_UUID''/>
<lovconfig_ref uuidref=''LVCFG_lov1_UUID''/>
<filesystem_ref uuidref=''FS_fsname_UUID''/>
</mds>
<mdsdev name=''MDD_mds1_dell-161''
uuid=''MDD_mds1_dell-161_UUID''>
<fstype>ext3</fstype>
<devpath>/tmp/mdsloopfile</devpath>
<autoformat>no</autoformat>
<devsize>8192</devsize>
<journalsize>0</journalsize>
<inodesize>0</inodesize>
<node_ref uuidref=''dell-161_UUID''/>
<target_ref uuidref=''mds1_UUID''/>
</mdsdev>
<lov stripesize=''1048576''
stripecount=''1'' stripepattern=''0''
uuid=''lov1_UUID'' name=''lov1''>
<mds_ref uuidref=''mds1_UUID''/>
<obd_ref uuidref=''OST_dell-161_UUID''/>
</lov>
<lovconfig uuid=''LVCFG_lov1_UUID''
name=''LVCFG_lov1''>
<lov_ref uuidref=''lov1_UUID''/>
</lovconfig>
<ost name=''OST_dell-161''
uuid=''OST_dell-161_UUID''>
<active_ref
uuidref=''OSD_OST_dell-161_dell-161_UUID''/>
</ost>
<osd osdtype=''obdfilter''
name=''OSD_OST_dell-161_dell-161''
uuid=''OSD_OST_dell-161_dell-161_UUID''>
<target_ref uuidref=''OST_dell-161_UUID''/>
<node_ref uuidref=''dell-161_UUID''/>
<fstype>ext3</fstype>
<devpath>/tmp/ostloopfile</devpath>
<autoformat>no</autoformat>
<devsize>8192</devsize>
<journalsize>0</journalsize>
<inodesize>0</inodesize>
</osd>
<node uuid=''client_UUID''
name=''client''>
<profile_ref uuidref=''PROFILE_client_UUID''/>
<network name=''NET_client_tcp''
nettype=''tcp'' uuid=''NET_client_tcp_UUID''>
<nid>*</nid>
<clusterid>0</clusterid>
<port>988</port>
</network>
</node>
<profile uuid=''PROFILE_client_UUID''
name=''PROFILE_client''>
<ldlm_ref uuidref=''ldlm_UUID''/>
<network_ref uuidref=''NET_client_tcp_UUID''/>
<mountpoint_ref uuidref=''MNT_client_UUID''/>
</profile>
<filesystem uuid=''FS_fsname_UUID''
name=''FS_fsname''>
<mds_ref uuidref=''mds1_UUID''/>
<obd_ref uuidref=''lov1_UUID''/>
</filesystem>
<mountpoint uuid=''MNT_client_UUID''
name=''MNT_client''>
<filesystem_ref uuidref=''FS_fsname_UUID''/>
<path>/mnt/lustre</path>
</mountpoint>
</lustre>
--
IanJiang