linux – 2T 이상 파티션 잡기

linux 에서 2T 이상의 파티션을 잡을경우 fdisk로는 할수 없다.

parted를 이용하여 잡을수 있다.


parted /dev/sdb
mklabel gpt 
mkpart
ext3


This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.


Using /dev/sdb
(parted) mklabel gpt                                                     
(parted) p                                                               
Disk geometry for /dev/sdb: 0.000-4001844.000 megabytes
Disk label type: gpt
Minor    Start       End     Filesystem  Name                  Flags
(parted) mkpart                                                          
Partition type?  [primary]?                                              
File system type?  [ext2]? ext3                                          
Start? 0                                                                 
End? 4001844.000                                                         
(parted) q                  

mkfs.ext3 -b 4096 /dev/sdb1

                                             

- to blog -

blog built using the cayman-theme by Jason Long. LICENSE