File Storage
Cheat sheet · https://pcornel.dk/topic.php?topic=3505
Answer
File Storage backs virtual disks with files stored in a host-mounted or hypervisor-accessed filesystem or network file share, with the file layer mediating allocation, locking and metadata.
Remember
- A mounted filesystem/share does not prove the virtual disk file is writable or lockable by the hypervisor.
- File free space and guest free space are separate capacity boundaries.
- File-backed storage adds filesystem/file-server metadata and locking semantics to the I/O path.
- A file format such as QCOW2/VHDX/VMDK is separate from the filesystem that stores the file.
First checks
findmnt -t nfs,nfs4,cifs— file storage mountsnfsstat -m— NFS mount optionsGet-SmbConnection— SMB3 connections (Hyper-V)
Verify in this order
VM disk file → NFS/SMB → NAS
Where it usually breaks
First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.
Virtual Storage → File Storage reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Image file | VM backing object | Format-specific |
| Filesystem | allocation/metadata | Host layer |
| Share/client | network file access | Optional network layer |
| Backend | storage service/media | Persistence layer |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3505