When I run blkid I get
/dev/vda1 ...etc
/dev/vda2 ...etc
However, when I run df -h I do not see the second drive. I only see
/dev/vda1 ...etc
/devtmpfs ...etc
Is this because df only shows file systems that are mounted, and the vda2 drive is not mounted? Can you help me understand the difference between the two and why df -h doesnt show the second drive vda2 ?
dfshows only mounted file systems; 2. Different tools are 'best' for different purposes, maybe you will findlsblkbest for this particular purpose (to list all file systems and show if they are mounted). It will show all drives and partitions, not only those with file systems, but also a swap partition, an extended partition, and a partition that is not yet formatted.