Mounting Devices for Log Offload Parent topic

Logs > Log Settings
IWSVA has a log storage limit. If you do not want to purge old logs, you can offload the logs to an external device for permanent storage. If you want to analyze the logs in future, you can retrieve these logs from the storage device and restore them in IWSVA.
IWSVA enables you to offload logs to the following:
Note
Note
IWSVA currently does not support mounting CD-ROM or other compact disks to offload logs.

External Hard Drive or USB Flash Drive

The file system for an external hard disk or a USB flash drive is usually FAT32 or NTFS. Use one of the following commands to mount these devices to IWSVA:
  • FAT32:
    mount -o umask=000 /your_device/ /var/offload
  • NTFS:
    mount -o umask=000 -t ntfs /your_device/ /var/offload
Note
Note
The "-o" option is required because you cannot change the owner and group information of the mount location (/var/offload in this case).
The umask should be set to 000 to provide the write permissions to IWSVA (iscan).
Replace your_device with the path to your device.

Unix NFS Share Folder

To mount Unix NFS share folder to IWSVA:
  1. On the Unix NFS server, make sure that port 2049 is opened and the firewall will not block this port.
  2. On the Unix NFS server, open configuration file /etc/exports and add the following string at the bottom of the file:
    /var/your_folder*(rw)
    Note
    Note
    Replace your_folder with the name of the folder you want to mount.
  3. Do one of the following:
    • Restart the Unix NFS server
    • On the Unix NFS server, enable the configuration of /etc/exports using the following command:
      exports –ra
  4. On IWSVA server, run the following command:
    mount -t nfs your_ip:your_folder /var/offload
    Note
    Note
    Replace:
    your_ip with the IP address of the server.
    your_folder with the name of the folder you want to mount.

Windows Share Folder

To mount a remote Windows share folder to IWSVA:
  1. On a Windows computer, create a folder in which you want to save IWSVA logs.
  2. Right-click the folder you want to share, and click Properties.
  3. On the Sharing tab, click Advanced Sharing.
  4. On the Advanced Sharing screen, select Share this folder, and then click Permissions.
  5. On the Share Permissions tab, do the following:
    • Under Group or use names section, select Everyone.
    • Under Permissions for Everyone section, select Allow for at least Change and Read.
  6. On IWSVA server, run the following command:
    mount -t cifs -o username=xxx,password=yyy,file_mode=0777,dir_mode=0777,vers=2.0,uid=iscan,gid=iscan //your_ip/your_folder /var/offload
    Note
    Note
    Replace:
    xxx with your username on the Windows computer.
    yyy with your password of the Windows account.
    your_ip with the IP address of the server.
    your_folder with the name of the folder you want to mount.

A Folder on Local Hard Drive

To mount a local folder to IWSVA:
  • On IWSVA server, run the following command:
    mount --bind /your_folder /var/offload
    Note
    Note
    Replace:
    your_folder with the name of the folder you want to mount.