Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACFS correction #76

Open
traktofon opened this issue Sep 10, 2024 · 2 comments
Open

ACFS correction #76

traktofon opened this issue Sep 10, 2024 · 2 comments

Comments

@traktofon
Copy link
Contributor

The ACFS has dual locations for resilience, and as a result standard commands like `du` or `ls -al`

should be ls -als; -l shows actual file size, -s additionally shows the allocated size

@heatherkellyucl
Copy link
Collaborator

The two give me the same output at the moment on Kathleen?

[cceahke@login01 testmodules]$ pwd
/home/cceahke/ACFS/testmodules
[cceahke@login01 testmodules]$ ls -als
total 11
1 drwxr-xr-x 2 cceahke staff 4096 Sep 10 15:48 .
1 drwx------ 3 cceahke staff 4096 Sep 10 15:48 ..
1 -rw-r--r-- 1 cceahke staff  386 Sep 10 15:48 gerun-test
1 -rw-r--r-- 1 cceahke staff  737 Sep 10 15:48 hwloc-2.8.0
1 -rw-r--r-- 1 cceahke staff 1518 Sep 10 15:48 openmpi-1.10.1-both
1 -rw-r--r-- 1 cceahke staff 1294 Sep 10 15:48 openmpi-1.10.1-patched
1 -rw-r--r-- 1 cceahke staff 1061 Sep 10 15:48 openmpi-4.0.3-gnu4.9.2
1 -rw-r--r-- 1 cceahke staff 1512 Sep 10 15:48 openmpi_4.0.5_gnu-10.2.0
1 -rw-r--r-- 1 cceahke staff 1512 Sep 10 15:48 openmpi_4.1.0_gnu-10.2.0
1 -rw-r--r-- 1 cceahke staff  850 Sep 10 15:48 qe-6.4.1
1 -rw-r--r-- 1 cceahke staff 1017 Sep 10 15:48 testmodulefunctions
[cceahke@login01 testmodules]$ ls -al
total 11
drwxr-xr-x 2 cceahke staff 4096 Sep 10 15:48 .
drwx------ 3 cceahke staff 4096 Sep 10 15:48 ..
-rw-r--r-- 1 cceahke staff  386 Sep 10 15:48 gerun-test
-rw-r--r-- 1 cceahke staff  737 Sep 10 15:48 hwloc-2.8.0
-rw-r--r-- 1 cceahke staff 1518 Sep 10 15:48 openmpi-1.10.1-both
-rw-r--r-- 1 cceahke staff 1294 Sep 10 15:48 openmpi-1.10.1-patched
-rw-r--r-- 1 cceahke staff 1061 Sep 10 15:48 openmpi-4.0.3-gnu4.9.2
-rw-r--r-- 1 cceahke staff 1512 Sep 10 15:48 openmpi_4.0.5_gnu-10.2.0
-rw-r--r-- 1 cceahke staff 1512 Sep 10 15:48 openmpi_4.1.0_gnu-10.2.0
-rw-r--r-- 1 cceahke staff  850 Sep 10 15:48 qe-6.4.1
-rw-r--r-- 1 cceahke staff 1017 Sep 10 15:48 testmodulefunctions

@traktofon
Copy link
Contributor Author

traktofon commented Sep 10, 2024

-s adds a column in the front; your files are all very small so allocated size currently shows as 1kiB but multiple files might be packed together into one inode filesystem block. Try larger files.

[email protected] ~/ACFS/bin$ ls -lsh
total 48K
48K -rwxr-xr-x 1 uccafot uccas0 23K Sep 10 15:42 mpi_pi

48K vs 23K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants