06-24-2016
If you're using a ZFS boot, I've always liked creating new BEs in a different ZFS pool than the BE it's being copied from. If you put the new BE in the same ZFS pool, all that's done is making the new BE a clone of a ZFS snapshot. Over time, with each new BE made for patches/upgrades, the trail of snapshots and clones becomes unmanageable.
If you put the new BE in a different ZFS pool, the new BE is completely independent of the old one and a lot easier to manage.
That does mean you need two bootable ZFS pools, but I think it's worth it if you keep your servers up-to-date with a new BE every time a new patch set or upgrade is released.
Also make certain that users' home directories are not part of the boot environment. Users don't like having to use old copies of their home directories that were made when the BE was created.
9 More Discussions You Might Find Interesting
1. Solaris
Hello,
I started the upgrade using LiveUpgrade. I am using Solaris 10 instalation CDs (5 CDs). My server is Enterprise 3500 - SPARC.
1) lucreate -c first_disk -m /:/dev/dsk/c0t11d0s7:ufs -n second_disk
...
luupgrade -u -n second_disk -s /cdrom/cdrom0/s0
WARNING: <5> packages failed to... (0 Replies)
Discussion started by: zafyil
0 Replies
2. Solaris
i facing this problen when following the 15 min tutorial on amaddclient. (2 Replies)
Discussion started by: conandor
2 Replies
3. Solaris
I got this output from a system running solaris 10 :
# lustatus
BE_name Complete Active ActiveOnReboot CopyStatus
--------------------------------------------------------------------------------
oldvol yes yes yes -
newvol no no no -
bigvol no no no -
#
How do i remove (or... (1 Reply)
Discussion started by: ibroxy
1 Replies
4. Solaris
OK, latest in a loooong trail of errors with no information. I've finally gotten a new BE created on another drive, run liveupgrade on it to bring it from sol10u3 to sol10u8
I luactivate sol10u8
lustatus shows the sol10u8 as the active one
init 6
system just starts into 10u3 again.
I'm... (4 Replies)
Discussion started by: awoodby
4 Replies
5. UNIX for Dummies Questions & Answers
Greetings all,
My name is Miguel and Im a new member. I post this question because I didnt find an answer for it after googling for an hour (if you do find the answer, please point me to it)
My problem is that I have a job interview and theyre requiring basic knowledge of Solaris. Now, Ive... (1 Reply)
Discussion started by: mguasch
1 Replies
6. Solaris
Hi,
Anyone able to advise on how to find the kernel patch level of an ABE?
showrev and uname -a will provide kernel patch details of the running environment, but how can I run these commands against the ABE or where do these commands get their information from i.e. is the kernel patch level... (3 Replies)
Discussion started by: CiCa
3 Replies
7. Solaris
Dear Solaris 11 Experts,
I have successfully install Solaris 11 text base version just downloaded but need to continue installing all remainder of software including XWindows... However, I am not sure what additional downloads are needed and how to install them.
There appears to be 3 types:... (4 Replies)
Discussion started by: gjackson123
4 Replies
8. Solaris
I just have a question regarding learning Solaris, I have a Linux and AIX background and I would like to learn Solaris, I have been giving some Solaris 10 Study Guides and just wondered how relevant they would be to Solaris 11 or should I try and get some study materials which are targeted towards... (1 Reply)
Discussion started by: markmorris182mx
1 Replies
9. Solaris
After getting the new BE created and activating the new BE with luactivate command, OS is still booting with OLD BE.
Steps followed below..
bash-3.2#
bash-3.2# lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot... (3 Replies)
Discussion started by: Kumar07
3 Replies
LEARN ABOUT OPENSOLARIS
acl_check
acl_check(3SEC) File Access Control Library Functions acl_check(3SEC)
NAME
acl_check - check the validity of an ACL
SYNOPSIS
cc [ flag... ] file... -lsec [ library... ]
#include <sys/acl.h>
int acl_check(acl_t *aclp, int isdir);
DESCRIPTION
The acl_check() function checks the validity of an ACL pointed to by aclp. The isdir argument checks the validity of an ACL that will be
applied to a directory. The ACL can be either a POSIX draft ACL as supported by UFS or NFSv4 ACL as supported by ZFS or NFSV4.
When the function verifies a POSIX draft ACL, the rules followed are described in aclcheck(3SEC). For NFSv4 ACL, the ACL is verified
against the following rules:
o The inheritance flags are valid.
o The ACL must have at least one ACL entry and no more than {MAX_ACL_ENTRIES}.
o The permission field contains only supported permissions.
o The entry type is valid.
o The flag fields contain only valid flags as supported by NFSv4/ZFS.
If any of the above rules are violated, the function fails with errno set to EINVAL.
RETURN VALUES
If the ACL is valid, acl_check() returns 0. Otherwise errno is set to EINVAL and the return value is set to one of the following:
EACL_INHERIT_ERROR There are invalid inheritance flags specified.
EACL_FLAGS_ERROR There are invalid flags specified on the ACL that don't map to supported flags in NFSV4/ZFS ACL model.
EACL_ENTRY_ERROR The ACL contains an unknown value in the type field.
EACL_MEM_ERROR The system cannot allocate any memory.
EACL_INHERIT_NOTDIR Inheritance flags are only allowed for ACLs on directories.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
acl(2), aclcheck(3SEC), aclsort(3SEC), acl(5), attributes(5)
SunOS 5.11 22 Apr 2008 acl_check(3SEC)