[Bug 212139] r298900 introduced a fatal failure case for >2TB disk size reporting bugs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 25 20:41:42 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212139

--- Comment #3 from Toomas Soome <tsoome at freebsd.org> ---
I havent found yet good way, but there is something to think about.

Essentially there are 2 cases:

1. unpartitioned raw disk with pool on it. We can get size from pool label and
provide as disk meta info down to biosdisk if we like to. 

2. partitioned disk - almost all cases, except GPT backup label read, depend on
partition boundaries, so essentially the read should honor the partition
boundaries.
It means the disk open, should again have means to pass the boundaries down to
biosdisk.

So with exception of GPT backup label read and unpartitioned disk, all other
reads should be checked not against disk size, but partition size... and this
information is known.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list