> On Thu, 2004-04-22 at 21:21, Jeremy Hansen wrote: > > I''m trying to get through some basics with lustre. Right now using > > anything but localhost as my node name results in a /usr/sbin/lctl (22): > > error: setup: Invalid argument. > > > > Using the exact same script to create my xml file using localhost rather > > then the actual dns name of the external interface results in a successful > > mount.I just came up against this trying to configure an MDS, OST, and client all in one host: it would work with a node name of "localhost", but not with the system''s actual name. I finally got it to work in the second case by configuring a LOV, even though there''s only a single component in the stripe. I don''t know if that''s the "right" way; I''m still learning about Lustre. David S.> >
On Thu, 2004-04-22 at 21:21, Jeremy Hansen wrote:> I''m trying to get through some basics with lustre. Right now using > anything but localhost as my node name results in a /usr/sbin/lctl (22): > error: setup: Invalid argument. > > Using the exact same script to create my xml file using localhost rather > then the actual dns name of the external interface results in a successful > mount.All of the interesting parts of Lustre live in the kernel, so all of the interesting messages are on the console or in /var/log/messages. Please send those with any problem reports, because without them, we''re unable to help. If you try this again, and send the console messages, I''m sure we''ll figure it out in a hurry. Thanks-- -Phil
On Wed, 2004-05-05 at 01:42, David S. wrote:> > I just came up against this trying to configure an MDS, OST, and client > all in one host: it would work with a node name of "localhost", but not > with the system''s actual name. I finally got it to work in the second > case by configuring a LOV, even though there''s only a single component > in the stripe. I don''t know if that''s the "right" way; I''m still > learning about Lustre.A LOV is always required, but lmc is supposed to add an LOV if you forget on a single-OST configuration. It seems that you''ve found a bug in that automatic-lov code. Thanks! For now, I would continue to use that workaround. -Phil
I''m trying to get through some basics with lustre. Right now using anything but localhost as my node name results in a /usr/sbin/lctl (22): error: setup: Invalid argument. Using the exact same script to create my xml file using localhost rather then the actual dns name of the external interface results in a successful mount. Create script: #!/bin/sh lmc -o lov.xml --add node --node localhost lmc -m lov.xml --add net --node localhost --nid localhost --nettype tcp lmc -m lov.xml --format --add mds --node localhost --mds mds1 --fstype ext3 --dev /tmp/mds1 --size 50000 lmc -m lov.xml --add lov --lov lov1 --mds mds1 --stripe_sz 65536 --stripe_cnt 0 --stripe_pattern 0 lmc -m lov.xml --add ost --node localhost --lov lov1 --ost ost1 --fstype ext3 --dev /tmp/ost1 --size 100000 lmc -m lov.xml --add ost --node localhost --lov lov1 --ost ost2 --fstype ext3 --dev /tmp/ost2 --size 100000 lmc -m lov.xml --add mtpt --node localhost --path /mnt/lustre --mds mds1 --lov lov1 lconf --reformat --gdb lov.xml Using the machine''s actual hostname instead of localhost causes it to fail. Any ideas for me. Thanks