LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   disk (https://www.linuxquestions.org/questions/linux-general-1/disk-4175692360/)

linuly 03-20-2021 09:12 AM

disk
 
hi,
can i use smartctl and badblocks within a VM to check the disk in host?

TB0ne 03-20-2021 09:18 AM

Quote:

Originally Posted by linuly (Post 6232375)
hi,
can i use smartctl and badblocks within a VM to check the disk in host?

Yes, but what do you think you'll actually accomplish? It's a virtual device...you'd essentially be checking a FILE, not the actual physical device (unless you have a SAN LUN allocated).

Did you actually try those commands? Could have run them faster than posting.

pan64 03-20-2021 12:11 PM

yes, why don't you try it?
VM usually can only see virtual devices, there is no access to the real hardware. But without knowing your configuration hard to say more.


All times are GMT -5. The time now is 01:05 AM.