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

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



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


[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