Re: use parted to create "raw paration"????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thursday, December 16, 2010 02:03:23 pm mcclnx mcc wrote:
> if disk large than 2TB, "fdisk" will not work correctly.

For GPT, use gdisk as a substitute for fdisk.  gdisk 0.6.10 is available for CentOS 4 and 5 in the RPMforge third-party repository.  The version in Fedora 14 is 0.6.13, for comparison.  Output on my laptop:
[root@localhost ~]# gdisk /dev/sda -l
GPT fdisk (gdisk) version 0.6.13

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 11223344-XXXX-XXXX-XXXX-XXXXAABBCCDD
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 525717 sectors (256.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   EF00  EFI System Partition333
   2          409640       386210423   184.0 GiB   AF00  MixBusSL333333333333333
   3       386473984       402104319   7.5 GiB     8200  LinuxSwap33333333333333
   4       402104320       484024319   39.1 GiB    0700  F14
   5       484024320       861511679   180.0 GiB   0700  LinuxHome33333333333333
   6       861511680       976510983   54.8 GiB    AF00  Interchange333333333333
[root@localhost ~]# 

Don't know why the repeated 3s are there.  
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux