Date: Thu, 16 Jun 2011 07:45:41 -0500 From: Zhihao Yuan <lichray@gmail.com> To: Henri Hennebert <hlh@restart.be> Cc: freebsd-stable@freebsd.org Subject: Re: ZFS boot inside on the second partition inside a slice Message-ID: <BANLkTimskJPk3%2BBAdQo59UHEDp=K4U%2BtMw@mail.gmail.com> In-Reply-To: <4DF9F8CE.4020409@restart.be> References: <BANLkTi=drd8vY84_4jqDZTFK%2Bsq=n0Kx9g@mail.gmail.com> <4DF9552C.6080806@delphij.net> <BANLkTik-4X9exc_Cm=zWiJ=DO-oHBZcwGg@mail.gmail.com> <BANLkTinOeK=bB-YYe7thT%2BJ6bZs_9%2BV1bg@mail.gmail.com> <4DF9F8CE.4020409@restart.be>
next in thread | previous in thread | raw e-mail | index | archive | help
Exactly. The MFCed ZFSv28 is different from any patch maintained by mm@. Maybe some untested changes involved. On Thu, Jun 16, 2011 at 7:36 AM, Henri Hennebert <hlh@restart.be> wrote: > On 06/16/2011 07:32, Zhihao Yuan wrote: >> >> I just redo everything, and changed the order of freebsd-zfs and >> freebsd-swap. The "Read error" still happens! > > Just a me too. > > Everything was working great with zfsboot from 8.2-RELEASE + a patch > (http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/153552). > > As I update to 8.2-STABLE after v28 MFC, I have to write a new zfsboot to= be > allowed to upgrade my pool. I get the "Read Error" after that. > > PS - same comfig, a netboot with windows7 on first partition - so I can't > switch to gpt. > > Henri >> >> On Wed, Jun 15, 2011 at 8:07 PM, Zhihao Yuan<lichray@gmail.com> =C2=A0wr= ote: >>> >>> On Wed, Jun 15, 2011 at 7:58 PM, Xin LI<delphij@delphij.net> =C2=A0wrot= e: >>>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA256 >>>> >>>> On 06/15/11 17:42, Zhihao Yuan wrote: >>>>> >>>>> Hi, >>>>> >>>>> I configured my disk layout according to >>>>> http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition >>>>> >>>>> But I swapped the order of the freebsd-zfs and freebsd-swap. The 4.0G >>>>> freebsd-swap partition appears first inside the slice. >>>>> After that, I write zfsboot on both ada0s2 and ada0s2b, but the boot0 >>>>> gives me a "Read error". >>>> >>>> Where did your second slice start? =C2=A0There can be a lot of reasons= why it >>>> gives Read error. >>> >>> After an NTFS partition of 12GB. >>> This should be the problem with zfsboot, because if I use sysinstall >>> to install a bootmgr, the boot gives me a "not UFS" error, which means >>> the boot0 is done (am I right?). >>> >>>> >>>> I personally recommend using GPT scheme instead of MBR, as you have a >>>> dedicated partition for gptzfsboot, which is much cleaner than this >>>> approach. >>>> >>> >>> Yeah, yeah, I agree. I should not plan to play Windows games. >>> >>>> Cheers, >>>> - -- >>>> Xin LI<delphij@delphij.net> =C2=A0 =C2=A0 =C2=A0http://www.delphij.net= / >>>> FreeBSD - The Power to Serve! =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Live f= ree or die >>>> -----BEGIN PGP SIGNATURE----- >>>> Version: GnuPG v2.0.17 (FreeBSD) >>>> >>>> iQEcBAEBCAAGBQJN+VUrAAoJEATO+BI/yjfBpksH/2ZswQ+ogdDpYwvhRIjJaqLs >>>> NEl8FtC2Ua+c3F2sNwrLK5a/fn/LL+jPAXndvuQdxOaz41Iqtnt8w1i9Dz5ATkva >>>> T+i0fnRVwXFqjrlRTWK+ODtNtrhI2/7ECAIfOOLNhaiJnPRrJJgvxJ6V5W+/N+l7 >>>> Lt4yMp6hGbhO/9Yp2UoaQuUThOTz+dKNZGECd1nLT+ooHbTPhBvjii080hHowNl6 >>>> Ef+JBaEng2NbRJPxYWrRwz6R7A44RDXvrKzn5w/TuUa+4fYrS25EZxygzIh3xjFX >>>> 2ILP25yabJ+Vw5o8bFCsJ3ExbEfq0PnfROHanRSdTjMDra27dGY9JZKyytE+Ykc=3D >>>> =3DD5+X >>>> -----END PGP SIGNATURE----- >>>> _______________________________________________ >>>> freebsd-stable@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>>> To unsubscribe, send any mail to >>>> "freebsd-stable-unsubscribe@freebsd.org" >>>> >>> >>> >>> >>> -- >>> Zhihao Yuan, nickname lichray >>> The best way to predict the future is to invent it. >>> ___________________________________________________ >>> 4BSD -- http://4bsd.biz/ >>> >> >> >> > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimskJPk3%2BBAdQo59UHEDp=K4U%2BtMw>