* [gentoo-user] ZFS formating
@ 2013-11-01 13:48 James
2013-11-01 14:40 ` Douglas J Hunley
0 siblings, 1 reply; 4+ messages in thread
From: James @ 2013-11-01 13:48 UTC (permalink / raw
To: gentoo-user
Hello,
>
So after readaing quite a bit about ZFS, I still have some simple
question(s). Can you install ZFS on a single drive? Does that make sense
or is it "illogical/dumb" to do so?
Is the latest version of SystemRescue the best media to use to format
disks with ZFS? Caveats?
Last, after looking at the thread from 17Sep2013, I have culled.
These bookmarks as the best resources to follow (any others?) :
http://wiki.gentoo.org/wiki/ZFS
Just emerge zfs and its depndancies. Special/additional Flags
recommended but not in the aforementioned resource listing?
turn off readahead. ZFS' own readahead and the kernel's clash - badly.
set it with blockdev to 8 (for example). Doesn't turn it off. Just makes
it none-obstrusive.
Turn off kernel's readahead for a visible performance boon.
use noop as io-scheduler.
> Has anyone tried hardened and ZFS together?
I did - I had some problems, but I'm not sure if they were caused by the
combination of ZFS and hardened. There were some issues updating kernel and
ZFS (most likely due to ZFS on root and me using ~arch hardened-sources and
the live ebuild for zfs). There are some hardened options that are known to
be not working (constify was one of them but that should be patched now). I
think another one was HIDESYM.
There is a (more or less regularly updated blogpost by prometheanfire
(installation guide zfs+hardened+luks [1]). So you could ask him or ryao (he
seems to support hardened+zfs at least to a certain degree).
Very interesting! What I want to experiment with is Pentoo on ZFS and then
downloading all the sources to create a secure gentoo installation
(hardened)_ by using Pentoo-amd64-2013.0_RC1.9.iso as the starting point.
Since the pentoo-installer script does not offer ZFS (yet), I thought I'd
just use SystemRescue (systemrescuecd-x86-3.8.1.iso) to set up ZFS? I do not
need luks, for this test system.
I have recently stopped using the option to
built ZFS into the kernel as I ran into problems with vdevs reported as
corrupt on the system I was trying this on. They weren't corrupt and
mounted fine in System Rescue Cd with modules, and the problem
disappeared when I switched to modules.
Plan carefully how you are going to create the vdev's before you add
them to a pool. Precisely my point, on a single 2T drive, or should
I add (required) a second 2T drive for this experiment. After I get
this to work, I have a 4 drive system to set up for testing......
http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks
Ok, so I have a single 2T seagate, or a pair of seagate 2T or 4 Green
2T WD drives to use for testing.
I just thoght a single drive rig would be fastest until I correct all
of the missteps (if it can go wrong in an install, I'll find it).
Just do ashift=12 and you're good to go.
So to recoup, my twist is to use the latest Pentoo install media,
becuase it is streamlined and yeilds a hardened system on top
of ZFS.
Anyone, care to splice in comments, suggestions or clarifications before
I invest some days in this venture?
curiously,
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] ZFS formating
2013-11-01 13:48 [gentoo-user] ZFS formating James
@ 2013-11-01 14:40 ` Douglas J Hunley
2013-11-01 15:29 ` [gentoo-user] " James
0 siblings, 1 reply; 4+ messages in thread
From: Douglas J Hunley @ 2013-11-01 14:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
On Fri, Nov 1, 2013 at 9:48 AM, James <wireless@tampabay.rr.com> wrote:
> Is the latest version of SystemRescue the best media to use to format
> disks with ZFS? Caveats?
>
the latest gentoo live image has full zfs support on it
--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://google.com/+DouglasHunley
[-- Attachment #2: Type: text/html, Size: 1016 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: ZFS formating
2013-11-01 14:40 ` Douglas J Hunley
@ 2013-11-01 15:29 ` James
2013-11-04 14:38 ` Douglas J Hunley
0 siblings, 1 reply; 4+ messages in thread
From: James @ 2013-11-01 15:29 UTC (permalink / raw
To: gentoo-user
Douglas J Hunley <doug.hunley <at> gmail.com> writes:
> the latest gentoo live image has full zfs support on it
-- Douglas J Hunley (doug.hunley <at> gmail.com)
livedvd-x86-amd64-32ul-20121221.iso
Is what you are referring to?
I suggested using SystemRescue, because I had to clean up
(hack extensively) on Grub2 before the system would boot standalone.
In that first Pentoo install, I use ext2 for /boot and ext4 for /
If I use ZFS, /boot / and swap are all ZFS partitions, right?
That's probably the last thing I'm working on is the Exact, simple
disk/partion/ZFS setup to experiment around with the Pentoo
workstation....
Besides, I'm not the swiftest on this list at juggling the intersection of
GPT, UEFI, Grub2 and the newer file systems. Not to mention mtab, fstab,
systemD etc etc.......
So you will not insult me, offering up snippent, syntax and a copy
of a working (ZFS) fstab and grub file details........
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Re: ZFS formating
2013-11-01 15:29 ` [gentoo-user] " James
@ 2013-11-04 14:38 ` Douglas J Hunley
0 siblings, 0 replies; 4+ messages in thread
From: Douglas J Hunley @ 2013-11-04 14:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
On Fri, Nov 1, 2013 at 11:29 AM, James <wireless@tampabay.rr.com> wrote:
> livedvd-x86-amd64-32ul-20121221.iso
> Is what you are referring to?
>
yes
>
> I suggested using SystemRescue, because I had to clean up
> (hack extensively) on Grub2 before the system would boot standalone.
> In that first Pentoo install, I use ext2 for /boot and ext4 for /
>
>
I don't use grub. I have an ext2 /boot and lilo on a md stripe :)
>
> If I use ZFS, /boot / and swap are all ZFS partitions, right?
>
they can be, but don't have to be. i've seen several people put swap onto a
zram device
--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://google.com/+DouglasHunley
[-- Attachment #2: Type: text/html, Size: 1797 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-04 14:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-01 13:48 [gentoo-user] ZFS formating James
2013-11-01 14:40 ` Douglas J Hunley
2013-11-01 15:29 ` [gentoo-user] " James
2013-11-04 14:38 ` Douglas J Hunley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox