Project

General

Profile

Bug #7636

Installer should reset selected zpool type back to None when user changed selected disks

Added by Olaf Bohlen almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Caiman (Installer)
Target version:
Start date:
2016-12-02
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Hi,

during my installation on a X4270M2 via USB stick using the 20161030 hipster image, the installer discovered all disks but also the usb stick the installer is running from.
It selected the usb-stick as target and did not let me unselect it - regardless if I select another disk as well, it then wants to build a mirror or raidz on the targets.

The bug seems to be somewhere in slim_souce, libtarget_pymod/discover.c - it should not return the boot-media as possible target.

Work-Around: exit into shell, rmformat -l, rm /dev/*dsk/cXtXdX* for the resulting device and restart installer -> usb stick is no longer discovered.

History

#1

Updated by Alexander Pyhalov almost 3 years ago

  • Subject changed from Hipster 20161030 usb text installer selects usb stick as target device and cannot be unselected to Installer should reset selected zpool type back to None when user changed selected disks
#2

Updated by Alexander Pyhalov almost 3 years ago

  • % Done changed from 0 to 50

Installer selects the first disk. And when we are on USB this happens to be USB device. This should be somehow changed....
As for inability to select another disk, it was fixed in https://github.com/OpenIndiana/slim_source/pull/17

#3

Updated by Alexander Pyhalov almost 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 50 to 100

Second part of the issue (installer suggested USB device from which system was installed as possible drive in disk select list) was fixed in https://github.com/OpenIndiana/slim_source/commit/2d54e51fd456edd76fed53c707da1706768c8fe1

Also available in: Atom PDF