public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] howto on setting up rootfs on ZFS?
@ 2013-05-20 17:52 Douglas J Hunley
  2013-05-20 18:52 ` Jeffrey Anthony Serio
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Douglas J Hunley @ 2013-05-20 17:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

I used the existing wiki to get ZFS up and running on my system a few weeks
ago and after getting familiar with it, beating it up a bit, and breaking
it in as many different ways as I could envision, I think I'm happy with
it. I'd now like to use it as my rootfs. I'm going to leave /boot as a
separate extX filesystem for simplicity's sake. I can't find any decent
Gentoo-related documentation on setting up rootfs on ZFS. I'm not even sure
what boot media supports ZFS (system rescue cd doesn't, and my googling
turns up a bunch of *bsd based media).

Anyone done this before and care to help a brotha out?

-- 
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd                                               Web:
douglasjhunley.com
G+: http://goo.gl/sajR3

[-- Attachment #2: Type: text/html, Size: 1073 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] howto on setting up rootfs on ZFS?
  2013-05-20 17:52 [gentoo-user] howto on setting up rootfs on ZFS? Douglas J Hunley
@ 2013-05-20 18:52 ` Jeffrey Anthony Serio
  2013-05-20 20:36 ` Neil Bothwick
  2013-05-22 17:46 ` Robert David
  2 siblings, 0 replies; 5+ messages in thread
From: Jeffrey Anthony Serio @ 2013-05-20 18:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

Have you looked at this?
https://github.com/pendor/gentoo-zfs-install/tree/master/install


On Mon, May 20, 2013 at 12:52 PM, Douglas J Hunley <doug.hunley@gmail.com>wrote:

> I used the existing wiki to get ZFS up and running on my system a few
> weeks ago and after getting familiar with it, beating it up a bit, and
> breaking it in as many different ways as I could envision, I think I'm
> happy with it. I'd now like to use it as my rootfs. I'm going to leave
> /boot as a separate extX filesystem for simplicity's sake. I can't find any
> decent Gentoo-related documentation on setting up rootfs on ZFS. I'm not
> even sure what boot media supports ZFS (system rescue cd doesn't, and my
> googling turns up a bunch of *bsd based media).
>
> Anyone done this before and care to help a brotha out?
>
> --
> Douglas J Hunley (doug.hunley@gmail.com)
> Twitter: @hunleyd                                               Web:
> douglasjhunley.com
> G+: http://goo.gl/sajR3
>

[-- Attachment #2: Type: text/html, Size: 1777 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] howto on setting up rootfs on ZFS?
  2013-05-20 17:52 [gentoo-user] howto on setting up rootfs on ZFS? Douglas J Hunley
  2013-05-20 18:52 ` Jeffrey Anthony Serio
@ 2013-05-20 20:36 ` Neil Bothwick
  2013-05-21 12:23   ` Douglas J Hunley
  2013-05-22 17:46 ` Robert David
  2 siblings, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2013-05-20 20:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

On Mon, 20 May 2013 13:52:33 -0400, Douglas J Hunley wrote:

>  I'm not even sure
> what boot media supports ZFS (system rescue cd doesn't, and my googling
> turns up a bunch of *bsd based media).

Look at the modules link on the Rescue CD pages, it has a link to a ZFS
module file. This includes a script to rebuild the ISO including the ZFS
modules, I've used it several times with success, the only thing the
documentation fails to mention is that after booting the CD, you have to
run "depmod -a" before you can use the ZFS modules.


-- 
Neil Bothwick

Earlier, I didn't have time to finish anything. This time I w

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] howto on setting up rootfs on ZFS?
  2013-05-20 20:36 ` Neil Bothwick
@ 2013-05-21 12:23   ` Douglas J Hunley
  0 siblings, 0 replies; 5+ messages in thread
From: Douglas J Hunley @ 2013-05-21 12:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

On Mon, May 20, 2013 at 4:36 PM, Neil Bothwick <neil@digimed.co.uk> wrote:

> Look at the modules link on the Rescue CD pages, it has a link to a ZFS
> module file. This includes a script to rebuild the ISO including the ZFS
> modules, I've used it several times with success, the only thing the
> documentation fails to mention is that after booting the CD, you have to
> run "depmod -a" before you can use the ZFS modules.
>

This is perfect! Thank you


-- 
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd                                               Web:
douglasjhunley.com
G+: http://goo.gl/sajR3

[-- Attachment #2: Type: text/html, Size: 1208 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] howto on setting up rootfs on ZFS?
  2013-05-20 17:52 [gentoo-user] howto on setting up rootfs on ZFS? Douglas J Hunley
  2013-05-20 18:52 ` Jeffrey Anthony Serio
  2013-05-20 20:36 ` Neil Bothwick
@ 2013-05-22 17:46 ` Robert David
  2 siblings, 0 replies; 5+ messages in thread
From: Robert David @ 2013-05-22 17:46 UTC (permalink / raw
  To: gentoo-user; +Cc: doug.hunley

Hi, 

I use grml livecd for various recovery/livecd purposes. I just
add an script to my boot partition to compile current zfs. Since it is
debian based it contains installation through aptitude. 

Robert.

/boot/zfs # ls
install_zfs*  spl-0.6.1.tar.gz  zfs_create  zfs-0.6.1.tar.gz

/boot/zfs # cat install_zfs
#!/bin/sh

aptitude update
aptitude install build-essential zlib1g-dev uuid-dev
aptitude install linux-headers-3.7-1-grml-amd64 

tar -xvzpf spl-0.6.1.tar.gz
tar -xvzpf zfs-0.6.1.tar.gz

cd spl-0.6.1
./configure --prefix=/
make
make install

cd ..
cd zfs-0.6.1
./configure --prefix=/
make 
make install

cd ..

rm -rf zfs-0.6.1
rm -rf spl-0.6.1


On Mon, 20 May 2013 13:52:33 -0400
Douglas J Hunley <doug.hunley@gmail.com> wrote:

> I used the existing wiki to get ZFS up and running on my system a few
> weeks ago and after getting familiar with it, beating it up a bit,
> and breaking it in as many different ways as I could envision, I
> think I'm happy with it. I'd now like to use it as my rootfs. I'm
> going to leave /boot as a separate extX filesystem for simplicity's
> sake. I can't find any decent Gentoo-related documentation on setting
> up rootfs on ZFS. I'm not even sure what boot media supports ZFS
> (system rescue cd doesn't, and my googling turns up a bunch of *bsd
> based media).
> 
> Anyone done this before and care to help a brotha out?
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-22 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-20 17:52 [gentoo-user] howto on setting up rootfs on ZFS? Douglas J Hunley
2013-05-20 18:52 ` Jeffrey Anthony Serio
2013-05-20 20:36 ` Neil Bothwick
2013-05-21 12:23   ` Douglas J Hunley
2013-05-22 17:46 ` Robert David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox