Skip to content

Commit cdee07b

Browse files
authored
Update ndcms.md
Made additional updates on "Storage"
1 parent 000c0da commit cdee07b

1 file changed

Lines changed: 23 additions & 8 deletions

File tree

docs/resources/ndcms.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Note: Unless otherwise noted, the links below only work for those on campus or c
160160

161161
To check the general status of HTCondor within the CRC, you can view the [HTCondor utilization matrix](http://condor.cse.nd.edu/condor_matrix.cgi), for more information on HTCondor itself view the `HTCondor <condor>` page.
162162

163-
- The official documentation for conodr command line utilities can be found [here](http://www.cs.wisc.edu/condor/manual/v7.0/9_Command_Reference.html).
163+
- The official documentation for condor command line utilities can be found [here](http://www.cs.wisc.edu/condor/manual/v7.0/9_Command_Reference.html).
164164

165165
#### HTCondor Job Monitoring
166166

@@ -222,23 +222,25 @@ Remember that 'condor_qedit' will work on a specific job ID (xxx.y), a job clust
222222

223223
------------------------------------------------------------------------
224224

225-
## Storage
225+
## Storage
226226

227-
Back to `Top of the Page <ndcms>`.
227+
Back to [Top of the Page](<https://crcresearch.github.io/ndcmsT3/>)
228228

229229
Users have access to a variety of storage locations. The key is knowing the tradeoffs of each, so you can identify what's the right resource for you to use. If you don't have a directory in any of the spaces listed, ask for help at <ndt3-list@nd.edu>.
230230

231+
[Detailed information regarding Storage can be found here](<https://docs.crc.nd.edu/transition/netapp/netapp.html#>)
232+
231233
### Home Area
232234

233235
Each user has a home directory on `/users` with 100GB of personal disk space that is backed up nightly and cannot be increased. This is where you should keep software that you're developing, papers that you're writing, your thesis draft, etc. Basically, use this for anything that you would be very sad to have to recreate if it were accidentally deleted or lost due to hardware failure.
234236

235-
To check the quota use `fs lq` (short for “fileservice listquota”)
237+
To check the quota use `df -h /users/username`
236238

237239
------------------------------------------------------------------------
238240

239241
### Scratch Space
240242

241-
Also users get 250GB of non-backed up space in `/scratch365/<username>` and non-backed up space for small files in `/store/smallfiles`. There is no quota on `/store/smallfiles` but the total space is 80 TB and must be shared by all users. In general, this storage is useful to use for temporary files of intermediate sizes. If you need reasonable access performance for multiple jobs to the files (e.g. you're going to run more than ~100 jobs reading or writing files in the batch system) then don't use `/store/smallfiles` as the performance degrades severely. In that case, either use `/scratch365` or `/hadoop/store/user` (see below).
243+
Also users get 250GB of non-backed up space in `/scratch365/<username>` and non-backed up space for small files in `/store/smallfiles`. There is no quota on `/store/smallfiles` but the total space is 80 TB and must be shared by all users. In general, this storage is useful to use for temporary files of intermediate sizes. If you need reasonable access performance for multiple jobs to the files (e.g. you're going to run more than ~100 jobs reading or writing files in the batch system) then don't use `/store/smallfiles` as the performance degrades severely. In that case, either use `/scratch365` or `/cms/cephfs/data/store/user` (see below).
242244

243245
------------------------------------------------------------------------
244246

@@ -264,6 +266,19 @@ xrdmapc skynet013:1094 --list all
264266
Srv skynet014.crc.nd.edu:1094
265267
```
266268

269+
To access the external data (xcache), please use `skynet013.crc.nd.edu on port 1096`.
270+
271+
``` shell
272+
xrdmapc skynet013:1096 --list all
273+
0**** skynet013.crc.nd.edu:1096
274+
Srv primeradiant01.crc.nd.edu:1094
275+
Srv primeradiant02.crc.nd.edu:1094
276+
Srv primeradiant03.crc.nd.edu:1094
277+
Srv primeradiant04.crc.nd.edu:1094
278+
Srv primeradiant05.crc.nd.edu:1094
279+
Srv primeradiant06.crc.nd.edu:1094
280+
```
281+
267282
[OUTDATED - TO BE UPDATED]
268283
The Hadoop file system (hdfs) is a different sort of files system than most. Hadoop breaks your data up into blocks of ~128 MB and scatters two copies of each block across multiple physical disks. It does this for two reasons: The replication makes the system more resilient against hardware failures and it also provides better performance when many different jobs are reading or writing to the system. Like `/store/smallfiles`, Hadoop doesn't have per user quotas, and there is a lot of space available (at the time of this writing, 644 TB of raw space, but remember that every TB you store takes up ~2 TB of space because of replication). Hadoop is also the file system that is accessible with CMS/grid tools like gfal and XRootD. You should use Hadoop whenever you have very large datasets, when you need to access your data using gfal or XRootD, or when you will be accessing your data with many parallel running jobs (anything more than 100). There are some caveats: \* Hadoop doesn't handle very small files well. If you write large numbers of files with sizes on the order of MB, don't use Hadoop. For files in that size range, use `/store/smallfiles` or `/scratch365` \* Hadoop doesn't provide posix access directly. This means that normally you can't use commands like ''ls'' or ''cp''. We use something called FUSE to provide posix access to Hadoop, but FUSE can be broken if you try to read too much data too quickly. So, when running many batch jobs, its better to access the data directly using hdfs commands, or to use a tool, like XRootD or Lobster that does this for you. If you're running jobs on data in `/hadoop` and they are getting stuck or having Input/Output errors, you've probably crashed FUSE on some of the nodes. If this happens, ask for help \[[mailto:ndt3-list@nd.edu](mailto:ndt3-list@nd.edu) <ndt3-list@nd.edu>\]. \* ROOT cannot write directly into `/hadoop/store/user`. If your job is producing ROOT output, write it first to local disk (every worker node has local disk for this purpose) and then at the end of the job, copy the output to `/hadoop/store/user` (possibly using gfal to avoid problems with FUSE!). Again, if you have questions, ask on <ndt3-list@nd.edu>.
269284

@@ -289,11 +304,11 @@ All CMS data are stored using the /store convention, Therefore we only need to m
289304
Translation rules for PFN to LFN (Physical File Name to Logical File Name):
290305

291306
``` shell
292-
/hadoop/store ==> /store
307+
/cms/cephfs/data/store ==> /store
293308
```
294309

295-
To see how much space is available in the hadoop /store area, you can type the following from earth:
310+
To see how much space is available in the CEPH /store area, you can type the following from earth:
296311

297312
``` shell
298-
hadoop fs -df -h /store
313+
df -h /cms/cephfs/data/store
299314
```

0 commit comments

Comments
 (0)