Nasr Y.M.J.O.
2006-Oct-22 18:42 UTC
[Lustre-discuss] No target device found for target; ERROR
Dear All, Ive just installed lustre 1.4.7.1 (I built both kernel and lustre RPM''s from source). Im trying to configure lustre (In this case, the frontend node as MDS, 2 compute nodes as OST) but Im getting the error ''No target device found for target:'' when I run lconf for the MDS. Attached is the output of the lconf and the shell script I used to create the xml file. Any help is greatly appreciated. Many thanks in advance, nasr ------------------------------------------------------------------------------------------------------------------------------ FOR OST-1 -------------- # ssh c0-0 ''lconf --reformat --node compute-0-0 /opt/lustre/config.xml'' loading module: libcfs srcdir None devdir libcfs loading module: lnet srcdir None devdir lnet loading module: ksocklnd srcdir None devdir klnds/socklnd 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: ldiskfs srcdir None devdir ldiskfs loading module: fsfilt_ldiskfs srcdir None devdir lvfs loading module: obdfilter srcdir None devdir obdfilter NETWORK: NET_compute-0-0_tcp NET_compute-0-0_tcp_UUID tcp compute-0-0 OSD: lustre-ost0 lustre-ost0_UUID obdfilter /lustre-ost0 5000000 ldiskfs no 0 256 OST mount options: errors=remount-ro --------------- FOR OST-2 --------------- # ssh c0-1 ''lconf --reformat --node compute-0-0 /opt/lustre/config.xml'' loading module: libcfs srcdir None devdir libcfs loading module: lnet srcdir None devdir lnet loading module: ksocklnd srcdir None devdir klnds/socklnd 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: ldiskfs srcdir None devdir ldiskfs loading module: fsfilt_ldiskfs srcdir None devdir lvfs loading module: obdfilter srcdir None devdir obdfilter NETWORK: NET_compute-0-0_tcp NET_compute-0-0_tcp_UUID tcp compute-0-0 OSD: lustre-ost0 lustre-ost0_UUID obdfilter /lustre-ost0 5000000 ldiskfs no 0 256 OST mount options: errors=remount-ro ------------ FOR MDS ------------ # lconf --reformat --node chemcluster /opt/lustre/config.xml loading module: libcfs srcdir None devdir libcfs loading module: lnet srcdir None devdir lnet loading module: ksocklnd srcdir None devdir klnds/socklnd loading module: lvfs srcdir None devdir lvfs loading module: obdclass srcdir None devdir obdclass loading module: ptlrpc srcdir None devdir ptlrpc 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 loading module: ldiskfs srcdir None devdir ldiskfs loading module: fsfilt_ldiskfs srcdir None devdir lvfs NETWORK: NET_chemcluster_tcp NET_chemcluster_tcp_UUID tcp chemcluster MDSDEV: lustre-mds lustre-mds_UUID /lustre-mds ldiskfs no recording clients for filesystem: FS_fsname_UUID No target device found for target: --------------------------------------------------------------------------------------------------------------------------------- #!/bin/sh # lustre-config.sh # Create nodes rm -f config.xml lmc -m config.xml --add node --node chemcluster lmc -m config.xml --add node --node compute-0-0 lmc -m config.xml --add node --node compute-0-1 lmc -m config.xml --add node --node client lmc -m config.xml --add net --node chemcluster --nid chemcluster --nettype tcp lmc -m config.xml --add net --node compute-0-0 --nid compute-0-0 --nettype tcp lmc -m config.xml --add net --node compute-0-1 --nid compute-0-1 --nettype tcp lmc -m config.xml --add net --node client --nid ''*'' --nettype tcp # Configure the Metadata server ''MDS'' (the frontend) lmc -m config.xml --add mds --node chemcluster --mds lustre-mds --fstype ldiskfs --dev /lustre-mds --size 1000000 # Configure Object Storage Targets ''OSTs'' i.e. The IO servers + LOV for striping lmc -m config.xml --add lov --lov lustre-love --mds lustre-mds --stripe_sz 1048576 --stripe_cnt 0 --stripe_pattern 0 lmc -m config.xml --add ost --node compute-0-0 --lov lustre-love --ost lustre-ost0 --fstype ldiskfs --dev /lustre-ost0 --size 5000000 lmc -m config.xml --add ost --node compute-0-1 --lov lustre-love --ost lustre-ost1 --fstype ldiskfs --dev /lustre-ost1 --size 5000000 # Configure clients lmc -m config.xml --add mtpt --node client --path /lustre --mds lustre-mds --lov lustre-lov --------------------------------------------------------------------------------------------------------------------------------------- Thanks _________________________________________________________________ Get your ringtones, operator logos and picture messages from MSN Mobile. http://msn.smsfactory.no/