How to run a file system check XenServer root file system

How to run a file system check XenServer root file system

book

Article ID: CTX116113

calendar_today

Updated On:

Description

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.

Requirements

XenServer Installation CD


Instructions

To check the file system of a Citrix XenServer Host, complete the following procedure:

  1. Insert the installation CD 1 of the XenServer host into CD-ROM drive where the file system to check is located.

  2. 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."

  3. 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)~]#

  4. 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

  5. Press p to view partition details. You can use these details for the fsck command.

Issue/Introduction

This article describes how to check the file system of a Citrix XenServer Host. Note: Running the fsck command on a mounted file system is not recommended.

Additional Information

Refer to an fsck man page for more information.