Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2019 14:54:37 +0900
From:      KUNIYOSHI <nao_k@din.or.jp>
To:        freebsd-users-jp@freebsd.org
Subject:   [FreeBSD-users-jp 96414]  =?iso-2022-jp?b?Z3BhcnQbJEIkRxsoQk9wZXJhdGlvbiBub3QgcGVybWl0dGVk?=
Message-ID:  <20190723145437.75F6.ECFBC552@din.or.jp>

next in thread | raw e-mail | index | archive | help
$B$3$s$K$A$O!#(Bnao$B$H?=$7$^$9!#(B

$B!!(Bgpart$B$G!"(BOperation not permitted$B%(%i!<$,=P$F$7$^$$$^$7$?!#(B

$B!!?tF|D4$Y$F$_$F$b860x$i$7$-$b$N$KC)$jCe$1$^$;$s$G$7$?!#(B

$B!!860x$K?4Ev$?$jEy$"$l$P65$($F$/$@$5$$!#$h$m$7$/$*4j$$$7$^$9!#(B


$B!!7P0^$O0J2<$NDL$j$G$9!#(B

$B!!:#2s!"(BFreeBSD11.2$B"*(B11.3$B$X(Bupgrade$B$7$F$_$^$7$?!#(B

$B!!(Bzfs$B$N%P!<%8%g%s$b>e$,$C$?$h$&$@$C$?$N$G!"(Bzpool upgrade$B$b$7$F$_$?$H$3$m!"(B

# gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada8
# gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada9

$B!!$NN>J}$G!"(B

gpart: /dev/ada8p1: Operation not permitted
gpart: /dev/ada9p1: Operation not permitted

$B!!$H$J$C$F$7$^$$$^$7$?!#(B

$B!!(Bkern.geom.debugflags$B$O!"LdBj$J$/(B0x10$B$K$J$C$F$$$^$9!#(B

# sysctl kern.geom.debugflags
kern.geom.debugflags: 16

$B!!J,$1$F;n$7$?$3$H$3$m!"(B

#  gpart bootcode -b /boot/pmbr ada8
#  gpart bootcode -b /boot/pmbr ada9

$B!!$3$A$i$O(BOK$B$G!"(B

#  gpart bootcode -p /boot/gptzfsboot -i 1 ada8
#  gpart bootcode -p /boot/gptzfsboot -i 1 ada9

$B!!$3$3$,(BNG$B$G$7$?!#(B

$B!!3:Ev$N%G%#%9%/(Bada8/ada9$B$O!"(Bgpt$B%G%#%9%/$G(Bgmirror$B$r;H$C$F$$$^$9!#(B
$B!!(Bboot/swap/root$B$O$3$N%G%#%9%/$KF~$C$F$$$^$9!#(B

# gmirror status
         Name    Status  Components
  mirror/boot  COMPLETE  gpt/boot0 (ACTIVE)
                         gpt/boot1 (ACTIVE)
  mirror/swap  COMPLETE  gpt/swap0 (ACTIVE)
                         gpt/swap1 (ACTIVE)
  mirror/root  COMPLETE  gpt/root0 (ACTIVE)
                         gpt/root1 (ACTIVE)

# mount
/dev/mirror/root on / (ufs, local, noatime, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
tmpfs on /tmp (tmpfs, local)
fdescfs on /dev/fd (fdescfs)
rz2pool/home on /usr/home (zfs, local, noatime, nfsv4acls)
rz2pool/var on /var (zfs, local, noatime, noexec, nosuid, nfsv4acls)
rz2pool/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
rz2pool/var/mail on /var/mail (zfs, local, noexec, nosuid, nfsv4acls)
rz2pool/var/tmp on /var/tmp (zfs, local, noatime, noexec, nosuid, nfsv4acls)


-- 
nao <nao_k@din.or.jp>




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