- ${ZPOOL_CREATE_SH} -p ${POOL_NAME2} -c lo-raidz2 || fail 3
- ${ZFS} create -V 300M ${FULL_ZVOL_NAME1} || fail 4
-
- # Partition the volume, for a 300M volume there will be
- # 609 cylinders, 16 heads, and 63 sectors per track.
- zconfig_partition /dev/zvol/${FULL_ZVOL_NAME1} 0 609
-
- # Format the partition with ext2.
- /sbin/mkfs.ext2 -q /dev/zvol/${FULL_ZVOL_NAME1}-part1 || fail 5
+ ${ZPOOL_CREATE_SH} -p ${POOL_NAME2} -c lo-raidz2 || fail 2
+ ${ZFS} create -V 300M ${FULL_ZVOL_NAME1} || fail 3
+ label /dev/zvol/${FULL_ZVOL_NAME1} msdos || fail 4
+ partition /dev/zvol/${FULL_ZVOL_NAME1} primary 1 -1 || fail 4
+ format /dev/zvol/${FULL_ZVOL_NAME1}-part1 ext2 || fail 5