...
Code Block | ||
---|---|---|
| ||
$ dmg pool create --size=10G Creating DAOS pool with automatic storage allocation: 10 GB NVMe + 6.00% SCM Pool created with 100.00% SCM/NVMe ratio ----------------------------------------- UUID : 528f4710-7eb8-4850-b6aa-09e4b3c8f532 Service Ranks : 0 Storage Ranks : 0 Total Size : 10 GB SCM : 10 GB (10 GB / rank) NVMe : 0 B (0 B / rank) $ daos cont create --pool=$DAOS_POOL Successfully created container bfef23e9-bbfa-4743-a95c-144c44078f16 |
daos container
...
create with HDF5 type
Code Block | ||
---|---|---|
| ||
$ daos pool list-cont --pool=$DAOS_POOL
bfef23e9-bbfa-4743-a95c-144c44078f16
|
daos container destroy
Code Block | ||
---|---|---|
| ||
# Create a HDF5 container # By default: type = POSIX $ daos cont destroycreate --pooltype=$DAOS_POOLHDF5 --contpool=$DAOS_CONTPOOL Successfully destroyedcreated container bfef23e9bc4fe707-bbfa7470-47434b7d-a95c83bf-144c44078f16face75cc98fc |
daos container create
...
with redundancy factor
No Format |
---|
# Create a HDF5 container forwith oclass RP_2G1 traffic and, redundancy factor = 1 #$ Bydaos default:cont typecreate --oclass= POSIX # oclass = SX # rf:0 (redundancy factor) $ daos cont createRP_2G1 --properties=rf:1 --pool=$DAOS_POOL Successfully created container 0d121c02-a42d-4029-8dce-3919b964b7b3 |
daos container list
Code Block | ||
---|---|---|
| ||
$ daos pool list-cont --pool=$DAOS_POOL bfef23e9-bbfa-4743--type=HDF5a95c-144c44078f16 |
daos container destroy
Code Block | ||
---|---|---|
| ||
$ daos cont destroy --oclasspool=RP$DAOS_2G1POOL --properties=rf:1cont=$DAOS_CONT Successfully createddestroyed container bc4fe707bfef23e9-7470bbfa-4b7d4743-83bfa95c-face75cc98fc 144c44078f16 |
daos container query
Code Block | ||
---|---|---|
| ||
$ daos cont query --pool=$DAOS_POOL --cont=$DAOS_CONT
Pool UUID: 528f4710-7eb8-4850-b6aa-09e4b3c8f532
Container UUID: bc4fe707-7470-4b7d-83bf-face75cc98fc
Number of snapshots: 0
Latest Persistent Snapshot: 0
Highest Aggregated Epoch: 172477977191481344
Container redundancy factor: 1
|
daos container snapshot
Code Block | ||
---|---|---|
| ||
$ daos help cont snapshot
daos command (v1.2), libdaos 1.2.0
container (cont) commands:
create create a container
clone clone a container
destroy destroy a container
list-objects list all objects in container
list-obj
query query a container
get-prop get all container's properties
set-prop set container's properties
get-acl get a container's ACL
overwrite-acl replace a container's ACL
update-acl add/modify entries in a container's ACL
delete-acl delete an entry from a container's ACL
set-owner change the user and/or group that own a container
stat get container statistics
check check objects consistency in container
list-attrs list container user-defined attributes
del-attr delete container user-defined attribute
get-attr get container user-defined attribute
set-attr set container user-defined attribute
create-snap create container snapshot (optional name)
at most recent committed epoch
list-snaps list container snapshots taken
destroy-snap destroy container snapshots
by name, epoch or range
rollback roll back container to specified snapshot
use 'daos help cont|container COMMAND' for command specific options
|
daos container snapshot create/list/destroy
Code Block | ||
---|---|---|
| ||
$ daos cont create-snap --pool=$DAOS_POOL --cont=$DAOS_CONT
snapshot/epoch 172646116775952384 has been created
$ daos container list-snaps --pool=$DAOS_POOL --cont=$DAOS_CONT
Container's snapshots :
172478166024060928
172646116775952384
$ daos container destroy-snap --pool=$DAOS_POOL --cont=$DAOS_CONT --epc=172646116775952384
$ daos container list-snaps --pool=$DAOS_POOL --cont=$DAOS_CONT
Container's snapshots :
172478166024060928
|
Frequent errors user might see and workaround
...