Project

General

Profile

Bug #26663

Fix disk attach/detach of boot pool

Added by Vaibhav Chauhan 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Important
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

ENV:
install FreeNAS on a vmware fusion (in my case), with at least 2 disks.

STEPS:
(1). Installed FreeNAS on a disk da0 with stripe partition.
(2). ATTACHED da1 to make it mirror.
(3). REBOOTED freenas-vm,
(4). freenas-vm come back up with mirror configurations for freenas-boot pool
(5). DETACHED da0, freenas-boot pool turned into stripe configuration, reboot
(6). freenas-vm goes in grub rescue mode.

Screen Shot 2017-11-14 at 3.40.51 PM.png (19.6 KB) Screen Shot 2017-11-14 at 3.40.51 PM.png grub rescue Vaibhav Chauhan, 11/14/2017 05:03 PM
13058

Associated revisions

Revision f05848f2 (diff)
Added by William Grzybowski 11 months ago

fix(middlewared/boot): properly install grub

Ticket: #26663

Revision 87df208b (diff)
Added by William Grzybowski 11 months ago

fix(middlewared/boot): properly install grub

Ticket: #26663
(cherry picked from commit f05848f2224c86311f313b328b9b40994ef32efe)

History

#1 Updated by Dru Lavigne 11 months ago

  • Status changed from Untriaged to Unscreened

#2 Updated by William Grzybowski 11 months ago

  • Category changed from GUI (new) to Middleware
  • Status changed from Unscreened to Screened
  • Priority changed from No priority to Important
  • Target version changed from Master - FreeNAS Nightlies to 11.2-BETA1

#3 Updated by William Grzybowski 11 months ago

  • Status changed from Screened to Needs Developer Review
  • Assignee changed from William Grzybowski to Vladimir Vinogradenko
  • Target version changed from 11.2-BETA1 to 11.1

#4 Updated by Vladimir Vinogradenko 11 months ago

  • Status changed from Needs Developer Review to Reviewed by Developer
  • Assignee changed from Vladimir Vinogradenko to William Grzybowski

#5 Updated by William Grzybowski 11 months ago

  • Status changed from Reviewed by Developer to Ready For Release

#6 Updated by Dru Lavigne 11 months ago

  • Subject changed from issues encountered with attach/detach utility(with old and new UI) to Fix disk attach/detach on VMware

#7 Updated by William Grzybowski 11 months ago

  • Subject changed from Fix disk attach/detach on VMware to Fix disk attach/detach of boot pool

#8 Updated by Dru Lavigne 11 months ago

  • Target version changed from 11.1 to 11.1-RC2

#9 Updated by Dru Lavigne 11 months ago

  • Target version changed from 11.1-RC2 to 11.1-RC3

#10 Updated by Dru Lavigne 11 months ago

  • Status changed from Ready For Release to Resolved

#11 Updated by Bonnie Follweiler 11 months ago

  • Status changed from Resolved to Unscreened
  • QA Status Test Fails FreeNAS added
  • QA Status deleted (Not Tested)

Testing with FreeNAS 11.1Internal2 does not attach unless the Use all disk space: box is checked.

root@freenas:~ # grep gpart /var/log/middlewared.log
subprocess.CalledProcessError: Command '('gpart', 'add', '-t', 'freebsd-zfs', '-i', '2', '-a', '4k', '-s', '53686521856', 'ada2')' returned non-zero exit status 1.
root@freenas:~ #

It looks like this was pulled into Master but not in 11.1 Stable https://github.com/freenas/freenas/pull/421

#12 Updated by William Grzybowski 11 months ago

  • Status changed from Unscreened to Screened
  • Target version changed from 11.1-RC3 to 11.1

#13 Updated by William Grzybowski 11 months ago

  • QA Status Not Tested added
  • QA Status deleted (Test Fails FreeNAS)

#14 Updated by William Grzybowski 11 months ago

  • Status changed from Screened to Ready For Release

#15 Updated by Bonnie Follweiler 10 months ago

  • Needs QA changed from Yes to No
  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

#16 Updated by Dru Lavigne 10 months ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF