version 1.6, 2013/03/02 13:20:56
|
version 1.7, 2013/03/02 13:23:44
|
Line 73 obtaining help.
|
Line 73 obtaining help.
|
search the list for the NetBSD platform on which you are using RAIDframe: |
search the list for the NetBSD platform on which you are using RAIDframe: |
port-*`${ARCH}`*@NetBSD.org. |
port-*`${ARCH}`*@NetBSD.org. |
|
|
### Caution |
*Caution*: Because RAIDframe is constantly undergoing development, some information in |
|
|
Because RAIDframe is constantly undergoing development, some information in |
|
mailing list archives has the potential of being dated and inaccurate. |
mailing list archives has the potential of being dated and inaccurate. |
|
|
3. Search the [Problem Report |
3. Search the [Problem Report |
Line 164 the RAID and:
|
Line 162 the RAID and:
|
be able to quickly reconfigure the system to boot from the remaining |
be able to quickly reconfigure the system to boot from the remaining |
component (platform dependent). |
component (platform dependent). |
|
|
 |
 |
**RAID-1 Disk Logical Layout** |
**RAID-1 Disk Logical Layout** |
|
|
Because RAID-1 provides both redundancy and performance improvements, its most |
Because RAID-1 provides both redundancy and performance improvements, its most |
Line 198 has become the de facto standard for set
|
Line 196 has become the de facto standard for set
|
2. Use the installed system on Disk0/wd0 to setup a RAID Set composed of |
2. Use the installed system on Disk0/wd0 to setup a RAID Set composed of |
Disk1/wd1 only. |
Disk1/wd1 only. |
|
|
 |
 |
**Setup RAID Set** |
**Setup RAID Set** |
|
|
3. Reboot the system off the Disk1/wd1 with the newly created RAID volume. |
3. Reboot the system off the Disk1/wd1 with the newly created RAID volume. |
Line 208 has become the de facto standard for set
|
Line 206 has become the de facto standard for set
|
**Reboot using Disk1/wd1 of RAID** |
**Reboot using Disk1/wd1 of RAID** |
|
|
|
|
4. Add / re-sync Disk0/wd0 back into the RAID set. |
4. Add/re-sync Disk0/wd0 back into the RAID set. |
|
|
 |
 |
**Mirror Disk1/wd1 back to Disk0/wd0** |
**Mirror Disk1/wd1 back to Disk0/wd0** |
Line 221 RAID level. Booting from a RAID set is a
|
Line 219 RAID level. Booting from a RAID set is a
|
boot loader to understand both 4.2BSD/FFS and RAID partitions. The 1st boot |
boot loader to understand both 4.2BSD/FFS and RAID partitions. The 1st boot |
block code only needs to know enough about the disk partitions and file systems |
block code only needs to know enough about the disk partitions and file systems |
to be able to read the 2nd stage boot blocks. Therefore, at any time, the |
to be able to read the 2nd stage boot blocks. Therefore, at any time, the |
system's BIOS / firmware must be able to read a drive with 1st stage boot blocks |
system's BIOS/firmware must be able to read a drive with 1st stage boot blocks |
installed. On the i386 platform, configuring this is entirely dependent on the |
installed. On the i386 platform, configuring this is entirely dependent on the |
vendor of the controller card / host bus adapter to which your disks are |
vendor of the controller card/host bus adapter to which your disks are |
connected. On sparc64 this is controlled by the IEEE 1275 Sun OpenBoot Firmware. |
connected. On sparc64 this is controlled by the IEEE 1275 Sun OpenBoot Firmware. |
|
|
This article assumes two identical IDE disks (`/dev/wd{0,1}`) which we are going |
This article assumes two identical IDE disks (`/dev/wd{0,1}`) which we are going |
Line 534 value).
|
Line 532 value).
|
|
|
### Initializing the RAID Device |
### Initializing the RAID Device |
|
|
Next we create the configuration file for the RAID set / volume. Traditionally, |
Next we create the configuration file for the RAID set/volume. Traditionally, |
RAIDframe configuration files belong in `/etc` and would be read and initialized |
RAIDframe configuration files belong in `/etc` and would be read and initialized |
at boot time, however, because we are creating a bootable RAID volume, the |
at boot time, however, because we are creating a bootable RAID volume, the |
configuration data will actually be written into the RAID volume using the |
configuration data will actually be written into the RAID volume using the |
Line 773 rebooted. After the reboot everything is
|
Line 771 rebooted. After the reboot everything is
|
[...snip...] |
[...snip...] |
# shutdown -r now |
# shutdown -r now |
|
|
### Warning |
*Warning*: Always use |
|
|
Always use |
|
[shutdown(8)](http://netbsd.gw.com/cgi-bin/man-cgi?shutdown+8+NetBSD-5.0.1+i386) |
[shutdown(8)](http://netbsd.gw.com/cgi-bin/man-cgi?shutdown+8+NetBSD-5.0.1+i386) |
when shutting down. Never simply use |
when shutting down. Never simply use |
[reboot(8)](http://netbsd.gw.com/cgi-bin/man-cgi?reboot+8+NetBSD-5.0.1+i386). |
[reboot(8)](http://netbsd.gw.com/cgi-bin/man-cgi?reboot+8+NetBSD-5.0.1+i386). |