btrfs_filesystem_resize


Description:

[ Version ( since = "1.11.17" ) ]
public bool btrfs_filesystem_resize (string mountpoint, BTRFSFilesystemResize? optargs) throws Error

resize a btrfs filesystem

This command resizes a btrfs filesystem.

Note that unlike other resize calls, the filesystem has to be mounted and the parameter is the mountpoint not the device (this is a requirement of btrfs itself).

The optional parameters are:

size The new size (in bytes) of the filesystem. If omitted, the filesystem is resized to the maximum size.

See also btrfs(8).

This function depends on the feature "btrfs". See also feature_available.

Parameters:

this

A GuestfsSession object

optargs

a GuestfsBTRFSFilesystemResize containing optional arguments

Returns:

true on success, false on error