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: 1970.01.01 08:33

Views: 133

Edit blog

Follow me: @twitter @github
Scan QR code and Donate me via alipay:
donate me via alipay
Donate me Bitcoin:136MYemy5QmmBPLBLr1GHZfkES7CsoG4Qh
Powered by josense, Last updated: 2019-04-15 09:45 RSS