unrecognised disk label
# 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: HP LOGICAL VOLUME (scsi)
Disk /dev/sdb: 13.4TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
block对齐
# cat /sys/block/sdb/queue/optimal_io_size
1835008
# cat /sys/block/sdb/queue/minimum_io_size
262144
# cat /sys/block/sdb/alignment_offset
0
# cat /sys/block/sdb/queue/physical_block_size
512
1835008/512=3584
(parted) mkpart
Partition name? []? data
File system type? [ext2]? xfs
Start? 3584s
End? 200GB
(parted) print
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sdb: 13.4TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1835kB 200GB 200GB data