On Thu, Mar 20, 2008 at 11:26 PM, Mark A. Carlson <[EMAIL PROTECTED]> wrote: > > I think the answer is that the configuration is hidden > and cannot be backed up so that it can be easily restored > to a brand spanking new machine with new disks.
Hm, to which I can add that "zpool history" will keep forever the zpool command that created the pool initially. And it can be easily copy/pasted somewhere else in order to be used as is or as a template for a similar configuration. > > -- mark > > > > Cyril Plisko wrote: > On Thu, Mar 20, 2008 at 7:52 PM, Sachin Palav > <[EMAIL PROTECTED]> wrote: > > > Hello Friends > > Can someone please let me know how I can backup the ZFS configuration which > is stored on the operating system. > > The configuration of the ZFS pool is stored in the pool itself. That > means that the pool is self-contained and can be moved between hosts, > while keeping all the configuration (filesystems, volumes and their > properties) intact. Moreover, the configuration is copied on all the > disks of the pool, so that it can be recreated even after partial > loss. Provided, of course, that there was enough redundancy in the > pool to recreate the data. > zpool configuration is also kept in /etc/zfs/zpool.cache, but that > file is a cache and is used merely to provide a hint for the system > during boot on what pools are there and where to find them. The > authoritative configuration always comes from the disks of the pool in > hand. > > Does that answer you question ? > > > -- Regards, Cyril _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss