
{"id":37,"date":"2009-09-25T22:24:49","date_gmt":"2009-09-25T18:24:49","guid":{"rendered":"http:\/\/denfromengl.wordpress.com\/?p=37"},"modified":"2011-02-02T12:08:53","modified_gmt":"2011-02-02T09:08:53","slug":"%d0%bc%d0%be%d0%bd%d1%82%d0%b8%d1%80%d1%83%d0%b5%d0%bc-zfs-%d0%b2-debian-5-0-3-lenny","status":"publish","type":"post","link":"http:\/\/denfromengl.ru\/blog\/?p=37","title":{"rendered":"\u041c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c ZFS \u0432 Debian 5.0.3 lenny"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignleft size-full wp-image-263\" title=\"debian-logo(64x64)\" src=\"http:\/\/denfromengl.ru\/blog\/wp-content\/uploads\/2009\/09\/debian-logo64x641.png\" alt=\"\" width=\"64\" height=\"64\" \/><img loading=\"lazy\" class=\"alignleft size-full wp-image-272\" title=\"plus__orange(32x64)\" src=\"http:\/\/denfromengl.ru\/blog\/wp-content\/uploads\/2009\/04\/plus__orange32x64.png\" alt=\"\" width=\"32\" height=\"64\" \/><img loading=\"lazy\" class=\"alignleft size-full wp-image-264\" title=\"zfs(64x64)\" src=\"http:\/\/denfromengl.ru\/blog\/wp-content\/uploads\/2009\/09\/zfs64x64.png\" alt=\"\" width=\"64\" height=\"64\" \/>\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043c\u0430\u0448\u043d\u044e\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0421\u043e\u043b\u044f\u0440\u0438\u0441\u0430 \u0432 \u041b\u0438\u043d\u0443\u043a\u0441\u0435. \u0427\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c: Debian 5.0.3 lenny \u0438 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 ZFS \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u043e\u0438\u0442 OpenSolaris 2009.06.<\/p>\n<p>\u0411\u0443\u0434\u0435\u043c \u0432\u0441\u0451 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e zfs-fuse. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0441 \u0441\u0430\u0439\u0442\u0430 <a href=\"http:\/\/rudd-o.com\/new-projects\/zfs\/\" target=\"_blank\">http:\/\/rudd-o.com\/new-projects\/zfs\/<\/a> \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438\u00a0 \u0431\u044b\u043b\u0430 0.6.0. \u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0430\u0440\u0445\u0438\u0432, \u0443 \u043c\u0435\u043d\u044f \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 ~\/source\/zfs-fuse-0.6.0.<\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b:<\/p>\n<pre><span style=\"color: #008000;\"># apt-get install fuse-utils libfuse-dev libfuse2 scons libaio1 libaio-dev<\/span><\/pre>\n<p>\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 \u043d\u0430\u0448\u0435\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439<\/p>\n<pre><span style=\"color: #008000;\">$ cd ~\/source\/zfs-fuse-0.6.0\/src<\/span><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435<\/p>\n<pre><span style=\"color: #008000;\">$ scons\n<\/span><span style=\"color: #008000;\"># scons install<\/span><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0441\u0451 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u043e\u0441\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443:<\/p>\n<pre><span style=\"color: #008000;\"># zfs-fuse &amp;<\/span><span style=\"color: #008000;\"> <\/span><\/pre>\n<p><span style=\"color: &amp;amp;amp;\">\u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u0435\u0441\u0442\u044c<\/span><\/p>\n<pre><span style=\"color: #000000;\"><span style=\"color: #008000;\"># zpool import<\/span> <\/span><span style=\"color: #000000;\"> <\/span><\/pre>\n<p><span style=\"color: #808080;\"><em>pool: rpool<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> id: 9950776746572433239<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> state: ONLINE<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> status: The pool was last accessed by another system.<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> action: The pool can be imported using its name or numeric identifier and <\/em><\/span><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> the &#39;-f&#39; flag.<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> see: http:\/\/www.sun.com\/msg\/ZFS-8000-EY<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> <\/em><\/span><span style=\"color: #808080;\"><em> config: <\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #0000ff;\"><span style=\"color: #808080;\"><em> <\/em><\/span><em> <\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #0000ff;\"><span style=\"color: #808080;\"><em>rpool       ONLINE<\/em><\/span><span style=\"color: #808080;\"><em> <\/em><\/span><\/span><\/p>\n<p><span style=\"color: #0000ff;\"><span style=\"color: #808080;\"><em> hda5      ONLINE<\/em><\/span> <\/span><\/p>\n<p><span style=\"color: #000000;\">\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c<\/span><\/p>\n<pre><span style=\"color: #008000;\"># zpool import -f rpool <\/span><\/pre>\n<p><span style=\"color: #008000;\"><span style=\"color: #808080;\"><em>\u0410\u0432\u0430\u0440\u0438\u0439\u043d\u044b\u0439 \u043e\u0441\u0442\u0430\u043d\u043e\u0432<\/em><\/span><\/span><\/p>\n<p><span style=\"color: #008000;\"><span style=\"color: #000000;\">\u041d\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f. \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u0435\u0441\u0442\u044c:<\/span><\/span><\/p>\n<pre><span style=\"color: #008000;\"># zfs list<\/span><\/pre>\n<p><span style=\"color: #808080;\"><em>NAME                               USED  AVAIL  REFER  MOUNTPOINT<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool                             13,0G  96,2G    84K  \/rpool<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/ROOT                        5,90G  96,2G    19K  legacy<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/ROOT\/BE1                    5,15M  96,2G  5,10G  \/<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/ROOT\/be4                    39,7M  96,2G  5,10G  \/<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/ROOT\/be5                     140M  96,2G  5,10G  \/<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/ROOT\/beSecond               5,56G  96,2G  5,09G  \/<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/ROOT\/opensolaris             162M  96,2G  3,35G  \/<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/dump                         511M  96,2G   511M&nbsp;&mdash; <\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/export                      6,13G  96,2G    21K  \/export<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/export\/home                 6,13G  96,2G    22K  \/export\/home<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/export\/home\/Zone1             59K  96,2G    21K  \/export\/home\/Zone1<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/export\/home\/Zone1\/ROOT        38K  96,2G    19K  legacy<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/export\/home\/Zone1\/ROOT\/zbe    19K  96,2G    19K  legacy<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/export\/home\/den             6,13G  96,2G  4,86G  \/export\/home\/den<\/em><\/span><\/p>\n<p><em> <\/em><\/p>\n<p><span style=\"color: #808080;\"><em> rpool\/swap                         512M  96,5G   278M&nbsp;&mdash; <\/em><\/span><span style=\"color: #008000;\"><span style=\"color: #0000ff;\"> <\/span><\/span><\/p>\n<p><span style=\"color: #008000;\"><span style=\"color: #000000;\">\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c<\/span><\/span><\/p>\n<pre><span style=\"color: #008000;\"># zfs mount rpool\n<\/span><span style=\"color: #008000;\"># zfs mount rpool\/export\/home\/den<\/span><\/pre>\n<p><span style=\"color: #008000;\"><span style=\"color: #000000;\">\u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438<br \/>\n<\/span><\/span><\/p>\n<pre><span style=\"color: #008000;\"><span style=\"color: #000000;\"> <span style=\"color: #008000;\"># ls -n \/ | grep export<\/span>\n<\/span><\/span><\/pre>\n<p><span style=\"color: #008000;\"><span style=\"color: #000000;\"> <\/span><\/span><\/p>\n<h4><span style=\"color: #008000;\"><span style=\"color: #000000;\"> <\/span><\/span><\/h4>\n<p><span style=\"color: #008000;\"><span style=\"color: #000000;\"> <span style=\"color: #808080;\"><em>drwxr-xr-x   3 0 0   72 \u0421\u0435\u043d 25 21:51 export<\/em><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #008000;\"><span style=\"color: #000000;\">\u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0414\u043e\u043c\u0430\u0448\u043d\u044f\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u00a0Solaris \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430. \u041c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0447\u0442\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u043f\u0438\u0441\u0438, \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 root \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f.<br \/>\n<\/span><\/span><\/p>\n<p><span style=\"color: #008000;\"><span style=\"color: #0000ff;\"> <\/span><span style=\"color: #008000;\"> <\/span> <\/span><\/p>\n<p><span style=\"color: #000000;\"><br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043c\u0430\u0448\u043d\u044e\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0421\u043e\u043b\u044f\u0440\u0438\u0441\u0430 \u0432 \u041b\u0438\u043d\u0443\u043a\u0441\u0435. \u0427\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c: Debian 5.0.3 lenny \u0438 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 ZFS \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u043e\u0438\u0442 OpenSolaris 2009.06. \u0411\u0443\u0434\u0435\u043c \u0432\u0441\u0451 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e zfs-fuse. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0441 \u0441\u0430\u0439\u0442\u0430 http:\/\/rudd-o.com\/new-projects\/zfs\/ \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438\u00a0 \u0431\u044b\u043b\u0430 0.6.0. \u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0430\u0440\u0445\u0438\u0432, \u0443 \u043c\u0435\u043d\u044f \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 ~\/source\/zfs-fuse-0.6.0. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b: # apt-get install fuse-utils [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[6,8],"_links":{"self":[{"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=\/wp\/v2\/posts\/37"}],"collection":[{"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":0,"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions"}],"wp:attachment":[{"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/denfromengl.ru\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}