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

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



Sorry .   This way NOT work due to disk large than 2TB.  That is reason I use "parted" instead of "fdisk".

# fdisk /dev/sde

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


The number of cylinders for this disk is set to 382536.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

WARNING: The size of this disk is 3.1 TB (3146466197504 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID 
partition table format (GPT).


Command (m for help): p

Disk /dev/sde: 3146.4 GB, 3146466197504 bytes
255 heads, 63 sectors/track, 382536 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1      267350  2147483647+  ee  EFI GPT




--- 10/12/16 (å)ïTommy E Craddock Jr <tommy@xxxxxxxxxxxxxx> åéï

> åäè: Tommy E Craddock Jr <tommy@xxxxxxxxxxxxxx>
> äæ: Re:  use parted to create "raw paration"????
> æäè: "CentOS mailing list" <centos@xxxxxxxxxx>
> ææ: 2010å12æ16æ,å,äå11:21
> Hello,
> 
> I use fdisk. 
> 
> fdisk /dev/sde
> 
> Hit p to see the list of partitions. Press d to
> delete a partition. Press n for a new partition.Â
> 
> 
> 
> Hope that helps.
> 
> 
> 
> Tommy
> 
> On Dec 16, 2010, at 11:12 AM, mcclnx mcc <mcclnx@xxxxxxxxxxxx>
> wrote:
> 
> > we have CENTOS 5.5 on X86. I tried to create a
> "raw partition" (NOT FS) on a disk and it continue to show
> "ext3". How can I get ride of it?
> > 
> > 
> > ===ÂÂÂprocedures=====
> > 
> > # parted /dev/sde
> > GNU Parted 1.8.1
> > Using /dev/sde
> > Welcome to GNU Parted! Type 'help' to view a list of
> commands.
> > (parted) p     Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â 
> > 
> > Model: DELL PERC 5/E Adapter (scsi)
> > Disk /dev/sde: 3146GB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: gpt
> > 
> > Number StartÂÂÂEnd Â
> SizeÂÂÂFile system Name Â
> Â Flags
> > 1Â Â Â 17.4kBÂ 120GBÂ
> 120GBÂ Â Â Â Â Â
> ÂÂÂprimary    
> > 2Â Â Â
> 120GBÂÂÂ240GBÂ 120GBÂ ext3Â
> Â Â ÂÂÂprimary2Â 
> > 
> > (parted) rm 2Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â
> ÂÂÂ
> > (parted) p     Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â 
> > 
> > Model: DELL PERC 5/E Adapter (scsi)
> > Disk /dev/sde: 3146GB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: gpt
> > 
> > Number StartÂÂÂEnd Â
> SizeÂÂÂFile system NameÂ
> ÂÂÂFlags
> > 1Â Â Â 17.4kBÂ 120GBÂ
> 120GBÂ Â Â Â Â ÂÂÂ
> > 
> > (parted) mkpart prm2 120g 240g  Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â Â 
> > (parted) p     Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â Â
> Â Â 
> > 
> > Model: DELL PERC 5/E Adapter (scsi)
> > Disk /dev/sde: 3146GB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: gpt
> > 
> > Number StartÂÂÂEnd Â
> SizeÂÂÂFile system NameÂ
> ÂÂÂFlags
> > 1Â Â Â 17.4kBÂ 120GBÂ
> 120GBÂ Â Â Â Â Â
> ÂÂÂprimary  ÂÂÂ
> > 2Â Â Â
> 120GBÂÂÂ240GBÂ 120GBÂ ext3Â
> Â Â ÂÂÂprm2Â Â Â
> Â Â 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxx
> > http://lists.centos.org/mailman/listinfo/centos
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 


      
_______________________________________________
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