Hi,

When installing latest snapshot on Hyper-V guest VM (Amd64), the installer 
fails with fsck error. It seems that two disks are being detected (wd0 and sd0),
both with the same UID, which might be causing the installer troubles.

Architecture    : OpenBSD.amd64
Machine:        : amd64
System          : OpenBSD 6.6-beta
buindinfo       : Build date: 1567830926 - Sat Sep  7 04:35:26 UTC 2019

Any guidance would be greatly appreciated!?

The installer screendump and a few diagnostic steps are shown below. If any
additional information is needed, please let me know.


Kind regards,
Leighton


# Before the upgrade, the VM only had sd0
OpenBSDCurrent# sysctl hw.disknames
hw.disknames=sd0:bcfb6d7ea94acbd7,cd0:,fd0:,fd1:

# Install screendump
pckbdO at pckbcO (kbd slot)
wskbdO at pckbdO: console keyboard, using wsdisplay1
softraidO at root
scsibus2 at softraidO: 256 targets
root on rdOa swap on rdOb dump on rd0b
erase ^? , werase ^W, kill ^U, intr ^C status ^F

Welcome to the OpenBSD/amd64 6.6 instal lation program .
Performing noninteractiue upgrade...
Choose your keyboard layout ( '?' or 'L' for list) [default] default
auailable disks are: wdO sdO.
Which disk is the root disk? ( '?' for details) [wdO] wdO
Checking root filesystem (fsck fp /deu/wdOa) ... OK.
mounting root filesystem (mount o ro /deu/wdOa /mnt) ... OK.
Force checking of clean nonroot f i lesystems? [no] no
fsck -p bcfb6d7ea34acbd7.k... FAILED. You must fsck bcfb6d7ea34acbd7.k manually.
fsck -p bcfb6d7ea34acbd7.d... FAILED. You must fsck bcfb6d7ea34acbd7.d manually.
fsck -p bcfb6d7ea34acbd7.f... FAILED. You must fsck bcfb6d7ea34acbd7.f manually.
fsck -p bcfb6d7ea34acbd7.g... FAILED. You must fsck bcfb6d7ea34acbd7.g manually.
fsck -p bcfb6d7ea34acbd7.h... FAILED. You must fsck bcfb6d7ea34acbd7.h manually.
fsck -p bcfb6d7ea34acbd7.j... FAILED. You must fsck bcfb6d7ea34acbd7.j manually.
fsck -p bcfb6d7ea34acbd7.i... FAILED. You must fsck bcfb6d7ea34acbd7.i manually.
fsck -p bcfb6d7ea34acbd7.e... FAILED. You must fsck bcfb6d7ea34acbd7.e manually.
fsck -p bcfb6d7ea34acbd7.l... FAILED. You must fsck bcfb6d7ea34acbd7.l manually.
^COpenBSDCurrent#

# Check disks OS can see and their UIDs:
OpenBSDCurrent# sysctl hw.disknames
hw.disknames=wd0:bcfb6d7ea94acbd7,cd0:,sd0:bcfb6d7ea94acbd7,rd0:920503d393cf8d4d

# Dmesg for version
OpenBSDCurrent# dmesg | grep RAMDISK
OpenBSD 6.6-beta (RAMDISK_CD) #279: Fri Sep  6 22:33:59 MDT 2019
    [email protected]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD

# Dmesg for sd0/wd0:
OpenBSDCurrent# dmesg | egrep '^[w,s]+dO'
wd0 at pciide0 channel 0 drive 0: <Virtual HD>
wdO: 128-sector PIO, LBA48, 138240MB, 283115520 sectors
wdO(pciide0:0:0): using PIO mode 4, DMA mode Z
sdO at scsibus1 targ O lun O: <Msft, Virtual Disk, 1.0> naa.6002248026bd92b4d856
3766a3dc7c50
sdO: 138Z40MB, 512 bytes;sector, 283115520 sectors, thin
OpenBSDCurrent#

Reply via email to