[OpenIndiana-discuss] making new fresh install BE with pkg/IPS, install specific OI build - ZFS feature flags compatibility

Lucas Van Tol catseyev9 at hotmail.com
Thu Oct 11 13:49:34 UTC 2012


For 2:
I've been using a list of incorporation as a pkg -R  command for installing specific versions; and putting some beadm commands around that.
I can't recall where I saw the pkg list at, I think it was someone-else's comment in one of the forums, as a workaround with image-update. 

This involves manually creating a BE; it may help point 1 as well as 2.  I don't know, that's not what I was using it for.  
If you regularly change between two BE's; you might want to set up some of your service log/data direcotries (apache/postgres/??) to be a seperate filesystem from the boot environment, so that the service stays consistent.

I haven't ever tried using IPS to do a version rollback though; I have no idea if that would work. (i.e. if you are on 151a7 now; I don't know if you could create a 151a4 BE)


This still doesn't limit all packages to that release; but most of them are the desired release. 
 
BE=??         ##Name for boot environment, no spaces
SNV=??     ##151a4 = 151.1.4  
beadm create $BE
beadm mount $BE /new_$SNV
pkg -R /new_$SNV install -v \
 pkg:/entire at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/cde/cde-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/gfx/gfx-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/jdmk/jdmk-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/sic_team/sic_team-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/cacao/cacao-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/cns/cns-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/l10n/l10n-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/xvm/xvm-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/dbtg/dbtg-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/ub_javavm/ub_javavm-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/gnome_l10n/gnome_l10n-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/sfw/sfw-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/hcts/hcts-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/man/man-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/sunpro/sunpro-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/gnome/gnome-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/admin/admin-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/SunVTS/SunVTS-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/nspg/nspg-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/nvidia/nvidia-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/osnet/osnet-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/solaris_re/solaris_re-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/install/install-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/X/X-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/vpanels/vpanels-incorporation at 0.5.11,5.11-0.$SNV \
 pkg:/consolidation/ips/ips-incorporation at 0.5.11,5.11-0.$SNV \

bootadm update-archive -R /new_$SNV
beadm umount $BE
beadm activate $BE


-Lucas Van Tol



> Date: Thu, 11 Oct 2012 05:47:36 -0700
> From: pulaskite at yahoo.com
> To: openindiana-discuss at openindiana.org
> Subject: Re: [OpenIndiana-discuss] making new fresh install BE with pkg/IPS,	install specific OI build - ZFS feature flags compatibility
> 
> I'd like to suggest documenting the answers that you get on the wiki.  It will make it easier for you and others to find in the future.  
> 
> --- On Thu, 10/11/12, Nikola M <minikola at gmail.com> wrote:
> 
> > From: Nikola M <minikola at gmail.com>
> > Subject: [OpenIndiana-discuss] making new fresh install BE with pkg/IPS, install specific OI build - ZFS feature flags compatibility
> > To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
> > Date: Thursday, October 11, 2012, 4:08 AM
> > Hi, I would like to as a question
> > that was probably asked many times before,
> > but it would be nice to have it here for further reference.
> > 
> > 1. Issuing what beadm and pkg (IPS) commands,
> > one can make new BE (Boot environment) with fresh install
> > (entire) of
> > the operating system,
> > that can boot independently of already running BE?
> > I think that is something like making new BE with beadm,
> > mounting it to
> > /tmp with beadm and installing all packages that new install
> > is
> > consisted of to that new BE.
> > 
> > 2. Updating to the specific /dev build of Openindiana.
> >      Thing I have in mind is that I
> > would like to have a version before
> > supporting ZFS pool feature flags,
> > for possible compatibility.
> > 
> > If older systems and those who still does not support
> > feature flags,
> > recognize FF ZFS as version 28, then it should be ok? I
> > think I remember
> > it is setting version on 999 or something, how does that
> > affect
> > At the end if everyone using ZFS
> > (FreeBSD,ZfsOnLinux,ZFS-FUSE,Illumos
> > distros) update to using feature flags, except Oracle
> > Solaris ****,
> > maybe question of compatibility is not much important?
> > 
> > Thanks for manual, response and corrections :)
> > 
> > 
> > 
> > _______________________________________________
> > OpenIndiana-discuss mailing list
> > OpenIndiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> > 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
 		 	   		  


More information about the OpenIndiana-discuss mailing list