开发者

Getting disk size from ioctl call for veritas volume greater than 2TB

What is the ioctl command to get the disk size of vxvm volume that is greater than 2TB? (DKIOCGVTOC is working fine till the block count doesn't exceeds the 32 bit in开发者_如何学编程teger size limit)


A VTOC cannot handle more than 2TiB volumes. You need to use EFI labels to handle them.

You should use efi_alloc_and_read to get the EFI label.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜