... | ... | @@ -2,7 +2,7 @@ |
|
|
## Tips & tricks
|
|
|
|
|
|
### Displaying the footprint of a directory
|
|
|
* On a ceph appliance:
|
|
|
#### On a ceph appliance:
|
|
|
```
|
|
|
$ getfattr -d -n ceph.dir.rbytes /store/teams/
|
|
|
# file: store/teams/
|
... | ... | @@ -10,7 +10,7 @@ ceph.dir.rbytes="40454837494686" |
|
|
$
|
|
|
```
|
|
|
You will eed to divide by 1024 to get Mbytes, Gbytes etc..
|
|
|
* On any Unix system:
|
|
|
#### On any Unix system:
|
|
|
```
|
|
|
$ du -hs /scratch/alainm/view/fargo/kokkos
|
|
|
8.5G /scratch/alainm/view/fargo/kokkos
|
... | ... | |