Hello. Here comes a big one. :P
System : SunOS 5.10 sun4v sparc SUNW,SPARC
I have a Solaris 10 global zone , on a server, with no external storage and no local zones. I want to "convert" that global zone to a local zone and transfer it to another server.
I have tried creating a flash archive with flarcreate and an ufsdump file from that server and move to another server. But in order to install these files to a local zone I had to install solaris containers(BrandZ), and at the zonecfg creation had to set brand=solaris10.
After, I did zoneadm -z zonename install -v -a flarchive.flar and it installed the zone.
While this works overall (though had to boot the zone with zoneadm -z zonename boot -f (force )), I would like to make that zone native and not branded.
Problem is, if i don't set the brand, and just try to install the zone directly from file doing zoneadm -z zonename install -v -a flarchive.flar starts outputting errors, unrecognizing -v and -a as parameters for native zone.
Only other solution, I have in hand which I am trying to work out at the moment is to create a full zone on another server and try ufsrestore in that localzone of the dumpfile i created previously.
So if anyone has any other idea or can help me with the ideas I had, please give a heads up. Thank you.
P.S.
http://www.blastwave.org/articles/BLS-0065/index.html
Update: As I've said I was trying to work out and ufsrestore on a localzone with the dumpfile. At first glance this seems to work just great. Zone booted without any problems at all and seemed to work just fine.
Though I am still puzzled on how I could make it work to install directly to a NATIVE localzone from a flar file or an ufsdump.