12141 libbe cannot handle vfstab updates in NGZ

Review Request #2477 — Created Dec. 29, 2019 and submitted

citrus
illumos-gate
master
12141
d5e5671...
general
12141 libbe cannot handle vfstab updates in NGZ

See issue for write-up

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
seeemef@mac.com
  1. The identical code to "Update new BE's vfstab" is also in be_rename() (differing it seems only in the function name in the error message). I'm wondering if the bug affects that operation too.

    1. Yes, same problem, thanks!

      be_rename: failed to update new BE's vfstab (test2)
      
  2. 
      
citrus
tsoome
  1. Ship It!
  2. 
      
citrus
tsoome
  1. Ship It!
    1. Actually... something you want to consider is to use be_get_defaults(&be_defaults); and be_defaults.be_deflt_rpool_container :)

  2. 
      
seeemef@mac.com
  1. 
      
  2. usr/src/lib/libbe/common/be_rename.c (Diff revision 3)
     
     

    Maybe only be_root_container is needed given the following appears above:

    /* New BE will reside in the same zpool as orig BE */
    bt.nbe_zpool = bt.obe_zpool;
    
  3. 
      
citrus
seeemef@mac.com
  1. LGTM

  2. 
      
tsoome
  1. Ship It!
  2. 
      
citrus
Review request changed

Status: Closed (submitted)

Loading...