Mount new disk in centos7

I create new cloud server on scaleway, i have two disk. this document show you how to mount a new disk to exists centos system.

 

first , let's mkfs with ext4 for disk /dev/vdb

mkfs.ext4 /dev/vdb

and add one line to /etc/fstab

/dev/vdb  /data              ext4    defaults,noatime 0       0

run mount -a check if there any error reported. if not , restart system

 

run df -hl see if you have mount your new disk

Post: 2017-08-12 10:48:54

Views: 1

Follow me: @twitter @github
Scan QR code and Donate me via alipay:
donate me via alipay
Donate me Bitcoin:136MYemy5QmmBPLBLr1GHZfkES7CsoG4Qh
Powered by GoSense RSS