{"id":3943,"date":"2015-09-04T09:50:53","date_gmt":"2015-09-04T09:50:53","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=3943"},"modified":"2015-09-04T09:51:40","modified_gmt":"2015-09-04T09:51:40","slug":"freebsd-geom-partition-utility","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=3943","title":{"rendered":"FreeBSD GEOM Partition Utility"},"content":{"rendered":"<p>GEOM is the main storage framework for the FreeBSD operating system. It is available in FreeBSD 5.0 and higher and provides a standardized way to access storage layers. GEOM is modular and allows for geom modules to connect to the framework.<\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/GEOM\">Wikipedia: GEOM<\/a><br \/>\n<a href=\"https:\/\/www.freebsd.org\/doc\/handbook\/geom.html\">FreeBSD Handbook: GEOM: Modular Disk Transformation Framework<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# fdisk \/dev\/da1\r\n******* Working on device \/dev\/da1 *******\r\nparameters extracted from in-core disklabel are:\r\ncylinders=3892 heads=255 sectors\/track=63 (16065 blks\/cyl)\r\n\r\nFigures below won't work with BIOS for partitions not in cyl 1\r\nparameters to be used for BIOS calculations are:\r\ncylinders=3892 heads=255 sectors\/track=63 (16065 blks\/cyl)\r\n\r\nMedia sector size is 512\r\nWarning: BIOS sector numbering starts with sector 1\r\nInformation from DOS bootblock is:\r\nThe data for partition 1 is:\r\nsysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))\r\n    start 32, size 62530592 (30532 Meg), flag 80 (active)\r\n        beg: cyl 0\/ head 0\/ sector 33;\r\n        end: cyl 1023\/ head 254\/ sector 63\r\nThe data for partition 2 is:\r\n&lt;UNUSED&gt;\r\nThe data for partition 3 is:\r\n&lt;UNUSED&gt;\r\nThe data for partition 4 is:\r\n&lt;UNUSED&gt;\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# gpart show\r\n=&gt;      34  29323661  ada0  GPT  (14G)\r\n        34       128     1  freebsd-boot  (64K)\r\n       162  27262848     2  freebsd-ufs  (13G)\r\n  27263010   1466368     3  freebsd-swap  (716M)\r\n  28729378    594317        - free -  (290M)\r\n\r\n=&gt;       1  62533295  da1  MBR  (30G)\r\n         1        31       - free -  (16K)\r\n        32  62530592    1  !12  &#x5B;active]  (30G)\r\n  62530624      2672       - free -  (1.3M)\r\n\r\n=&gt;       1  62533295  diskid\/DISK-AA010922140523382836  MBR  (30G)\r\n         1        31                                    - free -  (16K)\r\n        32  62530592                                 1  !12  &#x5B;active]  (30G)\r\n  62530624      2672                                    - free -  (1.3M)\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>GEOM is the main storage framework for the FreeBSD operating system. It is available in FreeBSD 5.0 and higher and provides a standardized way to access storage layers. GEOM is modular and allows for geom modules to connect to the framework. Wikipedia: GEOM FreeBSD Handbook: GEOM: Modular Disk Transformation Framework # fdisk \/dev\/da1 ******* Working [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3943","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/3943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3943"}],"version-history":[{"count":2,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/3943\/revisions"}],"predecessor-version":[{"id":3945,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/3943\/revisions\/3945"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}