What is the size in GiB of the "/dev/vda"

Hey everyone, ive been chipping away at this question and and every thing i try dosnt work.

I have tried the following
• ls -la /etc/vda
•ls -il /etc/vda
•df -h /etc/vda

the df command has showed me 3.9 gig and i have tried 3.900 and 3900 for the format they ask and nothing works, I am sure im missing something here, but can anyone give me a hint or point me in the direction of what i should google to see what i can find.

Thanks in advance

Hey dude, they mention a method of listing the files with fdisk that is probably better for getting the answer. Also read the question a few times, its almost like a trick question.

Oh cool, i got it! for a while the answer was right there in front of my face hahaha, i got distracted with vda1 and vda2 information.

Thanks bud, really appriectated it. Ive notice a lot of this is “trick questions”

1 Like

Run sudo fdisk -l.

Command (m for help): p Disk /dev/vda: 30 GiB, 32212254720 bytes, 62914560 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x3ac5a058 Device Boot Start End Sectors Size Id Type /dev