Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2011 21:36:47 +0100
From:      krad <kraduk@gmail.com>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        Chris Telting <christopher-ml@telting.org>, freebsd-questions@freebsd.org
Subject:   Re: zfs partition for /etc?
Message-ID:  <BANLkTimfy583bcGj%2BKjy8L=RFJL7eH1Erw@mail.gmail.com>
In-Reply-To: <BANLkTimpw_qSzGrOLyd_SPevQ7jUwqQB1A@mail.gmail.com>
References:  <4DB30596.3030609@telting.org> <BANLkTimpw_qSzGrOLyd_SPevQ7jUwqQB1A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 April 2011 19:44, Adam Vande More <amvandemore@gmail.com> wrote:

> On Sat, Apr 23, 2011 at 12:00 PM, Chris Telting
> <christopher-ml@telting.org>wrote:
>
> > So so on to my question.  I'm sure others have thought about this.  I
> kind
> > of want /etc to be it's own zfs partition so that I can snapshot it
> separate
> > from everything else and preserve it without much effort.  But I don't
> think
> > I can do that because of booting.  The system depends on /etc before it
> > mounts it's first file system.
>
>
> As you are aware ZFS works differently, and I think you are incorrect in
> your assumption that separating /etc onto it's own ZFS file system will
> break the boot process. The vfs.root.mountfrom="zfs:zoot" sysctl controls
> which pool to boot from, and once the pool is imported all automounted FS's
> are immediately available I'd guess.  If so, your desired scenario is
> achievable without hackery.  However this is an assumption on my part.
>
> Testing this out is like a 1/2 hr exercise if you have Virtualbox
> installed.  Use the PCBSD cd or MFSBSD to quickly install a bootable ZFS
> VM.
>
> --
> Adam Vande More
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>


not sure about that as the auto mounts are done when /etc/rc.d/zfs runs so
there might be a dependency



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimfy583bcGj%2BKjy8L=RFJL7eH1Erw>