12 mdconfig -a -t malloc -s 1M -u $us0 || exit 1
13 mdconfig -a -t malloc -s 2M -u $us1 || exit 1
14 mdconfig -a -t malloc -s 3M -u $us2 || exit 1
16 graid3 label $name /dev/md${us0} /dev/md${us1} /dev/md${us2} 2>/dev/null || exit 1
19 # Size of created device should be 2MB - 1024B.
21 mediasize=`diskinfo /dev/raid3/${name} | awk '{print $3}'`
22 if [ $mediasize -eq 2096128 ]; then
27 sectorsize=`diskinfo /dev/raid3/${name} | awk '{print $2}'`
28 if [ $sectorsize -eq 1024 ]; then