]> git.proxmox.com Git - mirror_zfs-debian.git/blob - scripts/zpool-config/hda-raid0.sh
Imported Upstream version 0.6.4.2
[mirror_zfs-debian.git] / scripts / zpool-config / hda-raid0.sh
1 #!/bin/bash
2 #
3 # Single disk /dev/hda Raid-0 Configuration
4 #
5
6 DEVICES="/dev/hda"
7
8 zpool_create() {
9 msg ${ZPOOL} create ${ZPOOL_FLAGS} ${ZPOOL_NAME} ${DEVICES}
10 ${ZPOOL} create ${ZPOOL_FLAGS} ${ZPOOL_NAME} ${DEVICES} || exit 1
11 }
12
13 zpool_destroy() {
14 msg ${ZPOOL} destroy ${ZPOOL_NAME}
15 ${ZPOOL} destroy ${ZPOOL_NAME} || exit 1
16 }