~ubuntu-branches/ubuntu/hardy/mdadm/hardy-updates

« back to all changes in this revision

Viewing changes to tests/00raid6

  • Committer: Package Import Robot
  • Author(s): Scott James Remnant
  • Date: 2006-07-11 17:23:21 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20060711172321-070tz7lox9adujtw
Tags: 2.4.1-6ubuntu1
* Merge from debian unstable, remaining changes:
  - integration with initramfs-tools,
  - autocreate devices when udev is in use,
  - use lstat in mdopen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
# create a simple raid6 set
 
3
 
 
4
mdadm -CfR $md0 -l 6 -n4 $dev0 $dev1 $dev2 $dev3 
 
5
check resync ; check raid6
 
6
testdev $md0 2 $mdsize0 64
 
7
mdadm -S $md0
 
8
 
 
9
# now with version-1 superblock
 
10
mdadm -CR $md0 -e1 --level=raid6 -n5 $dev0 $dev1 $dev2 $dev3 $dev4 
 
11
check resync ; check raid6
 
12
testdev $md0 3 $mdsize1 64
 
13
mdadm -S $md0
 
14
 
 
15
 
 
16
exit 0