Darren J Moffat wrote: > jan damborsky wrote: >> Hi John, >> >> I like this idea - it would be clear solution for the problem. >> Is it possible to manage custom parameters with standard CLI >> commands (these are used by the installer for manipulating ZFS >> entities) - zpool(1M), zfs(1M), ... ? >> >> I am asking, since I haven't found information about setting >> custom parameters neither in man pages nor in >> "Solaris ZFS Administration Guide" available on opensolaris.org, >> I have probably missed it. > > As of snv_96 pool's don't have user properties otherwise you would > be able to do this: > > zpool set caiman:install=preparing rpool > .... > zpool set caiman:install=ready rpool > ... > zpool set caiman:install=complete rpool > > You can set user properties on a dataset so you could do this: > > zfs set caiman:install=preparing rpool/ROOT > > And log an RFE for having user defined properties at the pool (if one > doesn't already exist). >
Allow me to parrot the suggestion in the zfs man page to use reverse DNS names in user properties: zfs set org.opensolaris.caiman:install=preparing rpool/ROOT This will allow other people to use the name 'caiman' for their own user properties. Menno -- Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss