(In older documentation you may encounter references to the program ext2resize. Ensure that you have an up to date backup.Resizing is performed using the resize2fs command, however there are some preparatory steps that you should or must take beforehand: (The method described here is not specific to LVM, and could be usefully applied to any block device that can be resized without destroying its contents.) Method Overview You wish to reduce its size to 80GB, making 40GB available for other purposes. Suppose that /dev/vg0/foo was originally an 120GB logical volume containing an ext3 filesystem. Shrinking the block device without first shrinking the filesystem will probably destroy the filesystem. It is very important that the steps above are carried out in the correct order. These instructions cover step 1 in the case where the filesystem is ext2, ext3 or ext4. The method for the first step depends on the type of filesystem, and the method for the second step depends on the type of block device. Reduce the size of the underlying block device to match that of the filesystem.Reduce the size of the filesystem by the required amount.Reducing the capacity of a filesystem on a resizeable block device (such as a partition or logical volume) is a two-step process: MVAPICH2 version 2.To reduce the size of an ext2, ext3 or ext4 filesystem Background.HPC Changelog Toggle submenu visibility.Technical Support Toggle submenu visibility.Statewide Software Licensing Toggle submenu visibility.Software Refresh - August/September 2018.Updates to Ruby Application Software - September 2015.Updates to Oakley Application Software - September 2015.Software Refresh Toggle submenu visibility.ARM HPC tools Toggle submenu visibility.Software List Toggle submenu visibility.Scientific Database List Toggle submenu visibility.Available Software Toggle submenu visibility.OSC Custom Commands Toggle submenu visibility.HOWTO: Use ulimit command to set soft limits.HOWTO: Use an Externally Hosted License.HOWTO: Use a Conda/Virtual Environment With Jupyter.HOWTO: Deploy your own endpoint on a server.HOWTO: Use Globus (Overview) Toggle submenu visibility.HOWTO: Use Docker and Apptainer/Singularity Containers at OSC.HOWTO: Use Cron and OSCusage for Regular Emailed Reports.HOWTO: Submit multiple jobs using parameters.HOWTO: Submit Homework to Repository at OSC.HOWTO: Manage Access Control List (ACLs) Toggle submenu visibility.HOWTO: Identify users on a project account and check status.HOWTO: Establish durable SSH connections.HOWTO: Use GPU with Tensorflow and PyTorch.HOWTO: Install Python packages from source.HOWTO: Create and Manage Python Environments Toggle submenu visibility.HOWTO: Collect performance data for your program.HOW TO: Look at requested time accuracy using XDMoD.Classroom Project Resource Guide Toggle submenu visibility.Budgets and Accounts Toggle submenu visibility.Getting Started Toggle submenu visibility. The OnDemand File application should not be used for transfers larger than 1GB. Globus is recommended for large transfers. If you have the space available locally you can transfer your data there using sftp or Globus. If you need the data but do not access the data frequently, you should compress the data using tar or gzip. Requests for data to be moved to the archive file system should be larger than 1TB. If you still need the data but do not plan on needing the data in the immediate future, contact OSC Help to discuss moving the data to an archive file system. Extreme caution should be used when doing so! Archiving Data If you are absolutely sure the files identified by find are okay to delete you can remove the -i option to rm and you will not be prompted. To view the total size in bytes of all the files found by find, you can add | awk ' \.To view files not accessed over a different time span, replace 100 with your desired number of days.can be used to search the current directory. To search a different directory replace ~ with the path you wish to search.The last access time atime is updated when a file is opened by any operation, including grep, cat, head, sort, etc. This command will recursively search the users home directory and give a detailed listing of all files not accessed in the past 100 days. Find all files in a directory that have not been accessed in the past 100 days: To terminate the command while it is running, click CTRL + C. Find commands may produce an excessive amount of output.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |