Hello, I have looked into the various network attached storage devices and software based solutions. Can't really find one I like. Would it be possible to add a couple HDs to my existing 6.8 server and set them up as RAID drives? If so, how would I keep it from mirroring the system drive? Just spent$2500 on a transmission for my truck, so I broke right know and need to go the cheapest route. TIA
On 1/12/2017 1:55 PM, TE Dukes wrote:> Would it be possible to add a couple HDs to my existing 6.8 server and set > them up as RAID drives?assuming your server has room for more drives and sata or sas ports, sure. physically add the disks, use mdraid to put them in a mirror or raid5/6 or whatever, use vgcreate to define a new volumegroup from that raid, then use lvcreate to create logical volumes on that volume group, which you can put file systems on, and add those file systems to your /etc/fstab, then mount them.> If so, how would I keep it from mirroring the system drive?it would only do that if you explicitly told it to. -- john r pierce, recycling bits in santa cruz
TE Dukes wrote:> > I have looked into the various network attached storage devices and > software based solutions. > > Can't really find one I like. > > Would it be possible to add a couple HDs to my existing 6.8 server and set > them up as RAID drives? If so, how would I keep it from mirroring the > system drive?Of course, and you need to read up on RAID a bit. Try this trick, if you've got a big enough tower case: buy a couple of hot-swap drive bays from Microcenter, about $30 each. Then buy a couple of WD Reds - whatever TB you can afford. Install the hot swap bays, stick the drives in, and use Linux RAID to set them up, either as a mirror (RAID 1), or RAID 0, I think. Then just partition it using parted, and have fstab mount it wherever you want. mark
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of John R > Pierce > Sent: Thursday, January 12, 2017 5:02 PM > To: centos at centos.org > Subject: Re: [CentOS] Network Storage > > On 1/12/2017 1:55 PM, TE Dukes wrote: > > Would it be possible to add a couple HDs to my existing 6.8 server and > > set them up as RAID drives? > > assuming your server has room for more drives and sata or sas ports, > sure. physically add the disks, use mdraid to put them in a mirror or > raid5/6 or whatever, use vgcreate to define a new volumegroup from that > raid, then use lvcreate to create logical volumes on that volume group,which> you can put file systems on, and add those file systems to your/etc/fstab,> then mount them. > > > If so, how would I keep it from mirroring the system drive? > > it would only do that if you explicitly told it to. > > --Thanks!! I think this will get me started, then I can buy an enclosure, a couple extra, etc., when I recover from the auto expense.
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of m.roth at 5- > cent.us > Sent: Thursday, January 12, 2017 5:32 PM > To: CentOS mailing list > Subject: Re: [CentOS] Network Storage > > TE Dukes wrote: > > > > I have looked into the various network attached storage devices and > > software based solutions. > > > > Can't really find one I like. > > > > Would it be possible to add a couple HDs to my existing 6.8 server and > > set them up as RAID drives? If so, how would I keep it from mirroring > > the system drive? > > Of course, and you need to read up on RAID a bit. > > Try this trick, if you've got a big enough tower case: buy a couple ofhot-swap> drive bays from Microcenter, about $30 each. Then buy a couple of WD Reds > - whatever TB you can afford. Install the hot swap bays, stick the drivesin,> and use Linux RAID to set them up, either as a mirror (RAID 1), or RAID 0,I> think. > > Then just partition it using parted, and have fstab mount it wherever you > want. > > markThat's cool! Didn't know they made something like that. I only have one spare 5.25 and one spare 3.5. I think this TS130 has 2 - 5.25, 2 - 3.5 and 2 - 2.5. I know they make a 5.25 to 3.5 adapter. Probably will just pick one of those up for now but that hot-swap bay will give me options when I can expand things a little. Thanks!!