This article describes how to run a File System check, the file system on XenServer Host in case where the file system is corrupted and need to be checked.
To check and repair a file system in XenServer you can use the fsck command.
XenServer Installation CD
To check the file system of a Citrix XenServer Host, complete the following procedure:
Insert the installation CD 1 of the XenServer host into CD-ROM drive where the file system to check is located.
Start the installation process and stop when it displays the Confirm Installation dialog box and to click Install XenServer. From the message displayed in the dialog box, note the path for the disk. For example: "Please confirm you wish to proceed: all data on disk /dev/sda will be destroyed."
Press ALT + F2 (you can toggle between the installation screen and the command prompt using ALT + F1 and ALT + F2). It prompts you to log on. Log on as the root user and the following prompt is displayed:
[root@(none)~]#
Run the fsck command as follows:
[root@(none)~]# fsck /dev/sda
Alternatively if you want to check a particular partition, run:
[root@(none)~]# fdisk /dev/sda
Press p to view partition details. You can use these details for the fsck command.
Refer to an fsck man page for more information.