Re: [zones-discuss] S10 zone migration with pax(1)
Are you still trouble with which site you can trust to buy [url=http://www.gameim.com/product/RuneScape_II_gold.html]RS Gold[/url] safely, I'll introduce one for you, I have bought [url=http://www.gameim.com/product/RuneScape_II_gold.html]Runescape Gold[/url] many times from here, if you want to buy [url=http://www.gameim.com/product/RuneScape_II_gold.html]RS Money[/url], trust me!!try!! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] S10 zone migration with pax(1)
In message 20110616022827.ga3...@mgerdts-laptop.us.oracle.com, Mike Gerdts wr ites: A quick look suggests that the differences between your 'pax -r' args and what attach uses is '-@ -p e'. See install_pax() in /usr/lib/brand/shared/common.ksh. If you update this line: ( cd $ARCHIVE_BASE pax -r -f $archive $filtopt ) to: ( cd $ARCHIVE_BASE pax -r -@ -p e -f $archive $filtopt ) give 'zoneadm -z myzone attach -a' another whirl, and report back, I would be most appreciative. Worked, thank you. John groenv...@acm.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] S10 zone migration with pax(1)
On Thu 16 Jun 2011 at 03:12AM, John D Groenveld wrote: In message 20110616022827.ga3...@mgerdts-laptop.us.oracle.com, Mike Gerdts wr ites: A quick look suggests that the differences between your 'pax -r' args and what attach uses is '-@ -p e'. See install_pax() in /usr/lib/brand/shared/common.ksh. If you update this line: ( cd $ARCHIVE_BASE pax -r -f $archive $filtopt ) to: ( cd $ARCHIVE_BASE pax -r -@ -p e -f $archive $filtopt ) give 'zoneadm -z myzone attach -a' another whirl, and report back, I would be most appreciative. Worked, thank you. John groenv...@acm.org I've opened: 7055457 zoneadm attach -a archive.pax does not preserve permissions Thanks for giving it a try and reporting back. -- Mike Gerdts Solaris Core OS / Zones ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] S10 zone migration with pax(1)
Following this recipe to migrate my non-global S10 zones to S11X: URL:http://download.oracle.com/docs/cd/E19963-01/html/821-1460/gjroc.html cpio(1) fails due = 8GB filesize limit. (See largefile(5).) Using pax results in a zone with foobar'd permissions. S10# pax -w -@ -p e -x xustar -f /zones/my-zone.pax my-zone S11# zoneadm -z my-zone attach -a /zones/my-zone.pax However, If I extract my-zone.pax and attach with -d, the zone's permissions appears kosher. S11# pax -r -@ -p e -f /zones/my-zone.pax S11# zoneadm -z my-zone attach -d /zones/my-zone I'm guessing zoneadm(1M)'s call to pax(1) with -a pax_archive is broken and zoneadm(1M)'s underlying use of cpio(1) with -d zone/root has the filesize limit. John groenv...@acm.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] S10 zone migration with pax(1)
On Wed 15 Jun 2011 at 09:17PM, John D Groenveld wrote: Following this recipe to migrate my non-global S10 zones to S11X: URL:http://download.oracle.com/docs/cd/E19963-01/html/821-1460/gjroc.html cpio(1) fails due = 8GB filesize limit. (See largefile(5).) Using pax results in a zone with foobar'd permissions. S10# pax -w -@ -p e -x xustar -f /zones/my-zone.pax my-zone S11# zoneadm -z my-zone attach -a /zones/my-zone.pax However, If I extract my-zone.pax and attach with -d, the zone's permissions appears kosher. S11# pax -r -@ -p e -f /zones/my-zone.pax S11# zoneadm -z my-zone attach -d /zones/my-zone A quick look suggests that the differences between your 'pax -r' args and what attach uses is '-@ -p e'. See install_pax() in /usr/lib/brand/shared/common.ksh. If you update this line: ( cd $ARCHIVE_BASE pax -r -f $archive $filtopt ) to: ( cd $ARCHIVE_BASE pax -r -@ -p e -f $archive $filtopt ) give 'zoneadm -z myzone attach -a' another whirl, and report back, I would be most appreciative. I'm guessing zoneadm(1M)'s call to pax(1) with -a pax_archive is broken and zoneadm(1M)'s underlying use of cpio(1) with -d zone/root has the filesize limit. Sounds like reasonable guesses, but I wouldn't expect cpio would have an issue with stream size in pass mode. Do you have any file (including sparse files) with a size 4 GB? -- Mike Gerdts Solaris Core OS / Zones ___ zones-discuss mailing list zones-discuss@opensolaris.org