Neil Brown
f1ae21c411
Arrange the 'auto' setting in mdadm.conf can choose default type.
...
So when you say auto=md or auto=part in mdadm.conf, it give a preference
for type of array, but standard name will override.
But --auto=md is more insistant.
FIXME I'm not at all happy about handling of names that already exist.
I don't think that should be removed if the device is active.
Signed-off-by: Neil Brown <neilb@suse.de>
2006-05-16 07:35:06 +00:00
Neil Brown
5bbb48424b
Allow default creation info to to be stored in mdadm.conf
...
Default owner, group, mode and 'auto' flag can be given in a 'CREATE' line.
Signed-off-by: Neil Brown <neilb@suse.de>
2006-05-15 06:02:41 +00:00
Neil Brown
a99d6b669c
Assume "DEVICE partitions" if no DEVICE line present.
...
This means the output of "mdadm -Es" can be used as a complete
mdadm.conf file .... if you really want to do that.
Signed-off-by: Neil Brown <neilb@suse.de>
2006-05-15 01:58:47 +00:00
Neil Brown
4948b8f72e
Support 'mailfrom' line in mdadm.conf so the From: line in alert emails can be explicitly set.
...
Signed-off-by: Neil Brown <neilb@suse.de>
2006-05-15 01:27:04 +00:00
Neil Brown
4ccdb95600
Use O_DIRECT to read bitmap files.
...
A pending patch to the kernel causes bitmap file updates
to not go through the page cache, so O_DIRECT is needed to
ensure that we read current data.
Signed-off-by: Neil Brown <neilb@suse.de>
2006-05-15 00:56:02 +00:00
Neil Brown
7ef02d0143
Support 'bitmap=' in mdadm.conf for auto-assembling arrays with write-intent bitmaps in separate files.
...
Signed-off-by: Neil Brown <neilb@suse.de>
2006-03-29 02:57:48 +00:00
Neil Brown
16c6fa807c
Create missing /dev files where needed.
...
Whenever we need a device file to open, if one cannot be found in /dev,
create a temporary one.
Signed-off-by: Neil Brown <neilb@suse.de>
2006-03-28 06:26:53 +00:00
Neil Brown
ce4fafd637
Allow /etc/mdadm/mdadm.conf as an alternate to /etc/mdadm.conf
...
This provide compatability with Debian.
Signed-off-by: Neil Brown <neilb@suse.de>
2005-12-09 05:01:22 +00:00
Neil Brown
8b0dabea07
Allow scanning of devices listed in /proc/partitions independant of /dev
...
If a device found in /proc/partitions isn't listed in /dev, then
mknod a temporary name and open that.
Signed-off-by: Neil Brown <neilb@suse.de>
2005-12-05 05:52:50 +00:00
Neil Brown
947fd4ddb5
Support nameing of version-1 arrays.
...
--name is recognised in --create and --assemble
name= is recognised in config file.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-09 05:23:20 +00:00
Neil Brown
f277ce3671
Assorted Fixes for multiple bugs.
...
Assemble would crash, or just not work.
A few other problem found by a new test-suite.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-04 04:41:12 +00:00
Neil Brown
1337546dc1
Allow --auto to still be meaningful when --scan is given
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-14 06:33:02 +00:00
Neil Brown
92919398cc
Initialise mis.next to NULL
...
Probably not needed, but safer.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-14 06:32:52 +00:00
Neil Brown
82d9eba687
super1
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Fix raid5 creation with new code.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-05-03 23:44:40 +00:00
Neil Brown
f9ce90ba50
Add a 'super-switch' so that different format superblocks can be used.
...
This includes:
adding --metadata= option to choose metadata format
adding metadata= word to config file.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-05-03 23:44:32 +00:00
Neil Brown
b568741513
Fix "--config=partitions" which was broken.
...
"devline" wants a list of words, not a whole line...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:44:43 +00:00
Neil Brown
057bd352c2
Reread partitions file for each array being assembled.
...
This makes assembling arrays from other arrays work better.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:16:22 +00:00
Neil Brown
e5329c3747
mdadm-1.7.0
2004-08-11 02:16:01 +00:00
Neil Brown
dd0781e505
mdadm-1.6.0
2004-06-04 12:03:19 +00:00
Neil Brown
98c6faba80
mdadm-1.5.0
2004-01-22 02:10:29 +00:00
Neil Brown
feb716e9c3
mdadm-1.4.0
2003-10-28 23:20:01 +00:00
Neil Brown
d013a55e94
mdadm-1.1.0
2003-03-02 23:11:38 +00:00
Neil Brown
5787fa4906
mdadm-1.0.9
2003-02-12 00:17:26 +00:00
Neil Brown
b83d95f362
mdadm-0.8.2
2002-04-11 01:36:14 +00:00
Neil Brown
e0d1903663
mdadm-0.8
2002-04-04 01:58:32 +00:00
Neil Brown
11a3e71da4
mdadm-0.7.2
2002-03-20 22:39:50 +00:00
Neil Brown
9a9dab3670
mdadm-0.7
2002-03-08 00:03:52 +00:00
Neil Brown
cd29a5c835
mdctl-0.6
2002-03-06 23:17:40 +00:00
Neil Brown
5282684628
mdctl-0.5
2001-08-23 02:33:20 +00:00
Neil Brown
0db17fcbde
mdctl-v0.4.2
2001-07-26 20:47:22 +00:00
Neil Brown
82b27616de
mdctl-v0.4
2001-07-26 07:00:09 +00:00
Neil Brown
64c4757e27
mdctl-v0.2
2001-06-08 02:36:23 +00:00