This article contains​ information about verifying the file system integrity of a NetScaler appliance.
At times, an administrator might have a doubt about the integrity of the file system of the NetScaler appliance. For example, to ensure that the NetScaler appliance does not have any hardware issue or after the appliance had stopped responding, the administrator might want to verify the file system integrity of the appliance.
To verify the file system integrity of the NetScaler appliance, complete the following procedure:
Connect a console cable to the Serial Console of the NetScaler appliance, which is 9600 baud, 8 bits, 1 stop bit, and No parity.
Restart the appliance.
Press Ctrl+C keys simultaneously, immediately after the following message is displayed:
Hit [Enter] to boot immediately, or any other key for command prompt Booting [kernel] in 10 seconds Press the SPACEBAR.
Run the following command to start the kernel in a single user mode:
boot -s
Press Enter after the following message is displayed:
Enter full pathname of shell or RETURN for /bin/sh.
Note: The prompt of the appliance changes to \u@\h\$.
Run the following command to verify the disk consistency of the flash drive:
\u@\h\$ /sbin/fsck /dev/ad0s1a
Note: Refer to CTX121853 - Device Names Assigned to Hard Disk in Various Models of the Citrix NetScaler Appliance to verify the names of the drives.
Run the following command to display the mounted partitions:
\u@\h\$ df
If the flash drive is not mounted, run the following command to mount the flash drive:
\u@\h\$ /sbin/mount /dev/ad0s1a /flash
Run the following commands to verify the disk consistency of the hard disk:
\u@\h\$ /sbin/fsck /dev/ad2s1e
\u@\h\$ /sbin/mount /dev/ad2s1e /var
Note: For NetScaler 10.5 and later, use -t ufs command with fsck and mount command.
If the output of the fsck command does not display any error, restart the appliance in the normal mode.
If something in the output does not appear to be normal or an error is displayed, reset the hard disk drive and repeat the procedure again. If the error is displayed again, contact Citrix Support for further investigation.