Though the Linux operating system is considered as very much advanced and is most frequently updated, still data loss situations do happen in Linux systems resulting in the loss or inaccessibility of important data. In such situations, if you do have another copy of your data, then only you can feel relieved. Among many other techniques to safe guard your data, hard disk mirroring is one such technique, through which you can be able to create an exact copy of your hard disk. ‘Ivconvert’ is an in-built utility in Linux operating system, which is meant to convert the linear logical hard disk volume to an exact or mirror logical volume. However, the point of caution is that if you do not handle the process carefully, it can lead to the failure of your hard disk and data loss thereof. Under such a condition, you need to take the help of any Linux data recovery software to bring back your lost or inaccessible data.
A brief about ‘Ivconvert’:
‘Ivconvert’ is an in-built application of Linux operating system and helps you convert your liner Linux OS based hard drive volume to a mirror logical volume, which can be used in case, you encounter any instance of data loss situation. You can also use this command-line utility to add or remove the disk logs from the newly created mirror devices. Below are some of the most common parameters to perform some specific tasks:
-R, –regionsize MirrorLogRegionSize- This option lets you divide the mirror disk into several regions of defined size in megabytes.
-m, –mirrors Mirrors- This is a more advanced option, which lets you specify the degree of the mirror disk, you want to create. Note that here, ‘-m 1’ means the
original Linux volume to be converted into a single copy of mirror logical volume with one linear volume. http://smartwebsiteideas.com/
–corelog- This is an option which instructs the utility to employ an in-memory log instead of a disk-based log.
-s, –snapshot- This option allows you to create the snapshot from an existing volume with the help of another volume having the same origin.
-Z, –zero y/n- This option defines the the zeroing of the first KB of information in the snapshot taken. However, if the volume is set as read-only, then the
snapshot can not be zeroed.
It is always safe to take the backup of all your important data before you try converting your Linux volume into a mirror one as if the process of conversion by ‘Ivconvert’ is stopped in the middle, it may lead to data loss/inaccessibility. However, if you have not taken any backup or you fail to restore data from the backup, you can use any Linux recovery software to bring back your seemingly lost data.