Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我像这样将磁盘克隆到磁盘:
dd if=/dev/sda of=/dev/sdb
第二个磁盘将包含第一个磁盘的数据,没有任何空间问题,但是当我创建一个图像时/dev/sda,假设它的容量为 10GB,在我的情况下结果文件将是 ~48GB。现在我的问题是为什么克隆磁盘到映像的长度更大,而克隆磁盘到具有相同容量的磁盘不会产生空间问题?
/dev/sda