> > I've downloaded the 2008.05 release of Open > Solaris > > and am planning to install it on a spare machine > and > > use it as a NAS for my local network with all the > > data I care about stored on a ZFS RAIDZ pool. I > used > > to use Solaris a few years ago but I've never set > up > > ZFS before. > > > > As I understand it booting from ZFS and using ZFS > for > > the root filesystem is not currently supported out > of > > the box at the moment so I'll need to use the > > standard filesystem for that. > > > > Since the root filesystem won't be using RAIDZ I'm > > wondering what would happen if that disk failed. > I'm > > not worried so much about the data since I could > just > > reinstall Solaris, what concerns me is whether I'd > > lose any of the ZFS configuration data and whether > I > > should take any steps to backup the machines ZFS > > configuration. > > > > In other words, if I have one disk with the root > > filesystem on and 3 disks set up as RAIDZ where > does > > ZFS store the information about what disks are > using > > ZFS and how they are configured? > > > > thanks! > > > > zpool get cachefile _pool_name_ > if it says default, I think it will actually be the > value you'd see if you look at > grep ZPOOL_CACHE /usr/include/sys/fs/zfs.h > which should work out to /etc/zfs/zpool.cache (on > Solaris - maybe /boot/zfs/zpool.cache > on FreeBSD and/or MacOS?)
P.S. I think the _real_ data is in the zpool itself, and the devices making it up can be recognized by looking at each disk for certain magic metadata. It may not be bad to have a backup of the file anyway though. From what I've read, the system updates it whenever pools defined as using that cachefile (or sharing it as the default) are created or deleted. Restoring an out-of-date copy might not be good. Importing a pool would probably cause it to be rebuilt. The system might run fine without it, although I expect there's _some_ impact if it's missing. This isn't really spelled out, AFAIK; and in some recovery situations, some such things that may not be public interfaces may still be nice to know about, enough to do the right thing with them, anyway. This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list [email protected]
