Print this page
4220 beadm mount of old BE with zones fails "Read only filesystem"
4235 beadm(1M) mount options undocumented in man page

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/beadm/beadm.c
          +++ new/usr/src/cmd/beadm/beadm.c
↓ open down ↓ 1261 lines elided ↑ open up ↑
1262 1262                  (void) fprintf(stderr, _("%s is already mounted.\n"
1263 1263                      "Please unmount the BE before mounting it again.\n"),
1264 1264                      obe_name);
1265 1265                  break;
1266 1266          case BE_ERR_PERM:
1267 1267          case BE_ERR_ACCESS:
1268 1268                  (void) fprintf(stderr, _("Unable to mount %s.\n"), obe_name);
1269 1269                  (void) fprintf(stderr, _("You have insufficient privileges to "
1270 1270                      "execute this command.\n"));
1271 1271                  break;
     1272 +        case BE_ERR_NO_MOUNTED_ZONE:
     1273 +                (void) fprintf(stderr, _("Mounted on '%s'.\nUnable to mount "
     1274 +                    "one of %s's zone BE's.\n"), mountpoint, obe_name);
     1275 +                break;
1272 1276          default:
1273 1277                  (void) fprintf(stderr, _("Unable to mount %s.\n"), obe_name);
1274 1278                  (void) fprintf(stderr, "%s\n", be_err_to_str(err));
1275 1279          }
1276 1280  
1277 1281  out:
1278 1282          if (tmp_mp != NULL)
1279 1283                  free(tmp_mp);
1280 1284          nvlist_free(be_attrs);
1281 1285          return (err);
↓ open down ↓ 239 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX