Edson Carlos Ericksson Richter writes:
> Can you please be a bit more verbose on how would this will affect my system?
> I'm afraid this will not "rollback" ZFS. Would I run in risk to loose my data?

It's unclear to me exactly what you want to roll back.

Each boot environment has a set of file systems that are private to
the boot environment (called "unshared"), and ones that are global to
all environments (called "shared").  The unshared ones are located
under the ZFS <poolname>/ROOT/<bename> path for each BE.

When you create a new BE to do an upgrade, the unshared file systems
(e.g., the root file system) are copied to that new BE, and then
they're modified in the new BE by the upgrade process.  In general,
the upgrade process isn't supposed to touch shared file systems -- if
it does, then you've got a bug in upgrade itself or in your system
configuration.

Similarly, when you delete a BE, you're removing those unshared file
systems (the modified root file system) and the boot-time menu entry
for that BE.  The shared file systems stay in place, because they
haven't been modified.

In other words, if your system is working properly on the current BE
and you have access to all of your data, then you should have no
problem at all deleting any of the inactive BEs -- whether newer or
older than the current one.

Does that answer the question?

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to