[LUNA] FreeBSD ZFS 'RAID0' setup ....

Jared Wilkinson jared52 at gmail.com
Fri Jul 4 09:34:28 CDT 2014


Also, this might be helpful:

http://www.freebsddiary.org/zfs-with-gpart.php

On Friday, July 4, 2014, Jared Wilkinson <jared52 at gmail.com> wrote:

> Ok, now that I'm awake, I can actually answer better! :)
>
> Yes, you can do that. On the last command in the first section, just leave
> out the 'mirror' portion of the command and list all the partitions. That
> will create one big zfs pool called zroot with 4TB of space. Or you can
> just start with the first partition, load your OS and after it's running
> you can do a 'zpool add zroot' and list all the disks to add to it, growing
> the size of the volume.
>
>
> On Friday, July 4, 2014, William A. Mahaffey III <wam at hiwaay.net
> <javascript:_e(%7B%7D,'cvml','wam at hiwaay.net');>> wrote:
>
>> On 07/03/14 22:54, Jared Wilkinson wrote:
>>
>>
>> There is no onboard RAID controller, so they are JBOD by default, as far
>> as the hardware knows. I read that swapping under ZFS can cause panics, so
>> I am planning on 3 partitions per drive, as per the tutorial. I just need
>> to figure out how to tell ZFS to STRIPE ....
>>
>>
>>  My only experience with ZFS so I can't be sure the implementation is the
>>> same on Linix, but why not just present the disks as JBOD and handle them
>>> strictly in ZFS? Then you could mirror, stripe or whatever to your hearts
>>> content inside the ZFS configs.
>>>
>>> On Thursday, July 3, 2014, William A. Mahaffey III <wam at hiwaay.net>
>>> wrote:
>>>
>>>  .... I am provisioning a new box to replace this one (an aging 55W
>>>> AMD64X2
>>>> 3800+, 2 GB RAM, 1X 40 GB SATA-1 root drive, 1X 160 GB SATA-1 mounting
>>>> /home, running Fedora-14 64-bit, to be re-purposed into a m0n0wall
>>>> box). I
>>>> never upgraded cuz I liked the look & feel of F14 & felt no urge to
>>>> move.
>>>> Now the machine feels *SLOW* (FireFox takes 25-30 sec. to launch,
>>>> similar
>>>> for T-bird). New box is AMD 25W quad-core Jaguar based, Sempron 3850,
>>>> 16 GB
>>>> of RAM, 4X 2.5" 1 TB 7200 rpm SATA-3 HGST's, to be partitioned &
>>>> ZFS-RAID-ed & run FreeBSD 9.2 64-bit, I have been reading feverishly on
>>>> ZFS
>>>> & FreeBSD, like everything I have found so far, however 1 question.
>>>> Given
>>>> only 4 drives, I don't want to RAID-1 (mirror) or RAIDZ-n
>>>> (RAID-5/6-ish), &
>>>> lose 25-50 % of possible storage. The machine will be rsynced nightly
>>>> (at
>>>> least) & tar-bziped twice weekly, & w/ all new 2.5" drives, good
>>>> cooling,
>>>> etc. I don't expect trouble, & will be well prepped if it rears its ugly
>>>> head. Thus I would like to RAID-0 (stripe) the 4 ZFS partitions. I
>>>> located
>>>> several very detailed tutorials, notably https://wiki.freebsd.org/
>>>> RootOnZFS/GPTZFSBoot/9.0-RELEASE, which walk you through everything in
>>>> gory detail, except for that 1 question. is it possible to just stripe
>>>> ZFS
>>>> partitions ? I thought I remembered reading that somewhere, but failed
>>>> to
>>>> bookmark it & haven't been able to re-acquire it .... Any help
>>>> appreciated
>>>> ....
>>>>
>>>> --
>>>>
>>>>          William A. Mahaffey III
>>>>
>>>>   ------------------------------------------------------------
>>>> ----------
>>>>
>>>>          "The M1 Garand is without doubt the finest implement of war
>>>>           ever devised by man."
>>>>                             -- Gen. George S. Patton Jr.
>>>>
>>>> _______________________________________________
>>>> LUNA mailing list
>>>> LUNA at lunagroup.us
>>>> http://lunagroup.us/mailman/listinfo/luna
>>>>
>>>>  -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <http://lunagroup.us/pipermail/luna/attachments/
>>> 20140703/970702e3/attachment.html>
>>> _______________________________________________
>>> LUNA mailing list
>>> LUNA at lunagroup.us
>>> http://lunagroup.us/mailman/listinfo/luna
>>>
>>>
>>
>> --
>>
>>         William A. Mahaffey III
>>
>>  ----------------------------------------------------------------------
>>
>>         "The M1 Garand is without doubt the finest implement of war
>>          ever devised by man."
>>                            -- Gen. George S. Patton Jr.
>>
>> _______________________________________________
>> LUNA mailing list
>> LUNA at lunagroup.us
>> http://lunagroup.us/mailman/listinfo/luna
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lunagroup.us/pipermail/luna/attachments/20140704/a1453cf8/attachment.html>


More information about the LUNA mailing list