Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wd1: mbr partition exceeds disk size
wiz%NetBSD.org@localhost (Thomas Klausner) writes:
>I've attached a 3TB disk and used gpt to make partitions on it.
>Many disk accesses produce
>wd1: mbr partition exceeds disk size
>Is there a way to get rid of these warnings?
Replace the disklabel code with something sensible :)
You start with wdgetdefaultlabel that clips at 2TB, the maximum.
Then you look for a NetBSD partition in the MBR and get the warning
because the MBR shows more sectors than the clipped disklabel.
If you want to keep the disklabel code you need to create
an internal data structure that is suitable for larger disks
and everything generating, reading or writing disklabels needs
to be adapted. Wether you want to have an on-disk disklabel that
can handle larger disks is a another issue.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index