Whamcloud - gitweb
fs/lustre-release.git
18 years agoThis commit was manufactured by cvs2svn to create branch 'b_new_cmd'.
cvs2svn [Mon, 27 Mar 2006 10:33:33 +0000 (10:33 +0000)]
This commit was manufactured by cvs2svn to create branch 'b_new_cmd'.

18 years agob=9858
yujian [Mon, 27 Mar 2006 10:33:32 +0000 (10:33 +0000)]
b=9858
add some new test cases:
-test_20: start mds first
-test_21: start mds last
-test_22: start mds between two osts
-test_23: add a new ost before a client has started
-test_24: add a new ost after a client has started

18 years agoBranch b1_4_mountconf
nathan [Sat, 25 Mar 2006 01:40:05 +0000 (01:40 +0000)]
Branch b1_4_mountconf
b=9858
test changes for mountconf

18 years agoBranch b1_4_mountconf
nathan [Fri, 24 Mar 2006 20:49:19 +0000 (20:49 +0000)]
Branch b1_4_mountconf
b=9858
more cleanup of conf-sanity

18 years agoBranch b1_4_mountconf
nathan [Fri, 24 Mar 2006 00:04:39 +0000 (00:04 +0000)]
Branch b1_4_mountconf
b=9858
stupid strsep caused memory leak,
more changes for conf-sanity

18 years agoBranch b1_4_mountconf
nathan [Thu, 23 Mar 2006 01:34:43 +0000 (01:34 +0000)]
Branch b1_4_mountconf
b=9858
conf-sanity working (at least starting)

18 years agoBranch b1_4_mountconf
nathan [Wed, 22 Mar 2006 22:49:14 +0000 (22:49 +0000)]
Branch b1_4_mountconf
b=9858
sanityN working

18 years agoBranch b1_4_mountconf
nathan [Wed, 22 Mar 2006 20:00:00 +0000 (20:00 +0000)]
Branch b1_4_mountconf
b=9858
replace llmount/llmountcleanup with mountconf.sh
fix sanity

18 years agoBranch b1_4_mountconf
nathan [Tue, 21 Mar 2006 20:34:04 +0000 (20:34 +0000)]
Branch b1_4_mountconf
b=4482
Fix some recovery problems with late-added OSTs. A "late-added" OST is one
which is added to the FS after the MDT is added.  Since the config logs are
not re-written, these OSTs get added to the LOV after the MDT starts up,
every time the MDT starts up.  We have to fix the mdsize, and re-setup the
llogs whenever we add a late OST.

This fix in particular: during replay on an MDT, we still have to set the
right mdsize, but don't re-setup the llogs until recovery finishes.
(replay-single test 13)
Also check recovery w/o replay: create file, failover MDT, create another file.

18 years agoBranch b1_4_mountconf
nathan [Tue, 21 Mar 2006 20:02:34 +0000 (20:02 +0000)]
Branch b1_4_mountconf
b=9858
move mountconf deltas into test-framework as much as possible
replay-single now works reasonably well

18 years agoBranch b1_4_mountconf
nathan [Tue, 21 Mar 2006 16:53:12 +0000 (16:53 +0000)]
Branch b1_4_mountconf
b=9858
get service name from disk label

18 years agob=9853
yujian [Tue, 21 Mar 2006 11:20:09 +0000 (11:20 +0000)]
b=9853
- verify service IP addresses with failover nodes

18 years agob=9853
yujian [Tue, 21 Mar 2006 11:18:22 +0000 (11:18 +0000)]
b=9853
- scp ha.cf to all the nodes in the failover group, that is, all the nodes
  in one failover group have the same ha.cf file

18 years agob=9853
yujian [Tue, 21 Mar 2006 11:16:06 +0000 (11:16 +0000)]
b=9853
- modify the csv samples
- MGMT_NID->MGS_NIDS, NETWORKS->MODULE_OPTS
- --failover->--failnode, --mgmtnid->--mgsnode, --mgmt->--mgs

18 years agoThis is needed to place the new file in the make dist tarball, rpm build was broken.
cliffw [Mon, 20 Mar 2006 23:07:08 +0000 (23:07 +0000)]
This is needed to place the new file in the make dist tarball, rpm build was broken.

18 years agob=8007
nathan [Fri, 17 Mar 2006 22:30:31 +0000 (22:30 +0000)]
b=8007
update to b_rel_146

18 years agofile tcp-zero-copy-2.6.5-7.244.patch was added on branch b1_4_mountconf on 2006-04...
nathan [Fri, 17 Mar 2006 09:29:38 +0000 (09:29 +0000)]
file tcp-zero-copy-2.6.5-7.244.patch was added on branch b1_4_mountconf on 2006-04-17 21:30:25 +0000

18 years agofile tcp-zero-copy-2.6.5-7.244.patch was added on branch b_new_cmd on 2006-05-19...
yury [Fri, 17 Mar 2006 09:29:31 +0000 (09:29 +0000)]
file tcp-zero-copy-2.6.5-7.244.patch was added on branch b_new_cmd on 2006-05-19 11:29:25 +0000

18 years agofile tcp-zero-copy-2.6.12.6.patch was added on branch b1_4_mountconf on 2006-04-17...
nathan [Fri, 17 Mar 2006 09:29:27 +0000 (09:29 +0000)]
file tcp-zero-copy-2.6.12.6.patch was added on branch b1_4_mountconf on 2006-04-17 21:30:25 +0000

18 years agofile tcp-zero-copy-2.6.12.6.patch was added on branch b_new_cmd on 2006-05-19 11...
yury [Fri, 17 Mar 2006 09:29:20 +0000 (09:29 +0000)]
file tcp-zero-copy-2.6.12.6.patch was added on branch b_new_cmd on 2006-05-19 11:29:25 +0000

18 years agoBranch b1_4_mountconf
nathan [Thu, 16 Mar 2006 23:15:31 +0000 (23:15 +0000)]
Branch b1_4_mountconf
b=9861
Use common code to parse params from mkfs.lustre and from lctl:
 mkfs.lustre --mdt --param="default_stripe_size=1114112" /dev/sda
or
 lctl conf_param lustre-MDT0000 default_stripe_size=1114112
Implemented so far:
default_stripe_size
default_stripe_count
default_stripe_offset
default_stripe_pattern
obd_timeout
failnode

18 years agoBranch b1_4_mountconf
nathan [Thu, 16 Mar 2006 00:28:45 +0000 (00:28 +0000)]
Branch b1_4_mountconf
b=8007
Have to set the mds_max_mdsize for a recovery startup as well.
This patch does it "late", after the recovery completes -- this may not be
sufficient for replay.

18 years agoBranch b1_4_mountconf
nathan [Wed, 15 Mar 2006 18:03:51 +0000 (18:03 +0000)]
Branch b1_4_mountconf
b=9861
change client mount command from
mount uml1:/lustre-client
to
mount uml1:/lustre
at Braam's request.

18 years agoBranch b1_4_mountconf
nathan [Tue, 14 Mar 2006 22:35:48 +0000 (22:35 +0000)]
Branch b1_4_mountconf
b=9846
add ability to change failover nodes or stripe params via lctl:
mgs> ./lctl conf_param lustre-OST0000 failnode=3@elan,192.168.0.3@tcp0
any client> cat /proc/fs/lustre/osc/lustre-OST0000-osc/ost_conn_uuid
mgs> ./lctl conf_param lustre-mdtlov default_stripe_size=1114112
mgs> ./lctl conf_param lustre-mdtlov default_stripe_count=2
mgs> ./lctl conf_param lustre-mdtlov default_stripe_offset=3
mgs> ./lctl conf_param lustre-mdtlov default_stripe_pattern=0
cat /proc/fs/lustre/lov/lustre-mdtlov/stripe*

18 years agoBranch b1_4_mountconf
nathan [Tue, 14 Mar 2006 21:48:43 +0000 (21:48 +0000)]
Branch b1_4_mountconf
b=9861
make mgsnids and failover nids part of string parameters
(e.g. mgsnode=<nid_list>), to simplify mkfs/mount, and to provide a
distinction between multiple nids per node, and multiple nodes.  String
parsing moves into kernel.  Arbitrary params can be added to mkfs.lustre
with --param key=value, hopefully preventing any need to ever change the
lustre_disk_data.

18 years agoBranch b1_4_mountconf
nathan [Tue, 14 Mar 2006 19:24:59 +0000 (19:24 +0000)]
Branch b1_4_mountconf
b=9858
remove llrmount

18 years agofile tcp-rto_proc-2.6.9.patch was added on branch b1_4_mountconf on 2006-04-05 01...
nathan [Mon, 6 Mar 2006 19:10:01 +0000 (19:10 +0000)]
file tcp-rto_proc-2.6.9.patch was added on branch b1_4_mountconf on 2006-04-05 01:14:57 +0000

18 years agofile tcp-rto_proc-2.6.9.patch was added on branch b_new_cmd on 2006-04-14 07:37:09...
yury [Mon, 6 Mar 2006 19:10:00 +0000 (19:10 +0000)]
file tcp-rto_proc-2.6.9.patch was added on branch b_new_cmd on 2006-04-14 07:37:09 +0000

18 years agofile lustre_idl.h was added on branch b1_4_mountconf on 2006-04-26 18:45:46 +0000
nathan [Fri, 3 Mar 2006 05:50:14 +0000 (05:50 +0000)]
file lustre_idl.h was added on branch b1_4_mountconf on 2006-04-26 18:45:46 +0000

18 years agofile lustre_idl.h was added on branch b_new_cmd on 2006-05-19 11:29:23 +0000
yury [Fri, 3 Mar 2006 05:50:13 +0000 (05:50 +0000)]
file lustre_idl.h was added on branch b_new_cmd on 2006-05-19 11:29:23 +0000

18 years agoBranch b1_4_mountconf
nathan [Fri, 3 Mar 2006 00:28:12 +0000 (00:28 +0000)]
Branch b1_4_mountconf
b=4482
if there are no osc's, we don't know how big to make the page size

18 years agoBranch b1_4_mountconf
nathan [Thu, 2 Mar 2006 21:55:23 +0000 (21:55 +0000)]
Branch b1_4_mountconf
b=9861
add method to describe multiple failover nodes each with multiple nids to mkfs.lustre.

18 years agofile lustre_types.h was added on branch b1_4_mountconf on 2006-04-26 18:45:44 +0000
nathan [Thu, 2 Mar 2006 13:40:01 +0000 (13:40 +0000)]
file lustre_types.h was added on branch b1_4_mountconf on 2006-04-26 18:45:44 +0000

18 years agofile lustre_types.h was added on branch b_new_cmd on 2006-05-19 11:29:21 +0000
yury [Thu, 2 Mar 2006 13:40:00 +0000 (13:40 +0000)]
file lustre_types.h was added on branch b_new_cmd on 2006-05-19 11:29:21 +0000

18 years agofile lustre_types.h was added on branch b1_4_mountconf on 2006-04-26 18:45:42 +0000
nathan [Thu, 2 Mar 2006 13:39:59 +0000 (13:39 +0000)]
file lustre_types.h was added on branch b1_4_mountconf on 2006-04-26 18:45:42 +0000

18 years agofile lustre_types.h was added on branch b_new_cmd on 2006-05-19 11:29:19 +0000
yury [Thu, 2 Mar 2006 13:39:58 +0000 (13:39 +0000)]
file lustre_types.h was added on branch b_new_cmd on 2006-05-19 11:29:19 +0000

18 years agoBranch b1_4_mountconf
nathan [Wed, 1 Mar 2006 20:49:35 +0000 (20:49 +0000)]
Branch b1_4_mountconf
b=8007
allow old clients to reconnect to a newly-restarted MGS
(plus some minor cleanups)

18 years agoBranch b1_4_mountconf
nathan [Tue, 28 Feb 2006 22:35:35 +0000 (22:35 +0000)]
Branch b1_4_mountconf
b=8007
Check early for double-mount

18 years agoBranch b1_4_mountconf
nathan [Tue, 28 Feb 2006 21:45:52 +0000 (21:45 +0000)]
Branch b1_4_mountconf
b=8007
use random uuid for MGC so that MGS doesn't deny reconnection after parition.

18 years agoBranch b1_4_mountconf
nathan [Tue, 28 Feb 2006 01:13:27 +0000 (01:13 +0000)]
Branch b1_4_mountconf
b=9861
plumb in "add new failover nids"

18 years agofile tcp-zero-copy-2.6.9-rhel4.patch was added on branch b1_4_mountconf on 2006-04...
nathan [Mon, 27 Feb 2006 22:31:06 +0000 (22:31 +0000)]
file tcp-zero-copy-2.6.9-rhel4.patch was added on branch b1_4_mountconf on 2006-04-05 01:14:57 +0000

18 years agofile tcp-zero-copy-2.6.9-rhel4.patch was added on branch b_new_cmd on 2006-04-14...
yury [Mon, 27 Feb 2006 22:31:05 +0000 (22:31 +0000)]
file tcp-zero-copy-2.6.9-rhel4.patch was added on branch b_new_cmd on 2006-04-14 07:37:09 +0000

18 years agoBranch b1_4_mountconf
nathan [Mon, 27 Feb 2006 22:16:41 +0000 (22:16 +0000)]
Branch b1_4_mountconf
b=9846
add global lctl set_timeout

18 years agofile lustre_ver.h.in was added on branch b1_4_mountconf on 2006-04-26 18:45:41 +0000
nathan [Mon, 27 Feb 2006 21:43:02 +0000 (21:43 +0000)]
file lustre_ver.h.in was added on branch b1_4_mountconf on 2006-04-26 18:45:41 +0000

18 years agofile lustre_ver.h.in was added on branch b_new_cmd on 2006-05-19 11:29:18 +0000
yury [Mon, 27 Feb 2006 21:43:01 +0000 (21:43 +0000)]
file lustre_ver.h.in was added on branch b_new_cmd on 2006-05-19 11:29:18 +0000

18 years agoBranch b1_4_mountconf
nathan [Mon, 27 Feb 2006 19:07:04 +0000 (19:07 +0000)]
Branch b1_4_mountconf
b=8007
change sense of umount -f for servers:
umount = failover (next mount will go into recovery)
umount -f = force (non-failover, try to clean up)

18 years agoBranch b1_4_mountconf
nathan [Mon, 27 Feb 2006 16:50:52 +0000 (16:50 +0000)]
Branch b1_4_mountconf
b=8007
Use force/failover flags in mgc shutdown to prevent waiting around

18 years agofile lustre_capa.h was added on branch b_new_cmd on 2006-09-27 06:34:32 +0000
lsy [Mon, 27 Feb 2006 09:57:33 +0000 (09:57 +0000)]
file lustre_capa.h was added on branch b_new_cmd on 2006-09-27 06:34:32 +0000

18 years agofile ext3-htree-comments.patch was added on branch b_new_cmd on 2006-04-23 15:33...
wangdi [Sat, 25 Feb 2006 19:16:28 +0000 (19:16 +0000)]
file ext3-htree-comments.patch was added on branch b_new_cmd on 2006-04-23 15:33:32 +0000

18 years agoBranch b1_4_mountconf
nathan [Fri, 24 Feb 2006 23:17:51 +0000 (23:17 +0000)]
Branch b1_4_mountconf
b=8214
replay-single updates (and fixes for problems found thereby)

18 years agoBranch b1_4_mountconf
nathan [Fri, 24 Feb 2006 18:33:36 +0000 (18:33 +0000)]
Branch b1_4_mountconf
b=8007
Kick the mgs import a little harder.  If an mgs/mdt was restarted on a node
with a live mgc, the mgc wouldn't reconnect to the newly restarted
mgs. Throwing the ptlrpc_invalidate_import in there gives it a little more
incentive to reconnect - the mgs mount still gets EIO the first time, but
if you try it again it works.  I need help from somebody with more
knowledge of all these ptlrpc_ fns.

18 years agofile ext3-filterdata-2.6.15.patch was added on branch b_new_cmd on 2006-08-20 13...
yury [Fri, 24 Feb 2006 13:15:15 +0000 (13:15 +0000)]
file ext3-filterdata-2.6.15.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agoBranch b1_4_mountconf
nathan [Thu, 23 Feb 2006 23:22:29 +0000 (23:22 +0000)]
Branch b1_4_mountconf
b=9858 regression test mods
b=8007 need refcount around config_llog_data for arbitrary cleanup

18 years agoBranch b1_4_mountconf
nathan [Thu, 23 Feb 2006 00:44:31 +0000 (00:44 +0000)]
Branch b1_4_mountconf
b=9858
-sanity test fixes
-brief nap before updating to new configs

18 years agofile ext3-wantedi-2.6.15.patch was added on branch b_new_cmd on 2006-08-20 13:12...
yury [Wed, 22 Feb 2006 22:54:19 +0000 (22:54 +0000)]
file ext3-wantedi-2.6.15.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile ext3-extents-2.6.15.patch was added on branch b_new_cmd on 2006-08-20 13:12...
yury [Wed, 22 Feb 2006 22:54:13 +0000 (22:54 +0000)]
file ext3-extents-2.6.15.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agoBranch b1_4_mountconf
nathan [Wed, 22 Feb 2006 18:58:37 +0000 (18:58 +0000)]
Branch b1_4_mountconf
b=8007
get rid of unneeded lustre_mgs.h

18 years agoBranch b1_4_mountconf
nathan [Wed, 22 Feb 2006 00:04:26 +0000 (00:04 +0000)]
Branch b1_4_mountconf
b=8007
Hunt down some memory leaks:
1. There are problems with the llog_finish/init pair in mds_lov_add_ost.
   Firstly, they must be atomic as a pair.
   Secondly, the setup sets up more than the cleanup cleans up (see
   note in llog_setup), so we hackishly fix that.
2. Make sure we don't exit the umount until after we've dropped all our
   references to the mount.  Class_cleanup isn't synchronous, and we can't
   exit the umount and risk our sb getting destroyed until we're really done.
   So added a polling check.  Also, move the MDS/OSS cleanup check until after
   the poller, since I'm just looking at the class refcount.

18 years agoBranch b1_4_mountconf
nathan [Tue, 21 Feb 2006 23:43:54 +0000 (23:43 +0000)]
Branch b1_4_mountconf
b=8007
going after the memory leaks:
1. problems with the llog_finish / reinitialize in mds_lov_add_ost -
   the pair must be atomic in case someone else is adding
   the cleanup doesn't clean up as much as the setup sets up.  This is
   falloout

18 years agoBranch b1_4_mountconf
nathan [Mon, 20 Feb 2006 21:47:39 +0000 (21:47 +0000)]
Branch b1_4_mountconf
b=9863 - record timestamp in config log markers for future 9863 use
b=8192 - don't match existing locks in mgc_enqueue
b=9846 - fix client lov name for lctl conf_param

18 years agoBranch b1_4_mountconf
nathan [Mon, 20 Feb 2006 18:47:20 +0000 (18:47 +0000)]
Branch b1_4_mountconf
b=9846
Add lctl conf_param path via ioctl to MGS to set LCFG_PARAMs in logs.
Specifically, this allows things like:
./lctl conf_param lustre-mdtlov default_stripe_size=1055000
to be added to the MDT and client logs.

18 years agoBranch b1_4_mountconf
nathan [Fri, 17 Feb 2006 00:51:21 +0000 (00:51 +0000)]
Branch b1_4_mountconf
b=9860
upgrading from 1.4.6 - don't copy the old client log, just the old mdt log.
Regen client log as osts/mdt re-register after upgrade.
This means that new clients won't know about all the old osc's that the mdt
knows about, so don't start them until after all servers are upgraded.
But this also means no frankenstein hybrid old/new client log, and we don't
need to know the client name.
Use the old uuids parsed out of last_rcvd for the upgrading servers.
We can go back to 1.4.6 with no action required.

18 years agoBranch b1_4_mountconf
nathan [Thu, 16 Feb 2006 19:14:55 +0000 (19:14 +0000)]
Branch b1_4_mountconf
b=9860
namespace cleanup, new flags for upgrading from 146

18 years agofile ext3-hash-selection.patch was added on branch b_new_cmd on 2006-04-23 15:33...
wangdi [Thu, 16 Feb 2006 04:52:54 +0000 (04:52 +0000)]
file ext3-hash-selection.patch was added on branch b_new_cmd on 2006-04-23 15:33:32 +0000

18 years agoBranch b1_4_mountconf
nathan [Thu, 16 Feb 2006 01:04:40 +0000 (01:04 +0000)]
Branch b1_4_mountconf
b=9853
little cleanups

18 years agoBranch b1_4_mountconf
nathan [Thu, 16 Feb 2006 00:05:50 +0000 (00:05 +0000)]
Branch b1_4_mountconf
move mass_config scripts to subdir and rename

18 years agoBranch b1_4_mountconf
nathan [Wed, 15 Feb 2006 23:54:20 +0000 (23:54 +0000)]
Branch b1_4_mountconf

18 years agofile lustre_patchless_compat.h was added on branch b_new_cmd on 2006-08-20 13:12...
yury [Wed, 15 Feb 2006 20:27:52 +0000 (20:27 +0000)]
file lustre_patchless_compat.h was added on branch b_new_cmd on 2006-08-20 13:12:38 +0000

18 years agofile lustre_intent.h was added on branch b_new_cmd on 2006-08-20 13:12:38 +0000
yury [Wed, 15 Feb 2006 20:27:45 +0000 (20:27 +0000)]
file lustre_intent.h was added on branch b_new_cmd on 2006-08-20 13:12:38 +0000

18 years agofile platform.h was added on branch b1_4_mountconf on 2006-04-26 18:46:11 +0000
nathan [Wed, 15 Feb 2006 07:42:10 +0000 (07:42 +0000)]
file platform.h was added on branch b1_4_mountconf on 2006-04-26 18:46:11 +0000

18 years agofile platform.h was added on branch b_new_cmd on 2006-05-19 11:29:53 +0000
yury [Wed, 15 Feb 2006 07:42:09 +0000 (07:42 +0000)]
file platform.h was added on branch b_new_cmd on 2006-05-19 11:29:53 +0000

18 years agoBranch b1_4_mountconf
nathan [Tue, 14 Feb 2006 22:46:11 +0000 (22:46 +0000)]
Branch b1_4_mountconf
b=9866, 9843
9866 mount ost exclusion list:
mount -o exclude=lustre-OST0000:lustre-OST0001 -t lustre
uml1:/lustre-client /mnt/lustre
will start a client with selected osc's in "inactive" state, allowing
nonblocking (degraded) filesystem usage.
Also adds foundation for 9843 skipping of so-marked config commands.

18 years agofile ext3-tall-htree.patch was added on branch b_new_cmd on 2006-04-23 15:33:32 ...
wangdi [Tue, 14 Feb 2006 14:19:49 +0000 (14:19 +0000)]
file ext3-tall-htree.patch was added on branch b_new_cmd on 2006-04-23 15:33:32 +0000

18 years agofile ext3-htree-path.patch was added on branch b_new_cmd on 2006-04-23 15:33:32 ...
wangdi [Tue, 14 Feb 2006 14:19:48 +0000 (14:19 +0000)]
file ext3-htree-path.patch was added on branch b_new_cmd on 2006-04-23 15:33:32 +0000

18 years agofile ext3-htree-path-ops.patch was added on branch b1_4_mountconf on 2006-04-05 01...
nathan [Tue, 14 Feb 2006 14:06:21 +0000 (14:06 +0000)]
file ext3-htree-path-ops.patch was added on branch b1_4_mountconf on 2006-04-05 01:14:57 +0000

18 years agofile ext3-htree-path-ops.patch was added on branch b_new_cmd on 2006-04-14 07:37...
yury [Tue, 14 Feb 2006 14:06:20 +0000 (14:06 +0000)]
file ext3-htree-path-ops.patch was added on branch b_new_cmd on 2006-04-14 07:37:09 +0000

18 years agofile ext3-htree-r5-hash.patch was added on branch b_new_cmd on 2006-04-23 15:33:32...
wangdi [Tue, 14 Feb 2006 03:53:24 +0000 (03:53 +0000)]
file ext3-htree-r5-hash.patch was added on branch b_new_cmd on 2006-04-23 15:33:32 +0000

18 years agoBranch b1_4_mountconf
nathan [Fri, 10 Feb 2006 23:04:29 +0000 (23:04 +0000)]
Branch b1_4_mountconf
b=10164
- reinterpret failover nid list as list of nids for the one failover
- get rid of mkfs inode size warning
target, not a list of different failover targets.

18 years agoBranch b1_4_mountconf
nathan [Fri, 10 Feb 2006 17:39:36 +0000 (17:39 +0000)]
Branch b1_4_mountconf
b=8007
- change screaming plethora of debug "error" messages to loudly-shouting
plethora of debug "warn" messages.
- stop a bare MGS more quickly

18 years agoBranch b1_4_mountconf
nathan [Thu, 9 Feb 2006 23:13:23 +0000 (23:13 +0000)]
Branch b1_4_mountconf
b=10161
writeconf - all servers re-send registration info whenever they're told to
update their config logs.  MGS can then regenerate the logs for a live fs.

18 years agob=9853
yujian [Thu, 9 Feb 2006 10:54:58 +0000 (10:54 +0000)]
b=9853
add some options, providing the following functionality:
- verifying network conectivity and hostnames in the cluster
- producing HA software configuration files
- using --reformat to format Lustre target
- verbose mode

18 years agoA script for generating the Heartbeat HA software's configuration files.
yujian [Thu, 9 Feb 2006 10:45:20 +0000 (10:45 +0000)]
A script for generating the Heartbeat HA software's configuration files.

18 years agoA script for generating the Red Hat's Cluster Manager HA software's
yujian [Thu, 9 Feb 2006 10:41:48 +0000 (10:41 +0000)]
A script for generating the Red Hat's Cluster Manager HA software's
configuration files.

18 years agoBranch b1_4_mountconf
nathan [Thu, 9 Feb 2006 00:15:03 +0000 (00:15 +0000)]
Branch b1_4_mountconf
b=8007
don't set default mount opts if user specifies their own

18 years agoBranch b1_4_mountconf
nathan [Thu, 9 Feb 2006 00:05:48 +0000 (00:05 +0000)]
Branch b1_4_mountconf
b=8007
- put a sem around log writing
- get a mgc ref during process log
- try harder to reactivate a failed-connect mgs import
- be smarter about when we try to copy the mgs logs locally
- make servers always register at startup, so mgs can do some sanity checking
- groundwork for "writeconf"-like regenerate logs

18 years agofile 2.6-rhel4-kgdb-ga.patch was added on branch b_new_cmd on 2006-03-28 15:56:57...
nikita [Wed, 8 Feb 2006 19:58:56 +0000 (19:58 +0000)]
file 2.6-rhel4-kgdb-ga.patch was added on branch b_new_cmd on 2006-03-28 15:56:57 +0000

18 years agofile 2.6-rhel4-kgdb-ga.patch was added on branch b1_4_mountconf on 2006-04-05 01...
nathan [Wed, 8 Feb 2006 19:58:55 +0000 (19:58 +0000)]
file 2.6-rhel4-kgdb-ga.patch was added on branch b1_4_mountconf on 2006-04-05 01:14:57 +0000

18 years agoA script for verifying the service IP and the real interface IP
yujian [Wed, 8 Feb 2006 10:30:46 +0000 (10:30 +0000)]
A script for verifying the service IP and the real interface IP
in a remote host are in the same subnet.

18 years agoA script for Lustre cluster network verification.
yujian [Wed, 8 Feb 2006 10:29:10 +0000 (10:29 +0000)]
A script for Lustre cluster network verification.

18 years agoBranch b1_4_mountconf
nathan [Tue, 7 Feb 2006 22:49:05 +0000 (22:49 +0000)]
Branch b1_4_mountconf
b=8007
misc cleanups

18 years agoBranch b1_4_mountconf
nathan [Tue, 7 Feb 2006 19:31:26 +0000 (19:31 +0000)]
Branch b1_4_mountconf
- b=9860 change COMMON_LR to an incompat flag
- add server name to config markers
- b=9861 add lov stripe info when MDT is added
- b=9861 add workaround for dealing with extents to mkfs.lustre

18 years agoBranch b1_4_mountconf
nathan [Tue, 7 Feb 2006 00:59:59 +0000 (00:59 +0000)]
Branch b1_4_mountconf
b=9861
mballoc/extents prevent plain-ext3 pre-mount. So if pre-mount ext3 fails,
try ldiskfs pre-mount.

18 years agoBranch b1_4_mountconf
nathan [Mon, 6 Feb 2006 22:44:33 +0000 (22:44 +0000)]
Branch b1_4_mountconf
b=9861
- update mkfs opts to reflect recent lconf changes
- fix get_device_size

18 years agoBranch b1_4_mountconf
nathan [Mon, 6 Feb 2006 19:16:18 +0000 (19:16 +0000)]
Branch b1_4_mountconf
b=8007
-fix potential lbug in target_handle_connect
-connect flags cleanup
-begin porting sanity.sh

18 years agoBranch b1_4_mountconf
nathan [Fri, 3 Feb 2006 19:08:47 +0000 (19:08 +0000)]
Branch b1_4_mountconf
b=9851
reactivate MGS import if we're trying to reconnect to the import after
it has previously failed, and we want to try another "one shot" connection.

18 years agoBranch b1_4_mountconf
nathan [Fri, 3 Feb 2006 18:18:29 +0000 (18:18 +0000)]
Branch b1_4_mountconf
b=9851
copy remote MGS llogs locally onto server disks, so that servers
can start up even if the MGS is no longer present.
(Note that this leads to the possibility of servers started using
out-of-date logs, and without taking an config lock.)

18 years agoBranch b1_4_mountconf
nathan [Thu, 2 Feb 2006 01:39:37 +0000 (01:39 +0000)]
Branch b1_4_mountconf
b=4482
Problem with the mds notify method of online ost addition - lov_notify
can't notify the mds until the mds is set up, due to a check of obd_set_up
in obd_notify.  But obd_set_up isn't set until
mds_postrecov/mds_postsetup/mds_setup returns to class_setup.

(This can be seen by adding ost's before adding the mdt - the other
order doesn't have the problem because there are no osc's in the lov
during mds_postrecov at that point, so no notifies.)

So I hacked in an additional flag check to obd_notify that happens only to
be set for the mds at this point in it's life: obd_async_recov.  Don't hurt
me.

18 years agoBranch b1_4_mountconf
nathan [Wed, 1 Feb 2006 22:09:21 +0000 (22:09 +0000)]
Branch b1_4_mountconf
b=9861
add local nids to mgsnid list at runtime (for MGS's), so that we don't need
to figure out the mgsnids at mkfs.lustre time.  Now we don't need LNET at
all at mkfs time, and we always try the local MGS when running on backup
nodes as well, so this is a big win.

18 years agoBranch b1_4_mountconf
nathan [Wed, 1 Feb 2006 19:15:09 +0000 (19:15 +0000)]
Branch b1_4_mountconf
b=9861
- add failover NIDs
- some unused code cleanup

18 years agoBranch b1_4_mountconf
nathan [Tue, 31 Jan 2006 19:03:42 +0000 (19:03 +0000)]
Branch b1_4_mountconf
b=9860
interop with 1.4.6
- add "optional" lcfg command flag
- add ldd feature compat flags
- add old client connect hack