diff options
author | sos <sos@FreeBSD.org> | 2002-03-27 10:59:53 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2002-03-27 10:59:53 +0000 |
commit | 143359e9171b057813b73ea2e1fcb78f82dc2845 (patch) | |
tree | 1c719763284ac0282eb26162f42c875093bb3d45 /sbin/atacontrol/atacontrol.8 | |
parent | 3bb9163271874f3cdba2326c16e8f35837a58e79 (diff) | |
download | FreeBSD-src-143359e9171b057813b73ea2e1fcb78f82dc2845.zip FreeBSD-src-143359e9171b057813b73ea2e1fcb78f82dc2845.tar.gz |
Add support for creating/deleting ATA RAID's
Sponsored by: Advanis
Diffstat (limited to 'sbin/atacontrol/atacontrol.8')
-rw-r--r-- | sbin/atacontrol/atacontrol.8 | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/sbin/atacontrol/atacontrol.8 b/sbin/atacontrol/atacontrol.8 index 1b46de9..6d8bd53 100644 --- a/sbin/atacontrol/atacontrol.8 +++ b/sbin/atacontrol/atacontrol.8 @@ -34,7 +34,7 @@ .Sh SYNOPSIS .Nm .Aq Ar command -.Ar channel Op Ar args +.Ar args .Pp .Nm .Ic attach @@ -46,6 +46,12 @@ .Ic reinit .Ar channel .Nm +.Ic create +.Ar type [interleave] disk0 ... diskN +.Nm +.Ic delete +.Ar raid +.Nm .Ic rebuild .Ar raid .Nm @@ -56,6 +62,9 @@ .Ic info .Ar channel .Nm +.Ic cap +.Ar channel device +.Nm .Ic list .Sh DESCRIPTION .Nm @@ -92,6 +101,24 @@ initialized to the parameters the ATA driver has stored internally. Devices that has gone bad and no longer responds to the probe, or devices that has physically been removed are removed from the kernel. Likewise are devices that show up during a reset, probed and attached. +.It Ic create +Create a +.Ar type +ATA RAID. The Type can be RAID0 (stripe), RAID1 (mirror), RAID0+1 or +SPAN (JBOD). In case the RAID has a RAID0 component the +.Ar interleave +must be specified in number of sectors. The RAID will be created +of the individual disks named +.Ar disk0 ... diskN. +.Pp +Allthough the ATA driver allows for creating an ATA RAID on disks on any +controller, there are restrictions. It is only possible to boot on +an array if its either located on a "real" ATA RAID controller like +the Promise or Highpoint controllers, or if the RAID declared is of +RAID1 or SPAN type, in case of a SPAN the partition to boot must +reside on the first disk in the SPAN. +.It Ic delete +Deletes a RAID array on a RAID capable ATA controller. .It Ic rebuild Rebuild a RAID1 array on a RAID capable ATA controller. .It Ic mode @@ -113,8 +140,11 @@ and the mode will remain unchanged. .It Ic info Show info about the attached devices on the .Ar channel , -currently only the device -name and manufacture/version strings are shown. +the device name and manufacture/version strings are shown. +.It Ic cap +Show detailed info about the device on +.Ar channel device +where device is 0 for master and 1 for slave. .It Ic list Show info about all attached devices on all active controllers. .El |