[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#648109: Impossible to use zfs as rootfs without creating a volume; should allow creating zfs filesystems (not just volumes)



On Wed, Nov 09, 2011 at 06:55:57PM +0100, Robert Millan wrote:

Hi,

> > So how exactly is this supposed to work? I create the rpool, then create a
> > volume inside it to be used as /, another as /usr, another as /var and so
> > on?
> 
> Yes.
> 
> > And where do I then specify their mountpoints? At one point I had created
> > zfs filesystems manually on console 2 and set their mountpoints, but while
> > the "configure zfs" part of the partitioner listed them along with their
> > mountpoints, it didn't offer an option to change them.
> 
> You'll see that option once the "volumes" are created.

OK, I can confirm that this works. Thanks for pointing it out.

Unfortunately, it's completely non-obvious and counter-intuitive.

> It basically works the same way as LVM on GNU/Linux.  You should have
> no problem figuring it out, in case of doubt you can check the LVM
> documentation.

I know LVM and I also know zfs is different. :) When I saw the interface I
thought "omg, someone is abusing zfs to reimplement LVM" - it never occurred
to me that "formatting" the zfs volumes as zfs would convert them into
filesystems.

-- 
                     Andras Korn <korn at elan.rulez.org>
                      In Java, the exception is the rule.



Reply to: