Panic while creating UFS fs on vn(4) for initrd

Matthias Schmidt matthias at dragonflybsd.org
Mon Oct 4 23:34:39 PDT 2010


* Matthew Dillon wrote:
>     Hrm.  I don't think you can create an 8 TB UFS1 filesystem.  The
>     limitation for UFS is 2TB, and even that might be a bit dangerous
>     because ufs uses 32 bit filesystem block numbers.  Theoretically
>     it is based on the UFS frag which is usually 1K or 2K, and negative
>     block numbers are used to index meta-data, so (2^31) * 1K = 2TB.

I didn't try to do that :)  I just run "mkinitrd" to create a new
initrd, that's all.  According to the script it creates a 15 MB vn(4)
disk.

>     I don't quite know why it crashed... the VCHR is missing its cdev
>     pointer (it is NULL for some reason), but it could be related to the
>     size of the backing store you tried to create the UFS filesystem with.

Do not have the exact numbers here, but IIRC about 40GB.

Cheers

	Matthias





More information about the Bugs mailing list