Tuesday, July 21, 2009

Command tune2fs Error in Linux

Linux is an open source and the commands in Linux are for the sake of some specific purposes, but the incorrect use of these commands due to lack of knowledge or carelessness can make the things vulnerable and hence the harsh conditions of data loss. The tune2fs is the system administration command which is used to tune the parameters of Linux Ext2 file system by performing some adjustments. 

The command marks the rule that the concerned device must not be mounted read/write when you are desired to change the parameters unless this would lead to the severe file system problems hence the need of Linux recovery.
Additionally, there are few options of using the command which can make the file system dirty, if carried out in the incorrect fashion like:

-c max-mount-counts: This option is viable when the maximal mounts count between the two file system checks is needed to be adjusted. Now the results of disabling the mount-count-dependent checking can be drastic. If the disk drive is problematic or kernel bugs are there, then whole of the file system may become corrupted. Though file system error will force the fsck check, but probably this is late to prevent the situation of data loss.

-f: The option is quite helpful to remove the has_journal file system feature which has an external journal. But care should be taken as removing the external journal which was not cleanly unmounted and is without first replay of external journal, the file system can get corrupt and the Linux data recovery may be demanded.

-i interval-between-checks [d|m|w]: This option is valuable to adjust the maximal time between two file systems checks. If this value is zero, the time dependent checking is ignored. So the e2fsck must be run periodically to avoid any problem of file system corruption.

The file system consists the repository of all the references to the stored data and the file system corruption can take away all these. But the data still remains important and there on the hard drive, recoverable through the application of suitable procedures. 

Data recovery Linux is feasible through Linux recovery software which makes scan of the hard drive to retrieve the data. The RAW File Recovery feature, although available with few software, is the key term to have Linux recovery which takes no reference from the file system structure. 

Thus this is valuable in case of severe file system corruption. This Linux recovery software is usable with Ext2, Ext3 and ReiserFS file systems and is able to recognize each file type for the complete Linux data recovery. The user interface is quite interactive and the software has been designed read-only for safe and valuable Linux data recovery.

0 comments: