{"id":797,"date":"2015-07-04T17:30:38","date_gmt":"2015-07-04T08:30:38","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=797"},"modified":"2015-07-04T17:30:38","modified_gmt":"2015-07-04T08:30:38","slug":"post-797","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/07\/04\/post-797.html","title":{"rendered":"pi2 fedora22 \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u62e1\u5f35"},"content":{"rendered":"

16GB \u306e SD Card \u306a\u306e\u3067\u3001\u6b8b\u308a\u3092 \/ \u306b\u62e1\u5f35\u3057\u305f\u3044\u306e\u3067\u3001\u30e1\u30e2\u3002<\/p>\n

 <\/p>\n

\u30fb\u73fe\u72b6\u306e\u78ba\u8a8d\u3002<\/p>\n

[root@pi2 log]# df -h\n\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9   \u30b5\u30a4\u30ba  \u4f7f\u7528  \u6b8b\u308a \u4f7f\u7528% \u30de\u30a6\u30f3\u30c8\u4f4d\u7f6e\n\/dev\/root        3.5G  1.4G  2.0G   41% \/\ndevtmpfs         459M     0  459M    0% \/dev\ntmpfs            464M     0  464M    0% \/dev\/shm\ntmpfs            464M  348K  463M    1% \/run\ntmpfs            464M     0  464M    0% \/sys\/fs\/cgroup\n\/dev\/mmcblk0p1   200M   21M  180M   11% \/boot\ntmpfs             93M     0   93M    0% \/run\/user\/0\n[root@pi2 log]#

[root@pi2 ~]# blkid
\/dev\/mmcblk0p1: SEC_TYPE="msdos" UUID="509F-31B8" TYPE="vfat" PARTUUID="0008037c-01"
\/dev\/mmcblk0p2: LABEL="_\/" UUID="7c321d6b-f2b0-4783-9576-e3dfe657f9b3" TYPE="ext4" PARTUUID="0008037c-02"
\/dev\/mmcblk0: PTUUID="0008037c" PTTYPE="dos"
[root@pi2 ~]# <\/p> <\/pre>\n

[root@pi2 ~]# blkid\n\/dev\/mmcblk0p1: SEC_TYPE="msdos" UUID="509F-31B8" TYPE="vfat" PARTUUID="0008037c-01"\n\/dev\/mmcblk0p2: LABEL="_\/" UUID="7c321d6b-f2b0-4783-9576-e3dfe657f9b3" TYPE="ext4" PARTUUID="0008037c-02"\n\/dev\/mmcblk0: PTUUID="0008037c" PTTYPE="dos"\n[root@pi2 ~]# <\/pre>\n
[root@pi2 ~]# ll \/dev\/mm*\nbrw-rw---- 1 root disk 179, 0  1\u6708  1  1970 \/dev\/mmcblk0\nbrw-rw---- 1 root disk 179, 1  1\u6708  1  1970 \/dev\/mmcblk0p1\nbrw-rw---- 1 root disk 179, 2  1\u6708  1  1970 \/dev\/mmcblk0p2\n[root@pi2 ~]# <\/pre>\n

 <\/p>\n

boot \u306b200M \/ \u306b 3.5GB \u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n

\u62e1\u5f35\u306e\u6d41\u308c\u306f\u3001<\/p>\n

\u30fb\u6700\u7d42\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u5f8c\u308d\u304c\u3042\u3044\u3066\u3044\u308c\u3070
\n
\u30fbfdisk \u3067\u30b5\u30a4\u30ba\u62e1\u5f35\u3057\u3001<\/p>\n

\u30fb\u30ea\u30d6\u30fc\u30c8\u5f8c\u306b\u3001\u30ea\u30b5\u30a4\u30ba<\/p>\n

\u306a\u611f\u3058\u3002<\/p>\n

[root@pi2 log]# fdisk \/dev\/mmcblk0\nn\n2\n\u6700\u521d\u306e\u30bb\u30af\u30bf (411648-31356927, \u65e2\u5b9a\u5024 411648): \u30a8\u30f3\u30bf\u30fc\n\u6700\u7d42\u30bb\u30af\u30bf, +\u30bb\u30af\u30bf\u756a\u53f7 \u307e\u305f\u306f +\u30b5\u30a4\u30ba{K,M,G,T,P} (411648-31356927, \u65e2\u5b9a\u5024 31356927): \u30a8\u30f3\u30bf\u30fc\nw<\/pre>\n

\u30ea\u30d6\u30fc\u30c8\u3057\u3001\u305d\u306e\u5f8c\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u62e1\u5f35\u3057\u307e\u3059\u3002<\/p>\n

[root@pi2 ~]# resize2fs \/dev\/mmcblk0p2\nresize2fs 1.42.12 (29-Aug-2014)\nFilesystem at \/dev\/mmcblk0p2 is mounted on \/; on-line resizing required\nold_desc_blocks = 1, new_desc_blocks = 1\nThe filesystem on \/dev\/mmcblk0p2 is now 3868160 (4k) blocks long.<\/pre>\n

\u78ba\u8a8d\u3002<\/p>\n

[root@pi2 ~]# df -T\n\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9   \u30bf\u30a4\u30d7   1K-\u30d6\u30ed\u30c3\u30af    \u4f7f\u7528   \u4f7f\u7528\u53ef \u4f7f\u7528% \u30de\u30a6\u30f3\u30c8\u4f4d\u7f6e\n\/dev\/root      ext4        15196556 1215912 13927400    9% \/\ndevtmpfs       devtmpfs      469832       0   469832    0% \/dev\ntmpfs          tmpfs         474128       0   474128    0% \/dev\/shm\ntmpfs          tmpfs         474128     348   473780    1% \/run\ntmpfs          tmpfs         474128       0   474128    0% \/sys\/fs\/cgroup\n\/dev\/mmcblk0p1 vfat          204580   20772   183808   11% \/boot\ntmpfs          tmpfs          94828       0    94828    0% \/run\/user\/0\n[root@pi2 ~]# \n\n[root@pi2 ~]# df -h\n\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9   \u30b5\u30a4\u30ba  \u4f7f\u7528  \u6b8b\u308a \u4f7f\u7528% \u30de\u30a6\u30f3\u30c8\u4f4d\u7f6e\n\/dev\/root         15G  1.2G   14G    9% \/\ndevtmpfs         459M     0  459M    0% \/dev\ntmpfs            464M     0  464M    0% \/dev\/shm\ntmpfs            464M  348K  463M    1% \/run\ntmpfs            464M     0  464M    0% \/sys\/fs\/cgroup\n\/dev\/mmcblk0p1   200M   21M  180M   11% \/boot\ntmpfs             93M     0   93M    0% \/run\/user\/0\n[root@pi2 ~]# \n\n[root@pi2 ~]# fdisk  -l\n::\n\u30c7\u30d0\u30a4\u30b9       \u8d77\u52d5 \u958b\u59cb\u4f4d\u7f6e \u6700\u5f8c\u304b\u3089 \u30bb\u30af\u30bf \u30b5\u30a4\u30ba Id \u30bf\u30a4\u30d7\n\/dev\/mmcblk0p1          2048   411647   409600   200M  e W95 FAT16 (LBA)\n\/dev\/mmcblk0p2        411648 31356927 30945280  14.8G 83 Linux<\/pre>\n

\u62e1\u5f35\u3067\u304d\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

16GB \u306e SD Card \u306a\u306e\u3067\u3001\u6b8b\u308a\u3092 \/ \u306b\u62e1\u5f35\u3057\u305f\u3044\u306e\u3067\u3001\u30e1\u30e2\u3002   \u30fb\u73fe\u72b6\u306e\u78ba\u8a8d\u3002 [root@pi2 log]# df -h \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9 \u30b5\u30a4\u30ba \u4f7f\u7528 \u6b8b\u308a \u4f7f\u7528% \u30de\u30a6\u30f3\u30c8\u4f4d\u7f6e \/dev\/ro […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[69],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":0,"uagb_excerpt":"16GB \u306e SD Card \u306a\u306e\u3067\u3001\u6b8b\u308a\u3092 \/ \u306b\u62e1\u5f35\u3057\u305f\u3044\u306e\u3067\u3001\u30e1\u30e2\u3002   \u30fb\u73fe\u72b6\u306e\u78ba\u8a8d\u3002 [r…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/797"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=797"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/797\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}