티스토리 뷰


 [root@localhost /]# parted /dev/sdb
GNU Parted 1.8.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel                                                          
New disk label type?  [msdos]? gpt
(parted) quit

[root@localhost /]# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1033     8193150   82  Linux swap / Solaris
/dev/sda3            1034        1160     1020127+  83  Linux
/dev/sda4            1161       30401   234878332+   5  Extended
/dev/sda5            1161       30401   234878301   83  Linux

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

WARNING: The size of this disk is 7.0 TB (6997564981248 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).

Disk /dev/sdb: 6997.5 GB, 6997564981248 bytes
255 heads, 63 sectors/track, 850738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

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


[root@localhost /]# parted /dev/sdb
GNU Parted 1.8.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mkpart                                                           
Partition name?  []?                                                      
File system type?  [ext2]? ext3                                           
Start? 0                                                                  
End? 100%
(parted) quit

# mkfs.ext3 /dev/sdb1


댓글
안내
궁금한 점을 댓글로 남겨주시면 답변해 드립니다.