Greetings all,
as the subject line indicates, I need some help with confirming my (mis)understanding of beadm(1).
1. I understand that a new boot environment is cloned from all the data-sets under the rpool/ROOT, while the shared datasets that contain the same mount point in both the active and inactive boot environments, i.e. rpool/, are not cloned, and the new boot environment accesses the original, shared data-sets.
2. If the above is correct, the question arises – what data-sets to include in the boot environment? From my search I have found the answer to be “it depends”, which is perfect answer to experienced users, but not quite satisfactory for the rest of us. So, I though that all the system dependent data-sets should be in the cloned boot environment. However, it seems that different people have different opinion on the definition of the system dependent term. Furthermore, if one includes the /, /usr, and /var will all the child data-sets be automatically included?
Any input would be greatly appreciated. My main interest is to create a cloned boot environment for safe updates/upgrades/changes to the operating system.
3. Assuming that 1 is correct and 2 can somehow be solved, is there a way to set-up the data-set organization before installing the operating system? Or is the solution to use
Kindest regards,
M
as the subject line indicates, I need some help with confirming my (mis)understanding of beadm(1).
1. I understand that a new boot environment is cloned from all the data-sets under the rpool/ROOT, while the shared datasets that contain the same mount point in both the active and inactive boot environments, i.e. rpool/, are not cloned, and the new boot environment accesses the original, shared data-sets.
2. If the above is correct, the question arises – what data-sets to include in the boot environment? From my search I have found the answer to be “it depends”, which is perfect answer to experienced users, but not quite satisfactory for the rest of us. So, I though that all the system dependent data-sets should be in the cloned boot environment. However, it seems that different people have different opinion on the definition of the system dependent term. Furthermore, if one includes the /, /usr, and /var will all the child data-sets be automatically included?
Any input would be greatly appreciated. My main interest is to create a cloned boot environment for safe updates/upgrades/changes to the operating system.
3. Assuming that 1 is correct and 2 can somehow be solved, is there a way to set-up the data-set organization before installing the operating system? Or is the solution to use
zfs rename
to move the data-sets?Kindest regards,
M