manageBE and ZFS boot-environments WAS [Re: ZFS NAS configuration question]

2009-06-04 Thread Philipp Wuensche
Dan Naumov wrote: Anyone else think that this combined with freebsd-update integration and a simplistic menu GUI for choosing the preferred boot environment would make an _awesome_ addition to the base system? :) I guess freebsd-update is not a problem, should be freebsd-update -b

Re: ZFS NAS configuration question

2009-06-03 Thread Philipp Wuensche
Dan Naumov wrote: Reading that made me pause for a second and made me go WOW, this is how UNIX system upgrades should be done. Any hope of us lowly users ever seeing something like this implemented in FreeBSD? :) I wrote a script implementing the most useful features of the solaris live

Re: ZFS NAS configuration question

2009-06-03 Thread Dan Naumov
Anyone else think that this combined with freebsd-update integration and a simplistic menu GUI for choosing the preferred boot environment would make an _awesome_ addition to the base system? :) - Dan Naumov On Wed, Jun 3, 2009 at 5:42 PM, Philipp Wuenschecryx-free...@h3q.com wrote: I wrote a

Re: ZFS NAS configuration question

2009-06-02 Thread Gerrit Kühn
On Sat, 30 May 2009 21:41:36 +0300 Dan Naumov dan.nau...@gmail.com wrote about ZFS NAS configuration question: DN So, this leaves me with 1 SATA port used for a FreeBSD disk and 4 SATA DN ports available for tinketing with ZFS. Do you have a USB port available to boot from? A conventional USB

Re: ZFS NAS configuration question

2009-06-02 Thread Dan Naumov
having to setup some crazy GEOM mirror setup using 2 of them? - Dan Naumov 2009/6/2 Gerrit Kühn ger...@pmp.uni-hannover.de On Sat, 30 May 2009 21:41:36 +0300 Dan Naumov dan.nau...@gmail.com wrote about ZFS NAS configuration question: DN So, this leaves me with 1 SATA port used for a FreeBSD

Re: ZFS NAS configuration question

2009-06-02 Thread Daniel O'Connor
On Tue, 2 Jun 2009, Dan Naumov wrote: USB root partition for booting off UFS is something I have considered. I have looked around and it seems that all the install FreeBSD onto USB stick guides seem to involve a lot of manual work from a fixit environment, does sysinstall not recognise USB

Re: ZFS NAS configuration question

2009-06-02 Thread Miroslav Lachman
Daniel O'Connor wrote: On Tue, 2 Jun 2009, Dan Naumov wrote: USB root partition for booting off UFS is something I have considered. I have looked around and it seems that all the install FreeBSD onto USB stick guides seem to involve a lot of manual work from a fixit environment, does

Re: ZFS NAS configuration question

2009-06-02 Thread sthaug
root filesystem is remounted read write only for some configuration changes, then remounted back to read only. Does this work reliably for you? I tried doing the remounting trick, both for root and /usr, back in the 4.x time frame. And could never get it to work - would always end up with

Re: ZFS NAS configuration question

2009-06-02 Thread Nikos Vassiliadis
sth...@nethelp.no wrote: root filesystem is remounted read write only for some configuration changes, then remounted back to read only. Does this work reliably for you? I tried doing the remounting trick, both for root and /usr, back in the 4.x time frame. And could never get it to work -

Re: ZFS NAS configuration question

2009-06-02 Thread Zaphod Beeblebrox
On Sun, May 31, 2009 at 4:43 AM, Aristedes Maniatis a...@ish.com.au wrote: On 31/05/2009, at 4:41 AM, Dan Naumov wrote: To top that off, even when/if you do it right, not your entire disk goes to ZFS anyway, because you still do need a swap and a /boot to be non-ZFS, so you will have to

Re: ZFS NAS configuration question

2009-06-02 Thread Miroslav Lachman
sth...@nethelp.no wrote: root filesystem is remounted read write only for some configuration changes, then remounted back to read only. Does this work reliably for you? I tried doing the remounting trick, both for root and /usr, back in the 4.x time frame. And could never get it to work -

Re: ZFS NAS configuration question

2009-06-02 Thread Dan Naumov
This reminds me. I was reading the release and upgrade notes of OpenSolaris 2009.6 and noted one thing about upgrading from a previous version to the new one:: When you pick the upgrade OS option in the OpenSolaris installer, it will check if you are using a ZFS root partition and if you do, it

Re: ZFS NAS configuration question

2009-06-02 Thread Dan Naumov
A little more info for the (perhaps) curious: Managing Multiple Boot Environments: http://dlc.sun.com/osol/docs/content/2009.06/getstart/bootenv.html#bootenvmgr Introduction to Boot Environments: http://dlc.sun.com/osol/docs/content/2009.06/snapupgrade/index.html - Dan Naumov On Tue, Jun 2,

Re: ZFS NAS configuration question

2009-06-02 Thread Adam McDougall
I have a proof of concept system doing this. I started with a 7.2 install on zfs root, compiled world and kernel from 8, took a snapshot and made a clone for the 7.2 install, and proceeded to upgrade the current fs to 8.0. After updating the loader.conf in the 7.2 zfs to point to its own

Re: ZFS NAS configuration question

2009-05-31 Thread Aristedes Maniatis
On 31/05/2009, at 4:41 AM, Dan Naumov wrote: To top that off, even when/if you do it right, not your entire disk goes to ZFS anyway, because you still do need a swap and a /boot to be non-ZFS, so you will have to install ZFS onto a slice and not the entire disk and even SUN discourages to do

ZFS NAS configuration question

2009-05-30 Thread Dan Naumov
Hey I am not entirely sure if this question belongs here or to another list, so feel free to direct me elsewhere :) Anyways, I am trying to figure out the best way to configure a NAS system I will soon get my hands on, it's a Tranquil BBS2 (

Re: ZFS NAS configuration question

2009-05-30 Thread Louis Mamakos
I built a system recently with 5 drives and ZFS. I'm not booting off a ZFS root, though it does mount a ZFS file system once the system has booted from a UFS file system. Rather than dedicate drives, I simply partitioned each of the drives into a 1G partition, and another spanning the

Re: ZFS NAS configuration question

2009-05-30 Thread Dan Naumov
Is the idea behind leaving 1GB unused on each disk to work around the problem of potentially being unable to replace a failed device in a ZFS pool because a 1TB replacement you bought actually has a lower sector count than your previous 1TB drive (since the replacement device has to be either of

Re: ZFS NAS configuration question

2009-05-30 Thread Louis Mamakos
The system that I built had 5 x 72GB SCA SCSI drives. Just to keep my own sanity, I decided that I'd configure the fdisk partitioning identically across all of the drives. So that they all have a 1GB slice and and a 71GB slice. The drives all have identical capacity, so the second 71GB