Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 07:05:46 -0700
From:      Shawn Ostapuk <flagg@slumber.org>
To:        Chris Jackman <cjack@klatsch.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: terabyte limit problem with vinum/ccd
Message-ID:  <20030911140546.GE1888@slumber.org>
In-Reply-To: <20030911070248.GA69505@collab.or8.net>
References:  <20030910183301.GA17366@slumber.org> <20030911070248.GA69505@collab.or8.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm just curious about this.
> in /usr/src/sbin/newfs/mkfs.c, have you tried
> commenting out the if block around line 438 ?
> 
> 
>          * Wipe out old UFS1 superblock(s) if necessary.
>          */
>         if (!Nflag && Oflag != 1) {
>                 i = bread(&disk, SBLOCK_UFS1 / disk.d_bsize, chdummy, SBLOCKSIZE);
>                 if (i == -1)
>                         err(1, "can't read old UFS1 superblock: %s", disk.d_error);
> 		..... (continues)
> 
> 
> I have zero knowledge of this code, but I'm still curious if it'd work =).
>

Actually that's something I already tried, If i take it out it fails
with something like "disk write error: invalid arguement" similar to the
ccdconfig :) It seems any call to bwrite fails when the drive is
larger than 1TB. (which is why -N seems to work with no issues, calls
wtfs which doesnt call bwrite when the Nflag is set)

-shawn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030911140546.GE1888>