提交 d942bf6e 编写于 作者: J John Ferlan

logical: Increase the size of the data to wipe

Since a sector size may be larger than 512 bytes, let's just increase
the size to wipe to 1MB rather than 2KB
上级 c6aa81c6
......@@ -100,7 +100,7 @@ virStorageBackendLogicalInitializeDevice(const char *path)
* a whole disk as a PV. So we just blank them out regardless
* rather than trying to figure out if we're a disk or partition
*/
if (virStorageBackendZeroPartitionTable(path, 4 * PV_BLANK_SECTOR_SIZE) < 0)
if (virStorageBackendZeroPartitionTable(path, 1024 * 1024) < 0)
return -1;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册