Monday, July 13, 2009

Linux data loss while converting to virtual disk

A virtual disk is a disk with some properties of the common hard drive, in real it is the emulation of a hard drive where a traditional Linux file system exists on physical disk partition.

Virtual disk offers more flexibility of data storage than the divisions, users consider converting all their file system divisions to the virtual disks. After converting divisions to virtual disk, you can access them only via virtual disk nodes.

To transfer to a virtual disk from system based divisions, unmount your Linux file system on the division that you want to convert then create simple virtual disk for every division with the help of Virtual Disk Manager. Allocate divisions to virtual disks. The divisions would be detached automatically once the virtual disks are assigned to them.

When the Linux file system is in the simple virtual disk pattern, relocation to another array pattern could be wrong without making the drive offline. Always make clear that the divisions are not accessed during migration process.

To simply convert file system divisions to virtual disk we should follow the following steps:

Unmount the file system on divisions, which you wish to convert

For every disk division choose new from disk menu, insert a simple virtual disk and allocate divisions to virtual disk. It sees every division with simple virtual disk.

For every disk division choose modify from disk menu and migrate simple virtual disk to desired RAID type.

Use File System Manager for updating the information of mounted file system. Replace the divvy** device nodes of file system with their virtual disk ones.

In this way, you easily convert your hard drive to a virtual disk and can obtain benefit of greater flexibility and improved performance. If the conversion process gets interrupted by any of the reasons like sudden power failure, OS crash, unexpected system shutdown or restart because of already mounted volume etc. we may face critical problems of data loss.

Not all Linux systems are licensed to use Virtual Disk Manager. Unfortunately, if your system isn’t licensed and you are trying to convert your partitions, Virtual Disk Manager exits with some error messages.

All these conditions lead you in difficulty of data loss and you need to perform Linux recovery to overcome this problem. Data recovery in Linux can easily be achieved using third party applications, known as Linux data recovery software.

0 comments: