From 22372779e59998ec6a0a5be2cb59b2b090af6bdc Mon Sep 17 00:00:00 2001 From: sbruno Date: Fri, 8 Mar 2013 20:07:32 +0000 Subject: 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 --- sbin/geom/class/raid/graid.8 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sbin/geom') 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. -- cgit v1.1