Centos7 mount the new hard disk

fdisk /dev/vdc

Then again, after n p all the way round to complete partition, and finally save the changes w

Mount:

mkdir /vdc

mkfs -t xfs / dev / vdc1 # xfs formatted using

mount / dev / vdc1 / vdc # mount to / lower vdc

# Modify the file vi / etc / fstab add the following

/dev/vdc1    /vdc    xfs    defaults 0  0

Guess you like

Origin www.cnblogs.com/wkk2020/p/12387864.html