Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-05 Thread Tanstaafl
On 2013-09-04 2:49 AM, Marc Stürmer wrote: Well in my point of view it boils down to that: someone wants to use ZFS on Linux. Fine. This means you've got to be a good citizen and obey its license, of course. It is for those legal reasons that ZFS is not included into the Linux kernel mainline s

Re: Integrated ZFS for Gentoo - WAS Re:[gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Nicolas Sebrecht
The 04/09/13, Joerg Schilling wrote: > Linux does not contain code to boot AFAIK Sure, it does. You can boot on the kernel directly without a boot manager. -- Nicolas Sebrecht

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Joerg Schilling
Mark David Dumlao wrote: > containing the kernel is > also a zfs filesystem, then your grub needs a driver that can read > that filesystem. > > Well sys-boot/grub-2.00 provides one. See /boot/grub/zfs.mod You don't need grub2, a capable older grub does it also, see: http://hg.berlios.de/repos/s

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Mark David Dumlao
On Mon, Sep 2, 2013 at 4:47 PM, Joerg Schilling wrote: > Mark David Dumlao wrote: > >> > > > the disk... OOPS. This is a classic "chicken and egg" situation. >> > > >> > > On Solaris no problem with loadable modules - everything is >> > > dynamically loaded. ***YOU NEED A GRUB THAT UNDERSTANDS

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Joerg Schilling
Walter Dnes wrote: > > Grub works this way: > > > > 1) It loads /platform/i86pc/kernel/$ISADIR/unix > > Question... how does it read that file off a ZFS partition? OK, so > ZFS code has to be installed statically into GRUB instead of statically > into the kernel. Please stop the shell game.

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-03 Thread Marc Stürmer
Am 02.09.2013 10:47, schrieb Joerg Schilling: Solaris is dynamic from the beginning: Well in my point of view it boils down to that: someone wants to use ZFS on Linux. Fine. This means you've got to be a good citizen and obey its license, of course. It is for those legal reasons that ZFS i

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-03 Thread Walter Dnes
On Mon, Sep 02, 2013 at 10:47:35AM +0200, Joerg Schilling wrote > Mark David Dumlao wrote: > > At what point does grub "present a zfs interface for the kernel to use"? > > After it booted the kernel > > You may not know dynamic kernels as Linux is a static kernel that > just may load additional

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-02 Thread Joerg Schilling
Mark David Dumlao wrote: > > > > the disk... OOPS. This is a classic "chicken and egg" situation. > > > > > > On Solaris no problem with loadable modules - everything is > > > dynamically loaded. ***YOU NEED A GRUB THAT UNDERSTANDS ZFS AND THAT > > > GIVES A ZFS INTERFACE TO THE KERNEL TO USE B

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-01 Thread Walter Dnes
On Sun, Sep 01, 2013 at 01:41:30PM +0800, Mark David Dumlao wrote > Case in point - do you enable all the ext4 options, like acls and > whatnot? Let's say no. > > What if you suddenly have to mount an external hard disk to > recover some system on your server and the hard disk uses those ext4 > o

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-01 Thread Mark David Dumlao
On Sep 2, 2013 5:21 AM, "Walter Dnes" wrote: > > On Sun, Sep 01, 2013 at 09:49:23AM +0200, Joerg Schilling wrote > > Walter Dnes wrote: > > > > > You can get away with most stuff as modules; ***BUT NOT THE ROOT > > > FILESYSTEM***. Think about it for a minute. Gentoo reads modules off > > > t

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-01 Thread Walter Dnes
On Sun, Sep 01, 2013 at 10:11:01AM -0400, Tanstaafl wrote > You don't, it is only *required* if you have a separate /usr... in fact > that is what the whole argument was about. > > At least that is my understanding of the situation now... please don't > tell me I'm wrong and there was another v

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-01 Thread Walter Dnes
On Sun, Sep 01, 2013 at 09:49:23AM +0200, Joerg Schilling wrote > Walter Dnes wrote: > > > You can get away with most stuff as modules; ***BUT NOT THE ROOT > > FILESYSTEM***. Think about it for a minute. Gentoo reads modules off > > the disk. If the code for the root filesystem is a module,

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-01 Thread Tanstaafl
On 2013-08-31 7:32 AM, Alon Bar-Lev wrote: If this is not mainline, and it is not trivial gentoo kernels maintainer patch, and you must have this as static, you can just put the patch within/etc/portage/patches/sys-kernel/gentoo-sources/, so it will patch your kernel every time you emerge new on

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-01 Thread Tanstaafl
On 2013-08-31 11:55 PM, Walter Dnes wrote: Also, I really wonder what the point is in having to use initramfs on a system where /usr is part of /. You don't, it is only *required* if you have a separate /usr... in fact that is what the whole argument was about. At least that is my understan

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-01 Thread Tanstaafl
On 2013-08-31 7:29 AM, Joerg Schilling wrote: Tanstaafl wrote: You must have missed the point that this is for*servers*, that most people*disable modules* on. I*know* that it is available as a module. Why, for security reasons? Because if you don't need something, why enable it? If modu

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-01 Thread Joerg Schilling
Walter Dnes wrote: > You can get away with most stuff as modules; ***BUT NOT THE ROOT > FILESYSTEM***. Think about it for a minute. Gentoo reads modules off > the disk. If the code for the root filesystem is a module, Gentoo would > have to read the module off the disk to enable it to read t

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Mark David Dumlao
On Sun, Sep 1, 2013 at 11:55 AM, Walter Dnes wrote: >> I usally use ext4 as filesystem. >> >> # lsmod|grep ext >> ext3 100768 0 >> jbd39586 1 ext3 >> ext2 49572 0 >> ext4 263621 1 >> crc16 1255 2 ext4,bl

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Canek Peláez Valdés
On Sat, Aug 31, 2013 at 10:55 PM, Walter Dnes wrote: >> I usally use ext4 as filesystem. >> >> # lsmod|grep ext >> ext3 100768 0 >> jbd39586 1 ext3 >> ext2 49572 0 >> ext4 263621 1 >> crc16 1255 2 ext4,b

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Walter Dnes
> I usally use ext4 as filesystem. > > # lsmod|grep ext > ext3 100768 0 > jbd39586 1 ext3 > ext2 49572 0 > ext4 263621 1 > crc16 1255 2 ext4,bluetooth > mbcache 4450 3 ext2,ext3,ext4 > j

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Pandu Poluan
On Sep 1, 2013 7:51 AM, "Mark David Dumlao" wrote: > > On Sun, Sep 1, 2013 at 8:13 AM, Walter Dnes wrote: > > On Sat, Aug 31, 2013 at 02:19:56PM +0200, Joerg Schilling wrote > > > >> So there seems to be no real need to create a static linux kernel > >> with ZFS inside. > > > > See http://www.gen

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Mark David Dumlao
On Sun, Sep 1, 2013 at 8:13 AM, Walter Dnes wrote: > On Sat, Aug 31, 2013 at 02:19:56PM +0200, Joerg Schilling wrote > >> So there seems to be no real need to create a static linux kernel >> with ZFS inside. > > See > http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Canek Peláez Valdés
On Sat, Aug 31, 2013 at 7:13 PM, Walter Dnes wrote: > On Sat, Aug 31, 2013 at 02:19:56PM +0200, Joerg Schilling wrote > >> So there seems to be no real need to create a static linux kernel >> with ZFS inside. > > See > http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_cha

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Walter Dnes
On Sat, Aug 31, 2013 at 02:19:56PM +0200, Joerg Schilling wrote > So there seems to be no real need to create a static linux kernel > with ZFS inside. See http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap7 > Now go to File Systems and select support for the filesys

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Mark David Dumlao
On Sat, Aug 31, 2013 at 7:25 PM, Tanstaafl wrote: > On 2013-08-31 1:10 AM, Mark David Dumlao wrote: >> >> Sounds like an awful lot of trouble for a "problem" that's already solved >> by >> installing sys-kernel/module-rebuild and running "module-rebuild rebuild" >> after every kernel update, whic

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Joerg Schilling
Gregory Shearman wrote: > In linux.gentoo.user, Mr Schilling wrote: > > > > On Solaris, you can disable loading unsigned modules, is this not > > supported by > > Linux? > > CONFIG_MODULE_SIG So there seems to be no real need to create a static linux kernel with ZFS inside. Jörg -- EMail

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Gregory Shearman
In linux.gentoo.user, Mr Schilling wrote: > > On Solaris, you can disable loading unsigned modules, is this not supported > by > Linux? CONFIG_MODULE_SIG -- Regards, Gregory.

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Alon Bar-Lev
On Sat, Aug 31, 2013 at 2:28 PM, Tanstaafl wrote: > > On 2013-08-31 7:04 AM, Joerg Schilling > wrote: >> >> Everything is dynamic, you would however put a lot of effort into the linux >> kernel to get to that state...e.g. automated major device numbering. > > > ??? I've been running my servers w

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Joerg Schilling
Tanstaafl wrote: > On 2013-08-31 1:10 AM, Mark David Dumlao wrote: > > Sounds like an awful lot of trouble for a "problem" that's already solved by > > installing sys-kernel/module-rebuild and running "module-rebuild rebuild" > > after every kernel update, which is how nvidia, broadcom, and othe

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Tanstaafl
On 2013-08-31 7:04 AM, Joerg Schilling wrote: Everything is dynamic, you would however put a lot of effort into the linux kernel to get to that state...e.g. automated major device numbering. ??? I've been running my servers without modules since... I started running servers. Servers are not

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Tanstaafl
On 2013-08-31 1:10 AM, Mark David Dumlao wrote: Sounds like an awful lot of trouble for a "problem" that's already solved by installing sys-kernel/module-rebuild and running "module-rebuild rebuild" after every kernel update, which is how nvidia, broadcom, and other kernel modules are dealt pain

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Joerg Schilling
Pandu Poluan wrote: > Well, if you follow Tanstaafl in the other thread, you'll see that he > wants ZFS to be integrated into the kernel, not existing as a kernel > module. > But why does someone want things to be inside a static kernel? Since 1991/1992, Solaris does not have anything in the st

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Pandu Poluan
On Sat, Aug 31, 2013 at 12:10 PM, Mark David Dumlao wrote: > On Sat, Aug 31, 2013 at 4:16 AM, Mick wrote: >> On Friday 30 Aug 2013 15:44:35 Tanstaafl wrote: >>> On 2013-08-30 10:34 AM, Alan McKinnon wrote: >>> > On 30/08/2013 16:29, Tanstaafl wrote: >>> >> Why would there be a problem if someone

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-31 Thread Peter Humphrey
On Friday 30 Aug 2013 21:21:10 Alan McKinnon wrote: > Ahem, Mr Bothwick! > > Our friend with the thing about free lunches needs you to demonstrate > your penmanship, considering you have some proven results in this area. ...and I'd happily act as editor... :-) ;-) -- Regards, Peter

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-30 Thread Mark David Dumlao
On Sat, Aug 31, 2013 at 4:16 AM, Mick wrote: > On Friday 30 Aug 2013 15:44:35 Tanstaafl wrote: >> On 2013-08-30 10:34 AM, Alan McKinnon wrote: >> > On 30/08/2013 16:29, Tanstaafl wrote: >> >> Why would there be a problem if someone decided to create a 3rd party >> >> overlay *not* part of the off

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-30 Thread Mick
On Friday 30 Aug 2013 15:44:35 Tanstaafl wrote: > On 2013-08-30 10:34 AM, Alan McKinnon wrote: > > On 30/08/2013 16:29, Tanstaafl wrote: > >> Why would there be a problem if someone decided to create a 3rd party > >> overlay *not* part of the official gentoo portage tree that contained > >> *only*

Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-30 Thread Alan McKinnon
On 30/08/2013 16:44, Tanstaafl wrote: > On 2013-08-30 10:34 AM, Alan McKinnon wrote: >> On 30/08/2013 16:29, Tanstaafl wrote: >>> Why would there be a problem if someone decided to create a 3rd party >>> overlay *not* part of the official gentoo portage tree that contained >>> *only* the zfs stuff

Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-30 Thread Tanstaafl
On 2013-08-30 10:34 AM, Alan McKinnon wrote: On 30/08/2013 16:29, Tanstaafl wrote: Why would there be a problem if someone decided to create a 3rd party overlay *not* part of the official gentoo portage tree that contained *only* the zfs stuff, and when this overlay was installed combined with