Filesystem Operations
Filesystem operations list and manage filesystem shares. All commands are scoped to a
given storage pool or project.
{service_uri}/pools/{pool}/project/{project}
Table 12-10 Filesystem Commands
|
|
|
GET
|
/filesystems
|
List all filesystems
|
GET
|
/pools/<pool>/projects /<project>/filesystems
|
List filesystems
|
GET
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>
|
Get filesystem details
|
POST
|
/pools/<pool>/projects /<project>/filesystems
|
Create a filesystem
|
PUT
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>
|
Modify a filesystem
|
DELETE
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>
|
Destroy a filesystem
|
GET
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>/usage/groups
|
Get filesystem group usage
|
GET
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>/usage/groups /<group>
|
Get filesystem usage for the specified group
|
POST
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>/usage/groups
|
Create a filesystem group quota
|
PUT
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>/usage/groups /<name>
|
Modify a filesystem group quota
|
GET
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>/usage/users
|
Get filesystem user usage
|
GET
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>/usage/users /<user>
|
Get filesystem usage for the specified user
|
POST
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>/usage/users
|
Create a filesystem user quota
|
PUT
|
/pools/<pool>/projects /<project>/filesystems
/<filesystem>/usage/users /<name>
|
Modify a filesystem user quota
|
|
Each filesystem contains properties from the project and also have the following
filesystem specific properties.
Table 12-11 Filesystem Properties
|
|
|
string
|
casesensitivity
|
Case Sensitivity setting ("mixed", “sensitive” or
“insensitive”)
|
string
|
group
|
The group name
|
string
|
normalization
|
Normalization
|
string
|
permissions
|
The filesystem permissions
|
string
|
project
|
The project name
|
boolean
|
quota_snap
|
Flag to include snapshots in the quota
|
boolean
|
reservation_snap
|
Flag to include snapshots in the reservation
|
string
|
shadow
|
Data migration source
|
string
|
sharesmb_name
|
Name of SMB share
|
object
|
source
|
Project inheritance properties
|
object
|
usage
|
File system usage information
|
string
|
user
|
The user name that owns the share
|
boolean
|
utf8only
|
Flag to reject non-UTF-8
|
|