Determining usage of the shared drive

This article describes several ways to check the current usage of the shared drive from a VM or from an SFTP client. Any Skytap or administrator can perform these actions.

Contents

Determining usage from a Windows VM

By mapping the shared drive as a network drive, you can see the total drive capacity and how much of the capacity is in use. The mapping process differs between Windows versions.

For example, from a Windows Server 2008 R2 VM:

  1. Navigate to My Computer.
  2. Click the Map Network Drive button along the upper edge of the window.
  3. Choose an appropriate drive letter (such as “F:”).
  4. For the Folder field, enter \\gw\shared.

Determining usage from a Linux VM

View usage from smbclient or Nautilus on a Linux VM. For more information about installing these tools, see Adding and sharing files with the shared drive.

  • smbclient

    Type du to display the current usage of the shared drive, as well as its total capacity.

  • Nautilus

    To display current and total use, view the folder properties by pressing Alt + Enter.

Determining usage from an SFTP client

How you determine usage via SFTP depends on which program you use. Most programs display only the size of files within a selected directory—not the contents of subdirectories.

You can view the total size of a directory and all of the files in its subdirectories by temporarily adding them to the SFTP client transfer queue.

To view the combined size of all files in the shared drive

  1. To temporarily add all files to the transfer queue, right-click the shared_drive directory and select Add files to queue from the menu.

    The SFTP client displays the combined size of all the files in the transfer queue.

    SFTP client

  2. To clear the transfer queue, right-click in the transfer queue at the bottom of the SFTP client and select Stop and remove all.

    Notes

    • You can't add files or folders to the transfer queue unless you're connected to an FTP server.
    • Some SFTP clients may report file sizes in kibibytes, mebibytes, etc., rather than in kilobytes, megabytes, etc.