×
Menu
Index

parted_command

 

Description

 
Issue a disk partitioning command.
 
POST parted_command
 

Request

 
In addition to the Standard Request Structure, the following parameters are required.
 
For more information, consult section Parameters.
 
Parameter
Required?
partition_all
N
add_partition
N
remove_partition
N
disk name
N
 

Response

 
 
Example
{
    "result": {
        "msg": "/dev/xvdr has been created successfully.",
        "records": [],
        "success": true,
        "total": 0
    },
    "session_id": 11255,
    "success": true
}
 

Notes

 
On AWS, EBS disk devices always show as raw devices, even after partitioning. This is a known issue and peculiar to EBS disk device partitioning. Even though the devices may display as needing to be partitioned, they can be used within a pool.
 
 
Made with help of Dr.Explain
Copyright (c) SoftNAS LLC