summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2003-12-14 09:42:02 +0000
committerseanc <seanc@FreeBSD.org>2003-12-14 09:42:02 +0000
commit1c8d05b28c2a5827eaedf11783287a04a3c7a215 (patch)
tree66ec2b98ebb6dc1881598c939bc1748c06253935 /etc/defaults
parentfe983d426042f04e5140b9bf4b5278500a50a1df (diff)
downloadFreeBSD-src-1c8d05b28c2a5827eaedf11783287a04a3c7a215.zip
FreeBSD-src-1c8d05b28c2a5827eaedf11783287a04a3c7a215.tar.gz
Add a script that allows software RAID sets to be created before file
systems are mounted. An example set of entries for /etc/rc.conf: ataraid_enable="YES" ataraid_devices="ar0" ataraid_ar0_set="ad2 ad3" ataraid_ar0_type="RAID1" Because there is no "correct" way of doing ATA raid (ie, geom vs. atacontrol vs. vinum) that is bikeshed proof, this rcng script stays within the bounds of atacontrol and assumes that other RAID solutions for GEOM or vinum will end up in a different rcNG script. Reviewed by: green
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index bf013d4..948e50f 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -53,6 +53,18 @@ netfs_types="nfs:NFS smbfs:SMB portalfs:PORTAL nwfs:NWFS" # Net filesystems.
extra_netfs_types="NO" # List of network extra filesystem types for delayed
# mount at startup (or NO).
+# ATA RAID support for startup
+# Example config for a RAID1 set:
+# ataraid_ar0_set="ad2 ad3" # Creates the RAID set from these drives
+# ataraid_ar0_type="RAID1" # RAID type for ar0
+ataraid_create_flags="create" # Flags needed to create a RAID set.
+ataraid_delete_flags="delete" # Flags needed to delete a RAID set.
+ataraid_status_flags="status" # Flags needed to get the status on a RAID set.
+ataraid_devices="" # List of the ata RAID devices. ex: "ar0"
+ataraid_enable="NO" # Enable software ATA raid support
+ataraid_program="/sbin/atacontrol" # Path to ata raid program.
+
+
##############################################################
### Network configuration sub-section ######################
##############################################################
OpenPOWER on IntegriCloud