Sunday, January 24, 2010

Data Loss in Linux Due to interrupted disk moving procss in volume group

The computer hard drive comes with limited storage capacity and becomes full or their performance get reduced . In such cases, you need a New hard drive with more storage capacity. To prevent data loss you should transfer all the data to new drive before changing your old drive . It can be done through "pvmove command-line tool" in Linux operating system. you must backup all your data Before trying pvmove peration, as a failed process may cause serious data loss .

You need to simply run the following command:

# pvmove /dev/hdb
pvmove —- moving physical extents in active volume group “dev”
pvmove —- WARNING: moving of active logical volumes may cause data loss!
pvmove -- do you want to continue ? [y/n] y
pvmove —- 249 extents of physical volume “/dev/hdb” successfully moved

old extents are distributed to the newly added disk: you would have to add another disk to volume group If the physical extents are not free for distributing old physical extent, and then move extents to replacement disk. Data from the old hard drive to the new one is moved . I t is not very essential to un mount the file system before you go for it. Prior to start moving data, full backup of all your data should be created.

Although, the above method is quite important and it is widely used, but in some situations in the case when move operation is interrupted and then moving active logical disk volumes could lead to data loss and in that situation Data Recovery Linux is needed to extract data.

This Linux Recovery can be performed very easily with the help of "Linux Data Recovery" software. They have very simple and interactive graphical interface for users and thus do not require prior technical skills to retrieve lost data. The software have read-only conduct to perform recovery operations.


0 comments: