Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
sh-4.2$ ozone sh bucket info o3://om/vol1/saketa2
{ "metadata" : \{ },
"volumeName" : "vol1",
"name" : "saketa2",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2022-11-21T23:47:20.992Z",
"modificationTime" : "2022-11-21T23:48:53.166Z",
"encryptionKeyName" : "key1",
"quotaInBytes" : -1,
"quotaInNamespace" : -1,
"bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
"replicationConfig" :
,
"link" : false
}
sh-4.2$ ozone sh bucket setquota --quota=500MB --namespace-quota=900 o3://om/vol1/saketa2
sh-4.2$ ozone sh bucket info o3://om/vol1/saketa2
,
"volumeName" : "vol1",
"name" : "saketa2",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2022-11-21T23:47:20.992Z",
"modificationTime" : "2022-11-21T23:51:29.191Z",
"encryptionKeyName" : "key1",
"quotaInBytes" : 524288000,
"quotaInNamespace" : 900,
"bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
"replicationConfig" :
,
"link" : false
}