How Do I Refresh Disk in Linux?
Contents

How do I refresh disk space in Linux?

To free up space, do these steps:

  1. Run sudo lsof | grep deleted and see which process is holding the file. …
  2. Kill the process using sudo kill -9 {PID} . …
  3. Run df to check if space is already freed up.

Where is my newly installed disk Linux?

Once the storage team has mapped the new LUN’s with the Linux host, new LUN can be discovered by scanning the storage LUN ID at the host end. Scanning can be performed in two ways. Scan each scsi host device using /sys class file. Run the “rescan-scsi-bus.sh” script to detect new disks.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest