GPT (GUID Partition Table)

[不指定 2009/03/29 13:26 | by askwan ]
       Linux早可以支持大于2T的块设备(Large Block Device),但是分区的时候却不能用常见的fdisk工具了,一定要用的话,会有下面的警告信息:
Quotation
[root@host2001 data]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          33      265041   83  Linux
/dev/sda2              34       12781   102398310   83  Linux
/dev/sda3           12782       14056    10241437+  82  Linux swap / Solaris

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdc: 2500.1 GB, 2500140728320 bytes
255 heads, 63 sectors/track, 303958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


上面提示fdisk工具不支持GPT,得使用另一个GNU发布的强大分区工具parted
官方链接:http://www.gnu.org/software/parted/index.shtml
若强制用fdisk分区,最后大于2T的部分系统会不能认出来!

而GPT,比较权威的解释是:
Quotation
In computer hardware, GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk. It is a part of the Extensible Firmware Interface (EFI) standard proposed by Intel as a replacement for the PC BIOS, one of the few remaining parts of the original IBM PC. EFI uses GPT whereas BIOS uses a Master Boot Record (MBR)

下面的图说明了其结构:
Open in new window
要详细了解这家伙,这篇文章或许可以帮助你:http://developer.apple.com/technotes/tn2006/tn2166.html

关于parted的用法和信息可以参看GUN专门文档:http://www.gnu.org/software/parted/manual/parted.html
就不演示了。今天正好碰到一客户遇到的这个问题,记下来给准备使用大于2T块设备的l网友一点提示。

作者:askwan@『AskWan』
地址:http://www.askwan.com/post/158/
可以转载,转载时请以链接形式注明作者和原始出处及本声明!

Tags: , , ,
Oprating System | Comments(0) | Trackbacks(0) | Reads(1218)
收藏到网摘:百度搜藏 Google书签 Yahoo收藏 新浪ViVi收藏夹 365天天网摘 天极网摘 我摘·网摘·网络书签 POCO网摘 和讯网摘 Bolaa博拉博客收录中心 天下图摘
Add a comment
Emots
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
Enable HTML
Enable UBB
Enable Emots
Hidden
Remember
Nickname   Password   Optional
Site URI   Email   [Register]