Ramdisk: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 3: Line 3:
   none  /et  tmpfs  nodev,nosuid,noexec,nodiratime,size=4096M  0 0
   none  /et  tmpfs  nodev,nosuid,noexec,nodiratime,size=4096M  0 0


it will show up after reboot. To enable it without reboot, type ''mkdir /et'' and ''mount /et''.
Run following commands:
 
mkdir /et
To let users to delete each other files, remove sticky bit from ''/et'' permissions:
systemctl daemon-reload
 
mount /et
  chmod 777 /et
  chmod 777 /et


'''General info'''
'''General info'''

Revision as of 13:42, 15 January 2026

On critical daq servers (clondaqx) directory /et have to reside in ramdisk. Create directory /et, and add following line in /etc/fstab:

 none  /et  tmpfs   nodev,nosuid,noexec,nodiratime,size=4096M   0 0

Run following commands:

mkdir /et
systemctl daemon-reload
mount /et
chmod 777 /et

General info

Check available memory size:

free -g

Example of creating 4G ramdisk and mounting it as /mnt/ramdisk:

su
mkdir /mnt/ramdisk
mount -t tmpfs -o size=4g xfs /mnt/ramdisk