$ fdisk /dev/vdb
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xee87d061.
Command (m for help):F
Unpartitioned space /dev/vdb: 1000 GiB, 1073740775424 bytes, 2097149952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Start End Sectors Size
2048 2097151999 2097149952 1000G
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
...
$ vi /etc/fstab
UUID=[UUID값] [실제 마운트될 디렉토리] [파티션 포맷] defaults 0 0
e.g.
UUID=8cc76db2-056b-4456-b54d-5f3fe8361695 /mnt ext4 defaults 1 1
댓글남기기