newfs(8) fails with EIO on a 3tbyte volume presented via vioblk(4).
Maybe the virtio code is using 32-bit sector counters, since 2tbytes with a
512 byte block size is 2**32, and that's causing the failure.
A 2tbyte volume is fine, and so is the same 3tbyte volume presented as a wd(4).
$ time sudo newfs /dev/rsd8c
newfs: wtfs: write error on block 6442450943: Input/output error
0m0.01s real 0m0.00s user 0m0.01s system
vioblk8 at virtio10
scsibus8 at vioblk8: 2 targets
sd8 at scsibus8 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd8: 3145728MB, 512 bytes/sector, 6442450944 sectors
john
--
John Morrissey _o /\ ---- __o
[email protected] _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__