ZFS-inly server and dedicated ZIL

Dmitry Morozovsky marck at rinet.ru
Wed Apr 10 13:23:54 UTC 2013


Dear colleagues,

I'm planning to make new PostgreSQL server using zaid10-like ZFS with two SSDs 
splitted into mirrored ZIL and striped arc2. However, it seems current 
ZFS implementation does not support this:

./lib/libzfs/common/libzfs_pool.c-		case EDOM:
./lib/libzfs/common/libzfs_pool.c-			zfs_error_aux(hdl, dgettext(TEXT_DOMAIN,
./lib/libzfs/common/libzfs_pool.c:			    "root pool can not have multiple vdevs"
./lib/libzfs/common/libzfs_pool.c-			    " or separate logs"));
./lib/libzfs/common/libzfs_pool.c-			(void) zfs_error(hdl, EZFS_POOL_NOTSUP, msg);

Am I right, or did I missed something obvious?

Ok, if so: In this situation, I see two possibilities:
- make system boot from internal USB stick (only /bootdisk with /boot and 
/rescue) with the rest of ZFS-on-root
- use dedicated pair of disks for ZFS pool without ZIL for system.

what would you recommend?

Thanks!

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-fs mailing list