I create a Linux Amazon Instance with default 8G EBS volume. After that, I create a new 20G EBS volume and mount it to /mnt/my-data
.
When I run $ df -h
. It's show:
/dev/xvda1 7.9G Mounted on /
/dev/xvdf 20G Mounted on /mnt/my-data
I am very new with Linux, so I just want to know:
- The folder
/mnt/my-data
can hold the file with maximize volume is20G or 28G
? - The folder
/var
can hold the file with maximize volume is 8G or 28G ? - Now I want to mount
/dev/xvdf
to/var
, what should I do?
Thanks so much!