4 # Setup the portals and lustre RPC bits. For now
5 # that means we need to set 4 additional variables
6 # here for ptlctl to use during its config. There
7 # should be some XML aware solution soon. Also
8 # the code to load only the nessisary modules
9 # should go in to obdctl.
16 setup_portals || exit $?
17 setup_lustre || exit $?
19 # Loopback devices are still only supported in the
20 # scripts so we're borrowing that functionality.
21 new_fs ext3 /tmp/mds 25000
22 new_fs ext3 /tmp/ost 10000
24 # Configure the node based on the XML provided.
25 $OBDCTL --xml $1 || exit $?
29 # The mountpoint information in the XML is currently
30 # neglected so this needs to be done here.
33 echo "To mount the filesystem:"
34 echo "mount -t lustre_lite -o ost=`$OBDCTL name2dev osc-srv`,mds=`$OBDCTL name2dev mdc-srv` none /mnt/lustre"