Opened 5 years ago

Last modified 3 years ago

#11753 new bug

BFS fails initializing 1.9TB size volume (KDL assert)

Reported by: kushalsingh007 Owned by: axeld
Priority: normal Milestone: R1
Component: File Systems/BFS Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by pulkomandy)

Initializing a new partition of size 1992294MB caused a KDL assert while formatting the disk and creation partition failed.

Attachments (1)

Screenshot.png (40.2 KB) - added by kushalsingh007 5 years ago.
Screenshot for the bug has added.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by kushalsingh007

Attachment: Screenshot.png added

Screenshot for the bug has added.

comment:1 Changed 5 years ago by phoudoin

Overall, there is several uint32 -> int32 cast in bfs kernel add-on code, fNumBits in AllocationGroup being one exemple.

Here, the assert should be fixed to work on uint32, but there is other place to fix similar issue most probably.

Time to offer a 3TB disk to Axel :)

comment:2 Changed 5 years ago by pulkomandy

Description: modified (diff)
Summary: Partitioning fails at 1.9TB size due to KDL assertBFS fails initializing 1.9TB size volume (KDL assert)

comment:3 Changed 5 years ago by pulkomandy

No need for an actual disk, this can easily be tested in a virtual machine with a sparse HD image.

comment:4 Changed 3 years ago by axeld

What block size has been used? I've definitely initialized a 3 TB BFS volume already in the past. Has anybody tried to reproduce the issue?

Note: See TracTickets for help on using tickets.