There were errors in the log during boot - g_dev_taste: make_dev_p() failed (gp->name=ada0s1, error=17)

Vladislav Prodan universite at ukr.net
Sat Feb 11 22:42:15 UTC 2017


Hello.

I have a server:
FreeBSD 11.0-STABLE #1 r313648: Sat Feb 11 22:48:45 EET 2017     root at wally2-bras:/usr/obj/usr/src/sys/BRAS  amd64


After adding GEOM options in the config of kernel:
...
# Geom options:
options         GEOM_AES                # Don't use, use GEOM_BDE
options         GEOM_BDE                # Disk encryption.
options         GEOM_BSD                # BSD disklabels
options         GEOM_CACHE              # Disk cache.
options         GEOM_CONCAT             # Disk concatenation.
options         GEOM_ELI                # Disk encryption.
options         GEOM_FOX                # Redundant path mitigation
options         GEOM_GATE               # Userland services.
options         GEOM_JOURNAL            # Journaling.
options         GEOM_LABEL              # Providers labelization.
options         GEOM_LINUX_LVM          # Linux LVM2 volumes
options         GEOM_MBR                # DOS/MBR partitioning
options         GEOM_MIRROR             # Disk mirroring.
options         GEOM_MULTIPATH          # Disk multipath
options         GEOM_NOP                # Test class.
options         GEOM_PART_APM           # Apple partitioning
options         GEOM_PART_BSD           # BSD disklabel
options         GEOM_PART_BSD64         # BSD disklabel64
options         GEOM_PART_EBR           # Extended Boot Records
options         GEOM_PART_EBR_COMPAT    # Backward compatible partition names
options         GEOM_PART_GPT           # GPT partitioning
options         GEOM_PART_LDM           # Logical Disk Manager
options         GEOM_PART_MBR           # MBR partitioning
options         GEOM_PART_PC98          # PC-9800 disk partitioning
options         GEOM_PART_VTOC8         # SMI VTOC8 disk label
options         GEOM_PC98               # NEC PC9800 partitioning
options         GEOM_RAID               # Soft RAID functionality.
options         GEOM_RAID3              # RAID3 functionality.
options         GEOM_SHSEC              # Shared secret.
options         GEOM_STRIPE             # Disk striping.
options         GEOM_SUNLABEL           # Sun/Solaris partitioning
options         GEOM_UZIP               # Read-only compressed disks
options         GEOM_VINUM              # Vinum logical volume manager
options         GEOM_VIRSTOR            # Virtual storage.
options         GEOM_VOL                # Volume names from UFS superblock
options         GEOM_ZERO               # Performance testing helper.
...


There were errors in the log during boot:
...
Feb 11 20:30:55 wally2-bras kernel: Trying to mount root from ufs:/dev/ada0s1a [rw]...
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1, error=17)
Feb 11 20:30:55 wally2-bras kernel: GEOM: ada0s1a: invalid disklabel.
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1a, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1b, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1a, error=17)
Feb 11 20:30:55 wally2-bras kernel: GEOM: ada0s1a: invalid disklabel.
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1b, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1c, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1a, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1b, error=17)
Feb 11 20:30:55 wally2-bras kernel: GEOM: diskid/DISK-CVTR54150561056FGNs1a: invalid disklabel.
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1a, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1b, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1a, error=17)
Feb 11 20:30:55 wally2-bras kernel: GEOM: diskid/DISK-CVTR54150561056FGNs1a: invalid disklabel.
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1b, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1c, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1a, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1b, error=17)
Feb 11 20:30:55 wally2-bras kernel: GEOM: ufsid/587895734db55341: invalid disklabel.
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1ca, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1cb, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1aa, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1ab, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=ada0s1ac, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1ca, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1cb, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1aa, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1ab, error=17)
Feb 11 20:30:55 wally2-bras kernel: g_dev_taste: make_dev_p() failed (gp->name=diskid/DISK-CVTR54150561056FGNs1ac, error=17)
Feb 11 20:30:55 wally2-bras kernel: GEOM: ada0s1a: invalid disklabel.
Feb 11 20:30:55 wally2-bras kernel: GEOM: ufsid/587895734db55341: invalid disklabel.
...


SSD drive marks out through bsdinstall. For some reason, then do not create field rawuuid and label...

# gpart show
=>        0  109051904  ada0s1c  BSD  (52G)
          0  102760448        1  freebsd-ufs  (49G)
  102760448    5451776        2  freebsd-swap  (2.6G)
  108212224     839680           - free -  (410M)

# gpart list
Geom name: ada0s1c
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 109051903
first: 0
entries: 8
scheme: BSD
Providers:
1. Name: ada0s1ca
   Mediasize: 52613349376 (49G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   rawtype: 7
   length: 52613349376
   offset: 0
   type: freebsd-ufs
   index: 1
   end: 102760447
   start: 0
2. Name: ada0s1cb
   Mediasize: 2791309312 (2.6G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   rawtype: 1
   length: 2791309312
   offset: 52613349376
   type: freebsd-swap
   index: 2
   end: 108212223
   start: 102760448
Consumers:
1. Name: ada0s1c
   Mediasize: 55834574848 (52G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0


How to remove these errors?

Thanks!


--
 Vladislav V. Prodan
 System & Network Administrator
 support.od.ua
 
 


More information about the freebsd-fs mailing list