Create Partition , Create Filesytem and Mount Disk on Linux

# Find disk which you want
fdisk -l
# Create Partition
parted /dev/sdb
mklabel gpt
unit TB
mkpart primary 0GB 2199GB
print
quit
# Create File System
mkfs.xfs /dev/sdb1
# Mount Parition
mkdir /data
mount /dev/sdb1 /data
df -H

Yorum Gönder

Daha yeni Daha eski