gpt 파티션 설정시 에러부분
1 2 3 4 5 6 |
[root@localhost ~]# parted /dev/sdb GNU Parted 2.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Error: /dev/sdb: unrecognised disk label |
해결방법 parted 들어가서 mklabel gpt 입력 후 작업하면 됨
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
[root@localhost ~]# parted /dev/sdb GNU Parted 2.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Error: /dev/sdb: unrecognised disk label (parted) mklabel gpt (parted) print Model: DELL PERC H810 (scsi) Disk /dev/sdb: 40.0TB Sector size (logical/physical): 512B/512B Partition Table: gpt (parted) mkpart Partition name? []? File system type? [ext2]? xfs Start? 0 End? 100% Warning: The resulting partition is not properly aligned for best performance. Ignore/Cancel? I (parted) p Model: DELL PERC H810 (scsi) Disk /dev/sdb: 40.0TB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 40.0TB 40.0TB (parted) quit Information: You may need to update /etc/fstab. |
포맷 및 마운트
1 2 3 4 5 6 7 8 9 |
[root@localhost ~]# mkfs -t xfs -f /dev/sdb1 [root@localhost ~]# mkdir /data [root@localhost ~]# /bin/mount -o defaults,noatime,nodiratime /dev/sdb1 /data [root@localhost ~]# mount /dev/sdb1 on /data type xfs (rw,noatime,nodiratime) |
dd 속도 체크
1 2 3 4 |
[root@localhost ~]# dd if=/dev/zero of=/data/testfile count=1000 bs=1024k 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB) copied, 0.96705 s, 1.1 GB/s |