{"id":765,"date":"2010-10-11T11:30:43","date_gmt":"2010-10-11T07:30:43","guid":{"rendered":"http:\/\/www.unixpin.com\/wordpress\/?p=765"},"modified":"2010-10-12T11:32:20","modified_gmt":"2010-10-12T07:32:20","slug":"solaris-live-upgrade-2","status":"publish","type":"post","link":"https:\/\/www.unixpin.com\/?p=765","title":{"rendered":"Solaris Live Upgrade. \u0427\u0430\u0441\u0442\u044c 2. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 ZFS"},"content":{"rendered":"<ul>\n<li><a href=\"https:\/\/www.unixpin.com\/2010\/05\/12\/solaris-live-upgrade-1\/\">Solaris Live Upgrade. \u0427\u0430\u0441\u0442\u044c 1<\/a><\/li>\n<li><a href=\"https:\/\/www.unixpin.com\/2010\/10\/11\/solaris-live-upgrade-2\/\">Solaris Live Upgrade. \u0427\u0430\u0441\u0442\u044c 2. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 ZFS<\/a><\/li>\n<li><a href=\"https:\/\/www.unixpin.com\/2010\/10\/12\/solaris-live-upgrade-3\/\">Solaris Live Upgrade. \u0427\u0430\u0441\u0442\u044c 3. \u0428\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0438<\/a><\/li>\n<\/ul>\n<p>\u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u0441 ufs \u043d\u0430 zfs \u043d\u0430 \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0430 \u0437\u0430\u0441\u0430\u0434\u0430 &#8212; \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \u0434\u0438\u0441\u043a \u0438\u043c\u0435\u043b <a href=\"http:\/\/docs.sun.com\/app\/docs\/doc\/817-5093\/disksconcepts-47761?a=view\" target=\"_blank\">SMI \u043b\u044d\u0439\u0431\u043b<\/a> \u0438 \u043d\u043e\u0432\u044b\u0439 zpool \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u043b\u0441\u044f \u043d\u0430 \u0441\u043b\u0430\u0439\u0441\u0435 (\u0434\u043b\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430 &#8212; \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430 \u0441\u043b\u0430\u0439\u0441\u0435 0).<br \/>\n\u0418\u0442\u0430\u043a, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043b\u044d\u0439\u0431\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u0438\u0441\u043a \u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b.<\/p>\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u043b\u0430\u0439\u0441 0  \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0441 \u0432\u0435\u0441\u044c \u0434\u0438\u0441\u043a:<\/strong><br \/>\n<!--more--><br \/>\n<code><br \/>\n# format -e c7t20000004CFA16847d0<br \/>\nselecting c7t20000004CFA16847d0<br \/>\n[disk formatted]<br \/>\nFORMAT MENU:<br \/>\n...<br \/>\n        label      - write label to the disk<br \/>\n...<br \/>\nformat> l<br \/>\n[0] SMI Label<br \/>\n[1] EFI Label<br \/>\nSpecify Label type[1]: 0<br \/>\nWarning: This disk has an EFI label. Changing to SMI label will erase all<br \/>\ncurrent partitions.<br \/>\nContinue? y<br \/>\nAuto configuration via format.dat[no]?<br \/>\nAuto configuration via generic SCSI-2[no]?<br \/>\nformat> p<br \/>\npartition> p<br \/>\nCurrent partition table (unnamed):<br \/>\nTotal disk cylinders available: 14087 + 2 (reserved cylinders)<br \/>\nPart      Tag    Flag     Cylinders         Size            Blocks<br \/>\n  0       root    wm       0 - 14086       68.35GB    (14087\/0\/0) 143349312<br \/>\n  1 unassigned    wu       0                0         (0\/0\/0)             0<br \/>\n  2     backup    wu       0 - 14086       68.35GB    (14087\/0\/0) 143349312<br \/>\n  3 unassigned    wm       0                0         (0\/0\/0)             0<br \/>\n  4 unassigned    wm       0                0         (0\/0\/0)             0<br \/>\n  5 unassigned    wm       0                0         (0\/0\/0)             0<br \/>\n  6 unassigned    wm       0                0         (0\/0\/0)             0<br \/>\n  7 unassigned    wm       0                0         (0\/0\/0)             0<br \/>\npartition> l<br \/>\n[0] SMI Label<br \/>\n[1] EFI Label<br \/>\nSpecify Label type[0]:<br \/>\nReady to label disk, continue? y<br \/>\npartition> ^D<br \/>\n<\/code><\/p>\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 zfs \u043f\u0443\u043b:<\/strong><br \/>\n<code><br \/>\n# zpool  create rpool c7t20000004CFA16847d0s0<br \/>\n# zpool list<br \/>\nNAME    SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT<br \/>\nrpool    68G    94K  68.0G     0%  ONLINE  -<br \/>\n<\/code><\/p>\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u0443\u044e \u0441\u0440\u0435\u0434\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438:<\/strong><br \/>\n<code><br \/>\n# lucreate  -c s10_1  -p rpool -n s10_2<br \/>\nAnalyzing system configuration.<br \/>\nNo name for current boot environment.<br \/>\nCurrent boot environment is named \"s10_1\".<br \/>\nCreating initial configuration for primary boot environment \"s10_1\".<br \/>\nWARNING: The device \"\/dev\/md\/dsk\/d0\" for the root file system mount point \"\/\" is not a physical device.<br \/>\nWARNING: The system boot prom identifies the physical device \"\/dev\/dsk\/c7t20000004CFA1686Ad0s0\" as the system boot device.<br \/>\n...<br \/>\nCreation of boot environment \"s10_2\" successful.<br \/>\n<\/code><\/p>\n<p><strong>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0441\u0440\u0435\u0434\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 shutdown \u0438\u043b\u0438 init):<\/strong><br \/>\n<code><br \/>\n# luactivate -n s10_2<br \/>\n# shutdown -g0 -y -i6<br \/>\n<\/code><br \/>\n\u0412\u043e\u043e\u0442 \u0432\u043e\u043e\u0431\u0449\u0435\u043c \u0442\u043e \u0438 \u0432\u0441\u0435.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u044b \u043f\u0435\u0440\u0435\u0448\u043b\u0438 \u043d\u0430 zfs &#8212; \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0439 \u0441\u0440\u0435\u0434\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442<br \/>\n\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0438\u043b\u0438 \u0434\u0438\u0441\u043a\u0430 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u043e\u043a\u043e\u043b\u043e 1 \u043c\u0438\u043d\u0443\u0442\u044b.<br \/>\n\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<br \/>\n<code><br \/>\n# lucreate -n s10_3<br \/>\nAnalyzing system configuration.<br \/>\nComparing source boot environment \"s10_2\" file systems with the file<br \/>\nsystem(s) you specified for the new boot environment. Determining which<br \/>\nfile systems should be in the new boot environment.<br \/>\nUpdating boot environment description database on all BEs.<br \/>\nUpdating system configuration files.<br \/>\nCreating configuration for boot environment \"s10_3\".<br \/>\nSource boot environment is \"s10_2\".<br \/>\nCreating boot environment \"s10_3\".<br \/>\nCloning file systems from boot environment \"s10_2\" to create boot environment \"s10_3.<br \/>\nCreating snapshot for \"rpool\/ROOT\/s10_2\" on \"rpool\/ROOT\/s10_2@s10_3\".<br \/>\nCreating clone for \"rpool\/ROOT\/s10_2@s10_3\" on \"rpool\/ROOT\/s10_3\".<br \/>\nSetting canmount=noauto for  in zone <global> on \"rpool\/ROOT\/s10_3\".<br \/>\nPopulation of boot environment \"s10_3\" successful.<br \/>\nCreation of boot environment \"s10_3\" successful.<br \/>\n<\/global><\/code><\/p>\n<hr \/>\n<p><strong>\u0421\u0441\u044b\u043b\u043a\u0438 \u0432 \u0442\u0435\u043c\u0443:<\/strong><\/p>\n<ul>\n<li><a href='http:\/\/docs.sun.com\/app\/docs\/doc\/816-5166\/luupgrade-1m'>man luupgrade<\/a><\/li>\n<li><a href='http:\/\/docs.sun.com\/app\/docs\/doc\/816-5166\/lucreate-1m?a=view'>man lucreate<\/a><\/li>\n<li><a href='http:\/\/docs.sun.com\/app\/docs\/doc\/820-0836\/gavwq?l=ru&#038;a=browse'>\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c ZFS Solaris<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Solaris Live Upgrade. \u0427\u0430\u0441\u0442\u044c 1 Solaris Live Upgrade. \u0427\u0430\u0441\u0442\u044c 2. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 ZFS Solaris Live Upgrade. \u0427\u0430\u0441\u0442\u044c 3. \u0428\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0438 \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u0441 ufs \u043d\u0430 zfs \u043d\u0430 \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0430 \u0437\u0430\u0441\u0430\u0434\u0430 &#8212; \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \u0434\u0438\u0441\u043a \u0438\u043c\u0435\u043b SMI \u043b\u044d\u0439\u0431\u043b \u0438 \u043d\u043e\u0432\u044b\u0439 zpool \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u043b\u0441\u044f \u043d\u0430 \u0441\u043b\u0430\u0439\u0441\u0435 (\u0434\u043b\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430 &#8212; \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430 \u0441\u043b\u0430\u0439\u0441\u0435 0). \u0418\u0442\u0430\u043a, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,899,372],"tags":[393,895,894,727,832,819,27,117,622,898,897,896],"class_list":["post-765","post","type-post","status-publish","format-standard","hentry","category-sun","category-solaris","category-unix-solaris-zfs","category-372","tag-boot","tag-enviroment","tag-liveupgrade","tag-lu","tag-solaris-live-upgrade","tag-ufs","tag-unix-solaris","tag-zfs","tag-622","tag-898","tag-897","tag-896"],"_links":{"self":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=765"}],"version-history":[{"count":10,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/765\/revisions"}],"predecessor-version":[{"id":793,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/765\/revisions\/793"}],"wp:attachment":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}