bewbie - can you treat two hard disks as one drive?

bewbie - can you treat two hard disks as one drive?

Post by NotGive » Mon, 26 Dec 2005 22:59:17


I am new to FreeBSD and *nix as well. I have two hard disks and want to
figure out how to use them efficiently.

I will install Apache, MySQL and PHP.

Should I keep them as two separate drives or, if possible(see above
question), treat them as one drive?

Best way to install Apache/MySQL/PHP?

Thanks.
 
 
 

bewbie - can you treat two hard disks as one drive?

Post by bas » Tue, 27 Dec 2005 00:17:24

You can combine your disks in software as mirrored, striped, raid3,
raid5 or simply concatenated disks. Look for information on either
gvinum or the geom tools called gstripe, gmirror, and graid3. Unless
you really need these now, you might want to wait until you are
comfortable with creating Freebsd slices and partition. See the
relevant sections of the handbook, in which gvinum goes by its old
name, vinum. See also the ports/packages section of the FreeBSD
handbook for installing Apache/MySQL/PHP.

http://www.yqcomputer.com/

 
 
 

bewbie - can you treat two hard disks as one drive?

Post by bv » Tue, 27 Dec 2005 00:25:01

In article <9yxrf.2810$ XXXX@XXXXX.COM >,





Forget the multiple drive ideas that you see in the MS world
with a 'root' on each drive.

In Unix drives can be mounted anywhere they are needed. They can
be mounted under directories off of / or anywhere in the tree
hierarchy that will need them. Separate mounted drives are just
there - and they won't look like separate drives unless you
perform something such as 'df' to see all the mounted filesystesmmounted
drives are just there - and they won't look like separate drives
unless you perform something such as 'df' to see all the mounted
filesystems.

It might have helped if you indicated the size of your hard drives.

And the best way to install the applications you mention are to
just install them from the /usr/ports hierarchy

Bill
--
Bill Vermillion - bv @ wjv . com
 
 
 

bewbie - can you treat two hard disks as one drive?

Post by jpd » Tue, 27 Dec 2005 06:21:35

Begin <9yxrf.2810$ XXXX@XXXXX.COM >

[...]

Like Bill said, the micros~1 approach will do you no good here. There
are a myriad of ways to combine disks and parts of disks in useful
fashions. How exactly to go about it depends on what you want to
achieve. To illustrate:

You can concatenate the two disks so that they appear as one physical
drive. This gives you double the space but if one breaks you lose all
data on both drives. You can mirror the drives, giving storing identical
data on both drives, and if one breaks you still have the other, but you
just halved your total data storage. There are more possibilities. Ask
yourself what is the most important to you.

If you are new to unix, I strongly suggest digging into the documentation
before going on. Doing that will pay back. See it as an up-front investment.



``Best'' depends on your needs. There's this very useful ports system
and its binary packages offspring, and either is convenient and
apropriate for installing software on FreeBSD. Details in the FreeBSD
handbook, which is to be found on the FreeBSD site.


--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law.
 
 
 

bewbie - can you treat two hard disks as one drive?

Post by NotGive » Wed, 28 Dec 2005 00:13:17


Bill - thanks. It has 2 x 9.1GB Quantum SCSI hard drives
 
 
 

bewbie - can you treat two hard disks as one drive?

Post by NotGive » Wed, 28 Dec 2005 00:15:11


Thank to you all for your help. There's a lot to learn but it looks fun!