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