Uninstall StorNext on Linux
To uninstall StorNext on a Metadata Controller (MDC), use the installation script (see Uninstall StorNext Storage Manager and StorNext File System).
To uninstall the StorNext client software, use the appropriate method for your operating system (see Uninstall the StorNext Client Software).
To uninstall StorNext File System and Storage Manager on an MDC running Unix or Linux, run the installation script with the -remove or -removeall option. To launch the script, access the folder for your operating system on the StorNext installation DVD.
- Log on to the MDC as root.
-
Mount the StorNext installation DVD and change to the DVD root directory.
Note: When you mount a DVD in a Red Hat 5 system, DVDs are mounted by default with a noexec (non-executable) option which prevents you from proceeding with the installation.
For Red Hat users only, before proceeding you must remount the DVD by typing:mount -o remount, exec ...
-
List the installation directories on the DVD. At the command prompt, type:
ls -l - Identify the correct installation directory for your operating system and hardware platform, and then change to that directory. For example, for Red Hat Linux 7 running on an x86 64-bit platform, change to the RedHat7_x86_64 directory.
-
Do one of the following steps:
-
(Recommended) Completely uninstall StorNext and return the system to a pristine state. At the command prompt, type:
./install.stornext -removeall -
Uninstall StorNext binaries but leave files that are useful if you are going to perform an HA upgrade (such as license files, some configuration files, and log files). At the command prompt, type:
./install.stornext -removeThe installation script runs.
-
- Type 2 and press Enter.
To uninstall the StorNext client software, unmount all file systems and stop StorNext software. Then remove the client software package using the appropriate command for your operating system.
Note: This procedure removes the client software only. To uninstall StorNext File System and Storage Manager, see Uninstall StorNext Storage Manager and StorNext File System.
-
Unmount all file systems. To unmount a file system, at the command prompt, type:
umount <mount_point>where <mount_point> is the location where the file system is mounted.
-
Stop the StorNext client software. At the command prompt, type:
-
HP-UX
/sbin/init.d/cvfs fullstop
-
IBM AIX
/etc/rc.cvfs fullstop
-
Solaris
/usr/cvfs/bin/cvfs fullstop
-
Others
/etc/init.d/cvfs fullstop
-
-
Remove the StorNext software packages using the correct commands for your operating system.
-
Red Hat and SUSE Linux:
rpm -e <package_names>where
<package_names>
are the names of the client software packages that were installed. -
Debian and Ubuntu Linux:
dpkg -P <package_names>where
<package_names>
are the names of the client software packages that were installed. -
Solaris:
pkgrm ADICsnfs -
HP-UX:
swremove –x mount_all_filesystems=false snfsclient -
IBM AIX:
installp –u <package_name>where
<package_name>
is the name of the client software package that was installed. -
SGI IRIX:
Inst
remove cv_base
remove cv_clnt
go
-
Note: If you do not know the package name, you can download the client software for your operating system and check the package name. See Download the StorNext Client Software.
To uninstall the SNFS-only server install, unmount all file systems and stop the SNFS software. Then remove the SNFS software package using the rpm command.
Note: This procedure only removes the RPM software. To uninstall StorNext File System with Storage Manager, see Uninstall StorNext Storage Manager and StorNext File System.
-
Unmount all SNFS file systems using the following at the command prompt, where
<mount_point>
is the location where the file system is mounted:umount <mount_point> -
Stop the StorNext client software. At the command prompt, type:
/etc/init.d/cvfs fullstop -
Remove the StorNext software package using the following commands, where
<package_names>
are the names of the client software packages that were installed:rpm -e <package_names>