Whamcloud - gitweb
brian [Fri, 16 Jun 2006 20:27:51 +0000 (20:27 +0000)]
The mkfs_options are I guess more properly mkfs parameters and need to be
included, wrapped with --param="" in the format options.
brian [Fri, 16 Jun 2006 19:31:34 +0000 (19:31 +0000)]
mkfs options needs to be passed to mkfs.lustre inside of --param="". I
wonder if lustre_config.sh shouldn't do this wrapping for us before passing
to mkfs.lustre.
brian [Fri, 16 Jun 2006 18:57:41 +0000 (18:57 +0000)]
VS: Branch b1_5
Off-by-one in the OST entries.
brian [Fri, 16 Jun 2006 17:29:16 +0000 (17:29 +0000)]
Quiet perl down a bit.
brian [Fri, 16 Jun 2006 16:53:33 +0000 (16:53 +0000)]
Allow the caller to specify where the mounts on the nodes should be done.
Remove that silly "main()" function.
yujian [Fri, 16 Jun 2006 16:06:27 +0000 (16:06 +0000)]
b=9853
1) Remove "-d opts" option, as mentioned in comment #96 of bug9853, using "mount options" field in the csv file to specify the options to be added into /etc/fstab.
2) Also, change the meaning of "-m" option to "don't modify /etc/fstab". If using this option, then the value of "mount options" field will be passed to mkfs.lustre instead of being added into /etc/fstab.
yujian [Fri, 16 Jun 2006 13:53:40 +0000 (13:53 +0000)]
b=9863
"extents,mballoc" are default mount options of OST with ldiskfs.
yujian [Fri, 16 Jun 2006 10:38:56 +0000 (10:38 +0000)]
After adding the vim modeline into this file, the indentations of it became a bit mess due to my mix-using spaces and tabs originally. This version is neatly arranged.
brian [Fri, 16 Jun 2006 00:29:07 +0000 (00:29 +0000)]
Have to include the contents of man_MANS in EXTRA_DIST, not just a reference
to it. This is because man_MANS is conditional on building the utils but
even if the tree is configure without utils, it should not prevent the utils
files from being put in the "dist" tarball.
nathan [Thu, 15 Jun 2006 22:20:49 +0000 (22:20 +0000)]
Branch b1_5
b=9861
- turn on extents, mballoc on OSTs by default
- don't try to pre-check lustre/llite/ldiskfs options in mount.lustre.
Instead, just let the mount call fail.
nathan [Thu, 15 Jun 2006 20:55:21 +0000 (20:55 +0000)]
Branch b1_5
b=8216
put mount.lustre.8 back
nathan [Thu, 15 Jun 2006 20:51:37 +0000 (20:51 +0000)]
Branch b1_5
b=8216
add mount.lustre man page
brian [Thu, 15 Jun 2006 20:27:23 +0000 (20:27 +0000)]
Remove mount.lustre.8 until the file shows up. Probably just a forgotten
cvs new on it, but this is breaking builds.
brian [Thu, 15 Jun 2006 19:40:43 +0000 (19:40 +0000)]
Quick hack to be able to define the options in the /etc/fstab for the lustre
filesystem added.
Probably some logic could be added in get_mntopts to detect the failover
option and only add noauto if it was not added by the command line argument.
nathan [Thu, 15 Jun 2006 18:52:20 +0000 (18:52 +0000)]
Branch b1_5
b=8216
man pages for mkfs.lustre, tunefs.lustre, mount.lustre, and Lustre
brian [Thu, 15 Jun 2006 03:01:14 +0000 (03:01 +0000)]
Don't format devices. This hack will be replaced by a command line switch
in lustre_config.sh to ask for a "no format, but configure" operation.
nathan [Thu, 15 Jun 2006 00:11:52 +0000 (00:11 +0000)]
Branch b1_5
b=8007
remove some non-applicable options from tunefs
nathan [Thu, 15 Jun 2006 00:05:44 +0000 (00:05 +0000)]
Branch b1_5
b=8007
add a tunefs.lustre manpage
nathan [Wed, 14 Jun 2006 23:28:53 +0000 (23:28 +0000)]
Branch b1_5
b=8007
oooh, a man page.
brian [Wed, 14 Jun 2006 22:03:42 +0000 (22:03 +0000)]
The start of a script to convert lmc "batch" specifications to the CSV
format used by the lustre_config.sh script to configure lustre.
The number of lmc options the script understands currently seems to cover
ltest's lmc batch generation.
This is the "cheap way" to get ltest to do mountconf and be able to do full
testing on b1_5 and has the added benefit of testing the lustre_config.sh
scripts while it's at it.
Note, that arguably we should be parsing the XML, not lmc batch commands.
Fortunately the way the script works, changing out parsing of lmc commands
for parsing XML is easy to do and will still work with the backend CSV
generation.
green [Wed, 14 Jun 2006 20:57:09 +0000 (20:57 +0000)]
b=6062
r=adilger(original author)
SPEC SFS NFS v2 validation failure fix - make blocksize constant at 2*RPC size.
green [Wed, 14 Jun 2006 20:26:10 +0000 (20:26 +0000)]
patchless support.
nathan [Wed, 14 Jun 2006 19:55:38 +0000 (19:55 +0000)]
Branch b1_5
b=8007
mtab must be checked before writing anything.
we no longer need the loopback setup for reading.
brian [Tue, 13 Jun 2006 19:05:14 +0000 (19:05 +0000)]
Some safety so that DEVICE_NAME[i] being "/dev/loop1" doesn't delete an
fstab entry with a device of "/dev/loop11".
brian [Tue, 13 Jun 2006 15:49:29 +0000 (15:49 +0000)]
Whitespace consistency. I believe our standard is 4 spaces for indentation,
no hard tabs.
yujian [Tue, 13 Jun 2006 13:57:53 +0000 (13:57 +0000)]
b=9863
Use debugfs instead of mounting the target device to read the Lustre data files.
vitaly [Sun, 11 Jun 2006 16:54:36 +0000 (16:54 +0000)]
Merge b1_5 from b1_4 (20060607_2142)
yujian [Sun, 11 Jun 2006 10:45:02 +0000 (10:45 +0000)]
b=9863
Add figure_journal_size() to get the default journal size of lustre target.
nathan [Fri, 9 Jun 2006 23:11:05 +0000 (23:11 +0000)]
Branch b1_5
b=9860
better errors
nathan [Fri, 9 Jun 2006 23:10:00 +0000 (23:10 +0000)]
Branch b1_5
b=9860
Add upgrade helper script per Andreas' suggestion
nathan [Fri, 9 Jun 2006 19:29:43 +0000 (19:29 +0000)]
Branch b1_5
b=8007
Better error message for wrong fsname
nathan [Fri, 9 Jun 2006 18:05:04 +0000 (18:05 +0000)]
Branch b1_5
b=8007
remove lmc and lconf man pages
allow setting fsname before target type
yujian [Fri, 9 Jun 2006 11:26:08 +0000 (11:26 +0000)]
b=9853
Repeat "--mgsnode=" or "--failnode=" keyword to delimit multiple mgs nodes or failover nodes.
lsy [Fri, 9 Jun 2006 02:04:46 +0000 (02:04 +0000)]
fix for the reply offset, found in sanity.sh 75.
nathan [Thu, 8 Jun 2006 22:15:23 +0000 (22:15 +0000)]
Branch b1_5
b=9858
more test fixes
nathan [Thu, 8 Jun 2006 21:52:59 +0000 (21:52 +0000)]
Branch b1_5
b=9858
more test fixes
nathan [Thu, 8 Jun 2006 17:02:25 +0000 (17:02 +0000)]
b=10425
lnet_nid2str() should never do hostname lookups
b=10515
resolve hostname for all nettypes in mkfs.lustre and mount.lustre using
the above functionality
nathan [Thu, 8 Jun 2006 16:17:45 +0000 (16:17 +0000)]
Branch b1_5
b=9858
full ost tests don't work on uml
yujian [Thu, 8 Jun 2006 09:46:49 +0000 (09:46 +0000)]
b=9863
If the target service is a failover partner service, then add "--noformat" option.
nathan [Wed, 7 Jun 2006 23:29:15 +0000 (23:29 +0000)]
Branch b1_5
b=9858
- add ogdb debug file
- load modules from setup if needed
nathan [Tue, 6 Jun 2006 22:35:11 +0000 (22:35 +0000)]
b=8007
- change module name from "llite.ko" to "lustre.ko" (r=adilger)
- drop ldap and python from rpms
- remove initd scripts from rpms
- remove old cluster_scripts dir
nathan [Mon, 5 Jun 2006 20:55:32 +0000 (20:55 +0000)]
Branch b1_5
b=9858
make "-v" verbose option work
nathan [Mon, 5 Jun 2006 19:51:38 +0000 (19:51 +0000)]
Branch b1_5
b=8007
No more lustre init scripts. Mount it in fstab.
nathan [Mon, 5 Jun 2006 19:30:18 +0000 (19:30 +0000)]
Branch b1_5
nathan [Mon, 5 Jun 2006 18:32:01 +0000 (18:32 +0000)]
Branch b1_5
b=9858
setup for other acceptance-small tests
qiyong [Mon, 5 Jun 2006 09:44:24 +0000 (09:44 +0000)]
warning fix: lload_SOURCES multiply defined
yujian [Mon, 5 Jun 2006 09:03:59 +0000 (09:03 +0000)]
b=9863
1) Support getting --param="<key>=<value>" format options.
2) Convert IP addresses in MGS nids into hostnames.
3) Get CluManager configurations.
yujian [Mon, 5 Jun 2006 09:00:11 +0000 (09:00 +0000)]
b=9853
Support --param="<key>=<value>" format options.
yujian [Sun, 4 Jun 2006 11:40:41 +0000 (11:40 +0000)]
b=9863
Get lnet module options without start and end markers.
yujian [Sun, 4 Jun 2006 07:31:39 +0000 (07:31 +0000)]
b=9853
Fix a bug - "Device does not exist for Service".
nathan [Fri, 2 Jun 2006 23:01:09 +0000 (23:01 +0000)]
Branch b1_5
b=10510
allow client remount
fix up broken mtab options code
nathan [Fri, 2 Jun 2006 19:24:51 +0000 (19:24 +0000)]
Branch b1_5
b=10586
Removed the few bits of code assuming a single MGC. Now, name MGCs with the
first NID of the MGS they point to; start a new MGC if the name doesn't exist.
This allows maximal re-use of the MGC (all servers/clients pointing to the same
MGS), but also allows connects to new MGSs as needed.
yujian [Fri, 2 Jun 2006 10:34:51 +0000 (10:34 +0000)]
Add Lustre cluster scripts.
yujian [Fri, 2 Jun 2006 10:22:20 +0000 (10:22 +0000)]
b=9863
Script to generate a csv file from a running lustre cluster.
yujian [Fri, 2 Jun 2006 10:21:21 +0000 (10:21 +0000)]
b=9853
Script to verify the service IP and the real interface IP in a remote host are in the same subnet.
yujian [Fri, 2 Jun 2006 10:19:54 +0000 (10:19 +0000)]
b=9853
Script to generate the Red Hat Cluster Manager HA software's configuration files.
yujian [Fri, 2 Jun 2006 10:18:46 +0000 (10:18 +0000)]
b=9853
Script to create mon.cf file for Heartbeat.
yujian [Fri, 2 Jun 2006 10:17:20 +0000 (10:17 +0000)]
b=9853
Script to generate the Heartbeat HA software's configuration files.
yujian [Fri, 2 Jun 2006 10:16:05 +0000 (10:16 +0000)]
b=9853
Script to verify Lustre cluster network connectivity.
yujian [Fri, 2 Jun 2006 10:14:30 +0000 (10:14 +0000)]
b=9853
Script to add lustre module options into modprobe.conf/modules.conf.
yujian [Fri, 2 Jun 2006 10:13:16 +0000 (10:13 +0000)]
b=9853
Script to format and set up multiple lustre servers from a csv file.
qiyong [Thu, 1 Jun 2006 15:38:41 +0000 (15:38 +0000)]
Fix changes on dcache.h. Compile OK with both gcc-3.4 and gcc-4.0 now.
yujian [Thu, 1 Jun 2006 09:45:09 +0000 (09:45 +0000)]
b=9853
Fixed a syntax error.
yujian [Thu, 1 Jun 2006 09:36:24 +0000 (09:36 +0000)]
b=9853
1) modify check_mgs() and check_lnet() to support MGS failover nodes
2) add a config example with failover osts and failover combo mgs/mdt
wangdi [Thu, 1 Jun 2006 08:04:36 +0000 (08:04 +0000)]
Branch: b1_5
Few fixes about fc5 build according to Andreas's advices
wangdi [Wed, 31 May 2006 23:22:23 +0000 (23:22 +0000)]
Branch: b1_5
remove vfs_intent_fix patch, which broke gcc3 build
wangdi [Wed, 31 May 2006 22:37:32 +0000 (22:37 +0000)]
Branch: b1_5
revert wantied patch to rhel4 in fc5 series, since we have dentry_parms
in this kernel series
qiyong [Wed, 31 May 2006 18:32:30 +0000 (18:32 +0000)]
fix for gcc4 otherwise we get "invalid storage class".
qiyong [Wed, 31 May 2006 17:35:00 +0000 (17:35 +0000)]
Backout changes on dcache.h. Compile OK with gcc 4.0.3 now.
nathan [Wed, 31 May 2006 17:11:41 +0000 (17:11 +0000)]
Branch b1_5
b=9861
Add failout option (mkfs.lustre --param="failmode=failout")
wangdi [Wed, 31 May 2006 14:22:53 +0000 (14:22 +0000)]
Branch: b1_5
some tmp fixes in target.in for build lustre fc5 rpm
brian [Wed, 31 May 2006 13:37:56 +0000 (13:37 +0000)]
Revert. Nested conditionals are supposed to work according to the automake
documentation, but in reality they don't. More likely, I am just not doing
it right, or understanding. :-(
wangdi [Wed, 31 May 2006 09:26:59 +0000 (09:26 +0000)]
Branch: b1_5
minor fix in vfs_intent for fc5
brian [Wed, 31 May 2006 09:19:20 +0000 (09:19 +0000)]
Only build llver* if the ext2fs/ext2fs.h header is present.
wangdi [Wed, 31 May 2006 08:39:34 +0000 (08:39 +0000)]
Branch: b1_5
add fc5 target
wangdi [Wed, 31 May 2006 08:29:07 +0000 (08:29 +0000)]
Branch: b1_5
add fc5 target in lustre-core.m4
wangdi [Wed, 31 May 2006 08:06:56 +0000 (08:06 +0000)]
Branch: b1_5
add kernel config for fc5
lsy [Wed, 31 May 2006 04:28:16 +0000 (04:28 +0000)]
remove obsolete definitions.
wangdi [Wed, 31 May 2006 03:59:04 +0000 (03:59 +0000)]
Branch: b1_5
add kernel config for fc5
wangdi [Wed, 31 May 2006 03:40:04 +0000 (03:40 +0000)]
Branch: b1_5
serval fixes about fc5 lustre
nathan [Wed, 31 May 2006 00:10:28 +0000 (00:10 +0000)]
Branch b1_5
b=9853
change 'noformat' short option to 'n' to match mkfs.ext3 for Andreas' sanity.
brian [Wed, 31 May 2006 00:09:56 +0000 (00:09 +0000)]
Distribute the cluster_scripts in the release.
nathan [Wed, 31 May 2006 00:09:22 +0000 (00:09 +0000)]
Branch b1_5
b=9853
add llite alias to modprobe.conf
nathan [Tue, 30 May 2006 22:57:01 +0000 (22:57 +0000)]
Branch b1_5
add --noformat alias for --print
ericm [Tue, 30 May 2006 20:48:22 +0000 (20:48 +0000)]
branch: b1_5
xattr_acl_size() instead of acl_xattr_size()
nathan [Tue, 30 May 2006 20:16:21 +0000 (20:16 +0000)]
Branch b1_5
b=9853
Improve some of the help text
nathan [Tue, 30 May 2006 19:47:06 +0000 (19:47 +0000)]
b=9858
-Add the ability to fail reconnection of a live client. In the case where a
single host runs both an MGS and other Lustre services, a failed MGS would
block startup of the other services. Now, the MGC will time out. (insanity
now passes all tests.)
-The export ref for a config lock update wasn't taken at a
safe time; fixed that.
wangdi [Tue, 30 May 2006 18:10:11 +0000 (18:10 +0000)]
Branch: b1_5
work around ia_attr_flags for fc5 build
wangdi [Tue, 30 May 2006 17:10:52 +0000 (17:10 +0000)]
Branch: b1_5
fix fc5 build problems in b1_5
scjody [Tue, 30 May 2006 16:09:20 +0000 (16:09 +0000)]
Branch b1_5
r=adilger
Move #define OBD_CONNECT_EMPTY to the end for consistency.
wangdi [Tue, 30 May 2006 16:03:20 +0000 (16:03 +0000)]
Branch: b1_5
1)remove ldiskfs patch from kernel series
2)add fc5 support in build
wangdi [Tue, 30 May 2006 15:54:15 +0000 (15:54 +0000)]
Branch: b1_5
port patches for fc5 kernel
scjody [Tue, 30 May 2006 02:02:30 +0000 (02:02 +0000)]
Merge b1_5 from b1_4 (20060524_0846)
yujian [Mon, 29 May 2006 14:11:05 +0000 (14:11 +0000)]
b=9863
Script to generate a csv file from a running lustre cluster.
yujian [Mon, 29 May 2006 14:04:18 +0000 (14:04 +0000)]
b=9853
Script to generate the mon.cf file, derived from bug10474.
yujian [Mon, 29 May 2006 14:00:11 +0000 (14:00 +0000)]
add "mount point" field
yujian [Mon, 29 May 2006 13:56:09 +0000 (13:56 +0000)]
b=9853
1) use ssh instead of pdsh
2) modify to support monitoring multiple services in one failover group
3) create service symlinks from /etc/init.d/lustre for Lustre targets
yujian [Mon, 29 May 2006 13:48:17 +0000 (13:48 +0000)]
b=9853
1) use ssh instead of pdsh
2) generate Heartbeat v1 + Mon and Heartbeat v2 configuration files
according to new steps described in bug10474 and bug10370
yujian [Mon, 29 May 2006 13:42:39 +0000 (13:42 +0000)]
b=9853
1) use ssh instead of pdsh
yujian [Mon, 29 May 2006 13:40:48 +0000 (13:40 +0000)]
b=9853
1) use ssh instead of pdsh
2) modify to avoid verifying the same hostnames repeatedly