Hello, I seem to remember a similar question being asked in the past. But never really saw a definitive answer to it. So let's try it again. :) I'm looking to upgrade all our servers to 7 in the not-to-distant future. As I look to overcome the quirks in 7 as they apply to our hardware (I'm already testing it on one of our not-so prominent servers). We have a mail server with an Adaptec SCSI chip with 2 ULTRA-160 ports. The primary port runs the booted 6.2 on the only HD on that port. The other devices on that chain are accessories, such as tape, etc... The other port has 3 HD's on it, all of which are of equal size and model. Which go unused. I had originally intended to create a raid mirror on the whole lot of HD's during the install process. But I wasn't presented, nor could I find that option during install. So, due to lack of time, pushed it off till later, and simply installed onto the one HD. Now to my question(s)... Where is the option to create, and install to a gMIRRORED drive-set? If not, why? If not, it possible to install to one drive, mirror all available drives with the data on the installed drive? Please note, 1) I have examined the gmirror (and related mirror) info I could find. But given that much of this is a rapidly evolving area in FBSD (in 7 especially) I thought it was worth asking here. 2) In my cases above, I'm interested in RAID-0 (mirroring for /volume/ not redundancy). Thank you very much for all your time and consideration. Chris -- panic: kernel trap (ignored)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chris H. wrote:> Where is the option to create, and install to a gMIRRORED drive-set? > If not, why? > If not, it possible to install to one drive, mirror all available drives > with > the data on the installed drive?sysinstall does not provide any simple method of setting up a gmirror RAID-1 itself, but it is fairly easy to escape from the installer and type in a few shell commands to set such a thing up. There are instructions here: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Yes, you can convert a drive with a plain vanilla install of FreeBSD on it into part of a gmirror setup easily and without having to worry about rebuilding filesystems. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHe2Op8Mjk52CukIwRCHlZAJ4njIkbhvqNu1b/KmonuuFIfmr6WgCfet5g C25NHpDKIPfUYLFU6ay9T08=jvLD -----END PGP SIGNATURE-----
Quoting "Chris H." <chris#@1command.com>:> Hello, > I seem to remember a similar question being asked in the past. But never---8<---snip---8<---> I had originally intended to create a raid mirror on the whole lot of HD's > during the install process. But I wasn't presented, nor could I find that > option during install. So, due to lack of time, pushed it off till later, > and simply installed onto the one HD. Now to my question(s)... > > Where is the option to create, and install to a gMIRRORED drive-set?---8<---snip---8<---> 2) In my cases above, I'm interested in RAID-0 (mirroring for /volume/ > not redundancy). >OK, my mistake... Seems for my application (RAID0), *gstripe* is what I should be using. Q: But RAID0 provides 0 redundancy. How will you cope with data loss? A: Complete backups occur twice daily and I (we) use IP RAID0 - eg; 2 different servers have/provide the same data, and the DNS provides "round-robin". Thereby spreading the requests roughly equal across both servers. So, given my new found knowledge. I felt I should probably ask before potentially clobbering (breaking) the server I'll be attempting this on. Will the following accomplish my goal? Current setup: /dev indicates the following: da0, da0c, da0cs1, da0s1, da0s1c da1, da1c, da1cs1, da1s1, da1s1c da2, da2c, da2cs1, da2s1, da2s1c ...and the following, which FreeBSD is installed on: da3, da3s1, da3s1a, da3s1b, da3s1c, da3s1d All drives are of same size/make/model. Given the above, I intend to issue the following: # gstripe label -v -s 131072 bigstripe \ /dev/da0 /dev/da1 /dev/da2 /dev/da3 # newfs -U /dev/stripe/bigstripe # mount /dev/stripe/bigstripe /bigstripe # echo 'geom_stripe_load="YES"' >> /boot/loader.conf # echo '/dev/stripe/bigstripe /bigstripe ufs rw 2 2' >> /etc/fstab Or do/should I issue: # gconcat label -v extradisks /dev/da0 /dev/da1 /dev/da2 # gstripe label -v bigstripe /dev/da3 /dev/concat/extradisks # bsdlabel -wB /dev/stripe/bigstripe # newfs -U /dev/stripe/bigstripe # mount /dev/stripe/bigstripe /bigstripe Thank you for all your time and consideration. Chris P.S. I know this is a bit noisy. I intend to keep it brief. Thank you for your understanding. :)> -- > panic: kernel trap (ignored) > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >-- panic: kernel trap (ignored)