upgrade from 8.x to 11.x gpart shows only slice (previously mbr with nested slice)

Moheed Ahmad moheed.ms at gmail.com
Mon Apr 16 11:57:05 UTC 2018


Hi there,

I've an 8.x FreeBSD installed with Nested  FreeBSD labels within MBR. It is
all working fine.

However I upgraded to 11.x and gpart show is no more showing the same
schema. It shows only disklabel partitioning.

*After upgrade: *
 gpart show
=>        0  524287890  da0s1c  BSD  (250G)
          0    4194304       1  freebsd-ufs  (2.0G)
    4194304   16777216       2  freebsd-swap  (8.0G)
   20971520    4194304       4  freebsd-ufs  (2.0G)
   25165824     819200       5  freebsd-ufs  (400M)
   25985024  104857600       6  freebsd-ufs  (50G)
  130842624  389250962       7  freebsd-ufs  (186G)
  520093586    4194304       8  freebsd-ufs  (2.0G)


*Before upgrade:*
*gpart show*
=>       63  524287890  da0  MBR  (250G)
         63  524287890     1  freebsd  [active]  (250G)

=>        0  524287890  da0s1  BSD  (250G)
          0    4194304       1  freebsd-ufs  (2.0G)
    4194304   16777216       2  freebsd-swap  (8.0G)
   20971520    4194304       4  freebsd-ufs  (2.0G)
   25165824     819200       5  freebsd-ufs  (400M)
   25985024  104857600       6  freebsd-ufs  (50G)
  130842624  389250962       7  freebsd-ufs  (186G)
  520093586    4194304       8  freebsd-ufs  (2.0G)



*Also, I see following errors in dmesg:*
 dmesg | grep da0
da0 at mpt0 bus 0 scbus2 target 0 lun 0
da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device
da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
da0: Command Queueing enabled
da0: 256000MB (524288000 512 byte sectors: 255H 63S/T 32635C)
g_dev_taste: make_dev_p() failed (gp->name=da0s1, error=17)
GEOM: da0s1a: invalid disklabel.
g_dev_taste: make_dev_p() failed (gp->name=da0s1a, error=17)
<snipped>

*kldstat list out following modules:*
kldstate -v
 <snipped>
                 39 ata
                187 g_part_mbr
                186 g_part_gpt
                185 g_part_ebr
                184 g_part_bsd
7 ada
                8 da
 <snipped>

*sysctl kern.geom.conftxt*
kern.geom.conftxt: 0 DISK da0 268435456000 512 hd 255 sc 63
1 MBR da0s1 268435399680 512 i 0 o 32256 ty 165
2 BSD da0s1h 2147483648 512 i 7 o 266287916032 ty 7
2 BSD da0s1g 199296492544 512 i 6 o 66991423488 ty 7
2 BSD da0s1f 53687091200 512 i 5 o 13304332288 ty 7
2 BSD da0s1e 419430400 512 i 4 o 12884901888 ty 7
2 BSD da0s1d 2147483648 512 i 3 o 10737418240 ty 7
2 BSD da0s1c 268435399680 512 i 2 o 0 ty 0
3 PART da0s1ch 2147483648 512 i 8 o 266287916032 ty freebsd-ufs xs BSD xt 7
3 PART da0s1cg 199296492544 512 i 7 o 66991423488 ty freebsd-ufs xs BSD xt 7
3 PART da0s1cf 53687091200 512 i 6 o 13304332288 ty freebsd-ufs xs BSD xt 7
3 PART da0s1ce 419430400 512 i 5 o 12884901888 ty freebsd-ufs xs BSD xt 7
3 PART da0s1cd 2147483648 512 i 4 o 10737418240 ty freebsd-ufs xs BSD xt 7
3 PART da0s1cb 8589934592 512 i 2 o 2147483648 ty freebsd-swap xs BSD xt 1
3 PART da0s1ca 2147483648 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
2 BSD da0s1b 8589934592 512 i 1 o 2147483648 ty 1
2 BSD da0s1a 2147483648 512 i 0 o 0 ty 7
0 DISK cd0 0 2048 hd 0 sc 0

Any idea what is going wrong?

-- 
-Moheed
"I am who I am, no matter where I am or who I am with."


More information about the freebsd-questions mailing list