summaryrefslogtreecommitdiffstats
path: root/sbin/geom
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2013-03-08 20:07:32 +0000
committersbruno <sbruno@FreeBSD.org>2013-03-08 20:07:32 +0000
commit22372779e59998ec6a0a5be2cb59b2b090af6bdc (patch)
treee69c60001dd27da2d5f9780e593c3d6d30ab0738 /sbin/geom
parent0119fcdaa7209e6b01db9cd061d739cb74e12a22 (diff)
downloadFreeBSD-src-22372779e59998ec6a0a5be2cb59b2b090af6bdc.zip
FreeBSD-src-22372779e59998ec6a0a5be2cb59b2b090af6bdc.tar.gz
Add legacy support to geom raid to create a /dev/arX device for support
of upgrading older machines using ataraid(4) to newer releases. This optional parameter is controlled via kern.geom.raid.legacy_aliases and will create a /dev/ar0 device that will point at /dev/raid/r0 for example. Tested on Dell SC 1425 DDF-1 format software raid controllers installing from stable/7 and upgrading to stable/9 without having to adjust /etc/fstab Reviewed by: mav Obtained from: Yahoo! MFC after: 2 Weeks
Diffstat (limited to 'sbin/geom')
-rw-r--r--sbin/geom/class/raid/graid.83
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/geom/class/raid/graid.8 b/sbin/geom/class/raid/graid.8
index ed33e00..4af4125 100644
--- a/sbin/geom/class/raid/graid.8
+++ b/sbin/geom/class/raid/graid.8
@@ -305,6 +305,9 @@ Write errors are always considered as disk failures.
Time to wait for missing array components on startup.
.It Va kern.geom.raid. Ns Ar X Ns Va .enable : No 1
Enable taste for specific metadata or transformation module.
+.It Va kern.geom.raid.legacy_aliases : No 0
+Enable geom raid emulation of /dev/ar%d devices from ataraid(4)
+This should aid the upgrade of systems from legacy to modern releases.
.El
.Sh EXIT STATUS
Exit status is 0 on success, and non-zero if the command fails.
OpenPOWER on IntegriCloud