Date: Sat, 29 Apr 2006 14:03:27 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Rong-En Fan <grafan@gmail.com> Cc: geom@freebsd.org Subject: Re: v_vfs_done error = 1 on gconcat device Message-ID: <20060429120327.GE4896@garage.freebsd.pl> In-Reply-To: <6eb82e0604290153o388d8e53jff05cc04fe85ad3f@mail.gmail.com> References: <6eb82e0604281734v37c6eca0q8daa5dbca66f58d7@mail.gmail.com> <20060429071501.GA4896@garage.freebsd.pl> <6eb82e0604290153o388d8e53jff05cc04fe85ad3f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Yb+qhiCg54lqZFXW Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 29, 2006 at 04:53:19AM -0400, Rong-En Fan wrote: +> On 4/29/06, Pawel Jakub Dawidek <pjd@freebsd.org> wrote: +> >It works here: +> > +> > # mdconfig -a -t malloc -s 25658654720b -u 0 +> > # mdconfig -a -t malloc -s 36396831744b -u 1 +> > # gconcat label foo md0 md1 +> > # sysctl kern.geom.concat.debug=3D2 +> > # ./dwrite /dev/concat/foo 25658605568 114688 +> > +> >The console output: +> > +> > GEOM_CONCAT[2]: Request received. concat/foo[WRITE(offset=3D256= 58605568, length=3D114688)] +> > GEOM_CONCAT[2]: Sending request. md0[WRITE(offset=3D25658605568= , length=3D48640)] +> > GEOM_CONCAT[2]: Sending request. md1[WRITE(offset=3D0, length= =3D66048)] +> > +> >I'd more expect that your partitions are not properly configured. Can +> >you show me the output of "bsdlabel /dev/da1s1"? +>=20 +> Hi, +>=20 +> # /dev/da1s1: +> 8 partitions: +> # size offset fstype [fsize bsize bps/cpg] +> c: 71087562 0 unused 0 0 # "raw" part, don= 't edit +> e: 71087562 0 4.2BSD 2048 16384 28552 +>=20 +> Errrr, should the offset of first partition start from offset 16? evil +> sysinstall... +> If so, then I dont think I have much to do except backup, fix the offset, +> create a new gconcat, and restore? Yes, I'm afraid so. The BSD class just return EPERM when you try to overwrite the metadata. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Yb+qhiCg54lqZFXW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEU1YPForvXbEpPzQRAir0AJ9Ij0oWYvsgKu6GX/xy++5cvjOXiACeMiI4 tUPBigpD2OKjWDBBaeJnH8E= =eoRS -----END PGP SIGNATURE----- --Yb+qhiCg54lqZFXW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060429120327.GE4896>