Board logo

subject: Interrupted Disk Moving Process In Volume Group Cause Data Loss In Linux [print this page]


All of the computer hard drives come with a limited storage capacity and may become full or their performance may get degraded. In such cases, you need a new hard drive with high speed and more storage capacity. Before you remove the old hard drive, you should always move your data to new one, to prevent data loss. You can do it through pvmove command-line tool in Linux operating system. Before trying pvmove operation, you must backup all your data as a failed process could lead to serious data loss and need Linux Data Recovery to be handled.

You can safely replace your hard drive by following the underwritten steps:

Distribute old extents to the existing disks in hard drive volume group: If you've sufficient free extents on other disks in volume group, the process will become easy. 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

Distribute the old extents to newly added disk: If the physical extents are not free for distributing old physical extent, you would have to add another disk to volume group and then move extents to replacement disk. Go through below steps for this:

First of all use pvcreate on new disk for preparing and making it available to the Logical Volume Manager.

Add prepared disk to volume group.

Move data from old hard drive to new one. It is not essential to unmount the file system before you go for it. Prior to start moving data, create a full backup of all your data.

Although, the above method is quite useful and widely used, but in some situations like interrupted move operation and moving active logical disk volumes could lead to data loss and need Data Recovery Linux to extract data.

The Linux Recovery can easily be performed with the help of Linux Data Recovery software. They have simple and interactive graphical user interface and thus do not require sound and prior technical skills to retrieve lost data. The software have read-only conduct to perform safe and original recovery.

Stellar Phoenix Linux Data Recovery is an excellent solution for all your data loss problems. The software recovers lost, missing and inaccessible data from Ext4, Ext3, Ext2, FAT32, FAT16 and FAT12 file system volumes. It is compatible with all major distributions of Linux operating system including Debian, Ubuntu, Red Hat, Mandriva, Kubuntu and SUSE.

by: mnkstllr




welcome to loan (http://www.yloan.com/) Powered by Discuz! 5.5.0