]> git.ipfire.org Git - thirdparty/mdadm.git/blame_incremental - tests/00raid4
Assemble: close mdfd before returning from assemble_container_content
[thirdparty/mdadm.git] / tests / 00raid4
... / ...
CommitLineData
1
2# create a simple raid4 set
3
4mdadm -CfR $md0 -l 4 -n3 $dev0 $dev1 $dev2
5check resync ; check raid[45]
6testdev $md0 2 $mdsize0 64
7mdadm -S $md0
8
9# now with version-1 superblock
10mdadm -CR $md0 -e1 --level=raid4 -n4 $dev0 $dev1 $dev2 $dev3
11check recovery; check raid[45]
12testdev $md0 3 $mdsize1 64
13mdadm -S $md0
14
15
16exit 0