Print this page
*** NO COMMENTS ***
@@ -22,11 +22,11 @@
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
- * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
/*
* System includes
*/
@@ -384,14 +384,21 @@
for (snap = cur_be->be_node_snapshots; snap != NULL;
snap = snap->be_next_snapshot)
used += snap->be_snapshot_space_used;
+ if (!cur_be->be_global_active)
+ active[ai++] = 'x';
+
if (cur_be->be_active)
active[ai++] = 'N';
- if (cur_be->be_active_on_boot)
+ if (cur_be->be_active_on_boot) {
+ if (!cur_be->be_global_active)
+ active[ai] = 'b';
+ else
active[ai] = 'R';
+ }
nicenum(used, buf, sizeof (buf));
if (parsable)
(void) printf("%s;%s;%s;%s;%llu;%s;%ld\n",
name,