public final class ZFSPool extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
disableDatasets(boolean force)
Disables datasets within a pool by unmounting/unsharing them all.
|
void |
dispose() |
void |
export(boolean force,
boolean hardForce)
Does "zpool export".
|
protected void |
finalize() |
long |
getAvailableSize()
Gets the remaining free space size of this pool in bytes.
|
String |
getName() |
String |
getProperty(zpool_prop_t prop) |
long |
getSize()
Gets the total size of this pool in bytes.
|
ZPoolStatus |
getStatus() |
long |
getUsedSize()
Gets the size of this pool that's already used in bytes.
|
public String getName()
public String getProperty(zpool_prop_t prop)
public ZPoolStatus getStatus()
public long getSize()
Because of the way libzfs report the size information (as strings like 1.2G), the precision of this information is low.
public long getAvailableSize()
Because of the way libzfs report the size information (as strings like 1.2G), the precision of this information is low.
public long getUsedSize()
Because of the way libzfs report the size information (as strings like 1.2G), the precision of this information is low.
public void disableDatasets(boolean force)
force - Not exactly sure what this does.public void export(boolean force,
boolean hardForce)
public void dispose()
Copyright © 2008–2017. All rights reserved.