On Mon, 2004-05-24 at 02:32, Larry Lines wrote:> I am trying to get lustre started and having no luck. The > documentation > isn''t clear on if there are any steps before running this script. Am I > stupposed to make directories (ie. /mnt/lustre or /tmp/ost1 or > /tmp/mds1) > before doing this? What exactly is a loop device? If I don''t make > the device explicitly, does that mean it is made by the system as > it starts up?A loop(back) device is a kernel driver which maps a normal file (like /tmp/foo) to a block device (/dev/loop0). You don''t need to create any files or directories before you start, but if you are going to use the default test scripts (which use loop devices), then you need to make sure that your kernel supports them. You may have to "modprobe loop.o" if that support is built as a module. Or you can (carefully) edit local.sh in that same directory, and change the MDS and OST file systems from files (ie, /tmp/ost1) to real block devices (like /dev/hdd1). Be extremely careful -- Lustre doesn''t know what is on those block devices, and will format them when you run llmount.sh. Make sure that you don''t destroy important data! -Phil
--_b83f00c3a65e1e9bc58ff2277c30804c9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit I am trying to get lustre started and having no luck. The documentation isn''t clear on if there are any steps before running this script. Am I stupposed to make directories (ie. /mnt/lustre or /tmp/ost1 or /tmp/mds1) before doing this? What exactly is a loop device? If I don''t make the device explicitly, does that mean it is made by the system as it starts up? # NAME=local sh llmount.sh loading module: portals srcdir ./../utils/../portals devdir libcfs loading module: ksocknal srcdir ./../utils/../portals devdir knals/socknal loading module: lvfs srcdir ./../utils/.. devdir lvfs loading module: obdclass srcdir ./../utils/.. devdir obdclass loading module: ptlrpc srcdir ./../utils/.. devdir ptlrpc loading module: ost srcdir ./../utils/.. devdir ost loading module: fsfilt_ext3 srcdir ./../utils/.. devdir lvfs loading module: obdfilter srcdir ./../utils/.. devdir obdfilter loading module: mdc srcdir ./../utils/.. devdir mdc loading module: osc srcdir ./../utils/.. devdir osc loading module: lov srcdir ./../utils/.. devdir lov loading module: mds srcdir ./../utils/.. devdir mds loading module: llite srcdir ./../utils/.. devdir llite NETWORK: NET_localhost_tcp NET_localhost_tcp_UUID tcp ninatta1 988 OSD: OST_localhost OST_localhost_UUID obdfilter /tmp/ost1-ninatta1 200000 ext3 no 0 0 can''t access loop devices -------------------- Larry Lines --_b83f00c3a65e1e9bc58ff2277c30804c9 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit I am trying to get lustre started and having no luck. The documentation<br> isn''t clear on if there are any steps before running this script. Am I<br> stupposed to make directories (ie. /mnt/lustre or /tmp/ost1 or /tmp/mds1)<br> before doing this? What exactly is a loop device? If I don''t make<br> the device explicitly, does that mean it is made by the system as<br> it starts up?<br> <br> # NAME=local sh llmount.sh<br> loading module: portals srcdir ./../utils/../portals devdir libcfs<br> loading module: ksocknal srcdir ./../utils/../portals devdir knals/socknal<br> loading module: lvfs srcdir ./../utils/.. devdir lvfs<br> loading module: obdclass srcdir ./../utils/.. devdir obdclass<br> loading module: ptlrpc srcdir ./../utils/.. devdir ptlrpc<br> loading module: ost srcdir ./../utils/.. devdir ost<br> loading module: fsfilt_ext3 srcdir ./../utils/.. devdir lvfs<br> loading module: obdfilter srcdir ./../utils/.. devdir obdfilter<br> loading module: mdc srcdir ./../utils/.. devdir mdc<br> loading module: osc srcdir ./../utils/.. devdir osc<br> loading module: lov srcdir ./../utils/.. devdir lov<br> loading module: mds srcdir ./../utils/.. devdir mds<br> loading module: llite srcdir ./../utils/.. devdir llite<br> NETWORK: NET_localhost_tcp NET_localhost_tcp_UUID tcp ninatta1 988<br> OSD: OST_localhost OST_localhost_UUID obdfilter /tmp/ost1-ninatta1 200000 ext3 no 0 0<br> can''t access loop devices<br> <br> --------------------<br> Larry Lines<br> --_b83f00c3a65e1e9bc58ff2277c30804c9--