{"id":42,"date":"2021-01-12T09:53:36","date_gmt":"2021-01-12T00:53:36","guid":{"rendered":"https:\/\/ubuntu.auctionpro.co.kr\/?page_id=42"},"modified":"2021-09-03T16:06:34","modified_gmt":"2021-09-03T07:06:34","slug":"%ed%95%98%eb%93%9c-%ec%b6%94%ea%b0%80","status":"publish","type":"page","link":"https:\/\/ubuntu.auctionpro.co.kr\/?page_id=42","title":{"rendered":"ubuntu\uc5d0 \uc678\uc7a5\ud558\ub4dc \ucd94\uac00"},"content":{"rendered":"<h3>remark<\/h3>\n<p>\uae30\uc874 \uc6a9\ub7c9\uc774 \uc791\uc544 64G \uc678\uc7a5 \ud558\ub4dc\uc124\uce58\ud6c4 \ub9c8\uc6b4\ud2f4 \uacfc\uc7a5<\/p>\n<pre class=\"lang:default decode:true \"> \n$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL\nNAME        FSTYPE  SIZE MOUNTPOINT LABEL\nsdb         exfat  59.6G\nmmcblk0            14.9G\n\u251c\u2500mmcblk0p1 vfat    2.4G            RECOVERY\n\u251c\u2500mmcblk0p2           1K\n\u251c\u2500mmcblk0p5 ext4     32M            SETTINGS\n\u251c\u2500mmcblk0p6 vfat    256M \/boot      boot\n\u2514\u2500mmcblk0p7 ext4   12.2G \/          root\n<\/pre>\n<h3>\ub514\uc2a4\ud2b8 \uc124\uba85<\/h3>\n<p>sdb exfat 59.6G : \uc0c8\ub85c \ucd94\uac00 \ud558\ub4dc<br \/>\n\u251c\u2500mmcblk0p6 vfat 256M \/boot boot : \ubd80\ud305<br \/>\n\u2514\u2500mmcblk0p7 ext4 12.2G \/ root : \ub8e8\ud2b8<\/p>\n<p>\ud30c\ud2f0\uc158 \uc0dd\uc131 fdisk \/dev\/sdb<\/p>\n<pre class=\"lang:default decode:true\">$ sudo fdisk \/dev\/sdb\n\nWelcome to fdisk (util-linux 2.33.1).\nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n\n\nCommand (m for help): n\nTo create more partitions, first replace a primary with an extended partition.\n\nCommand (m for help): p\nDisk \/dev\/sdb: 59.6 GiB, 64030244864 bytes, 125059072 sectors\nDisk model: USB CF Reader\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O size (minimum\/optimal): 512 bytes \/ 512 bytes\nDisklabel type: dos\nDisk identifier: 0x00000000\n\nDevice     Boot      Start        End    Sectors  Size Id Type\n\/dev\/sdb1       4294967295 8589934589 4294967295    2T ff BBT\n\/dev\/sdb2       4294967295 8589934589 4294967295    2T ff BBT\n\/dev\/sdb3       4294967295 8589934589 4294967295    2T ff BBT\n\/dev\/sdb4       4294967295 6854241533 2559274239  1.2T ff BBT\n\nCommand (m for help): w\nThe partition table has been altered.\nCalling ioctl() to re-read partition table.\nSyncing disks.\n\n<\/pre>\n<p>\uc0dd\uc131\ub41c \ud30c\ud2f0\uc158 \ud3ec\uba67 mkfs.ext4 \/dev\/sdb<\/p>\n<pre class=\"lang:default decode:true\">$ sudo mkfs.ext4 \/dev\/sdb\nmke2fs 1.44.5 (15-Dec-2018)\n\/dev\/sdb contains a exfat file system\nProceed anyway? (y,N) y\nCreating filesystem with 15632384 4k blocks and 3908128 inodes\nFilesystem UUID: 976efdf0-1092-4441-8f52-96c46b9e1f92\nSuperblock backups stored on blocks:\n        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,\n        4096000, 7962624, 11239424\n\nAllocating group tables: done\nWriting inode tables: done\nCreating journal (65536 blocks):\ndone\nWriting superblocks and filesystem accounting information: done\n<\/pre>\n<p>UUID \ud655\uc778 blkid<\/p>\n<pre class=\"lang:default decode:true\">$ sudo blkid\n\n\/dev\/mmcblk0p6: LABEL_FATBOOT=\"boot\" LABEL=\"boot\" UUID=\"0210-42E2\" TYPE=\"vfat\" PARTUUID=\"00015d73-06\"\n\/dev\/mmcblk0p7: LABEL=\"root\" UUID=\"34fb8ee7-ff17-4ad8-9dbd-6b2cb6a86014\" TYPE=\"ext4\" PARTUUID=\"00015d73-07\"\n\/dev\/sdb: UUID=\"976efdf0-1092-4441-8f52-96c46b9e1f92\" TYPE=\"ext4\"\n\/dev\/mmcblk0: PTUUID=\"00015d73\" PTTYPE=\"dos\"\n<\/pre>\n<p>Mount&nbsp; &nbsp;\ud560 \ub514\ub809\ud1a0\ub9ac(data) \uc0dd\uc131<\/p>\n<pre class=\"lang:default decode:true\">sudo mkdir -p \/data<\/pre>\n<p>fstab \ud30c\uc77c\uc5d0 \ub9c8\uc6b4\ud2b8 \uc815\ubcf4 \ucd94\uac00<\/p>\n<pre class=\"lang:default decode:true \">sudo nano \/etc\/fstab<\/pre>\n<p>\ub9c8\uc9c0\ub9c9\uc5d0&nbsp; \ub2e4\uc74c \ud615\uc2dd \ucd94\uac00<\/p>\n<pre class=\"lang:default decode:true\">UUID=976efdf0-1092-4441-8f52-96c46b9e1f92 \/data ext4 defaults 0 0<\/pre>\n<p>Mount \uc801\uc6a9 \uba85\ub839\uc5b4 mount -a<\/p>\n<pre class=\"lang:default decode:true\">sudo mount -a<\/pre>\n<p>\ud655\uc778 df -h<\/p>\n<pre class=\"lang:default decode:true\">$sudo  df -h\nFilesystem      Size  Used Avail Use% Mounted on\n\/dev\/root        12G  8.9G  2.4G  80% \/\ndevtmpfs        405M     0  405M   0% \/dev\ntmpfs           438M     0  438M   0% \/dev\/shm\ntmpfs           438M   45M  393M  11% \/run\ntmpfs           5.0M  4.0K  5.0M   1% \/run\/lock\ntmpfs           438M     0  438M   0% \/sys\/fs\/cgroup\n\/dev\/mmcblk0p6  253M   54M  199M  22% \/boot\ntmpfs            88M     0   88M   0% \/run\/user\/1000\n\/dev\/sdb         59G   53M   56G   1% \/data\n<\/pre>\n<p>\uc4f0\uae30\uad8c\ud55c<\/p>\n<pre class=\"lang:default decode:true \">sudo chmod -R 777 \/data<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>remark \uae30\uc874 \uc6a9\ub7c9\uc774 \uc791\uc544 64G \uc678\uc7a5 \ud558\ub4dc\uc124\uce58\ud6c4 \ub9c8\uc6b4\ud2f4 \uacfc\uc7a5 $ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL NAME FSTYPE SIZE MOUNTPOINT LABEL sdb exfat 59.6G mmcblk0 14.9G \u251c\u2500mmcblk0p1 vfat 2.4G RECOVERY \u251c\u2500mmcblk0p2 1K \u251c\u2500mmcblk0p5 ext4 32M SETTINGS \u251c\u2500mmcblk0p6 vfat 256M \/boot boot \u2514\u2500mmcblk0p7 ext4 12.2G \/ root \ub514\uc2a4\ud2b8 \uc124\uba85 sdb exfat 59.6G : \uc0c8\ub85c \ucd94\uac00 \ud558\ub4dc \u251c\u2500mmcblk0p6 vfat &hellip;<br \/><a href=\"https:\/\/ubuntu.auctionpro.co.kr\/?page_id=42\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\"><span class=\"screen-reader-text\">ubuntu\uc5d0 \uc678\uc7a5\ud558\ub4dc \ucd94\uac00<\/span> \ub354\ubcf4\uae30<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-42","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42"}],"version-history":[{"count":9,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/42\/revisions"}],"predecessor-version":[{"id":242,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/42\/revisions\/242"}],"wp:attachment":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}