| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: XFS mount fail: XFS_WANT_CORRUPTED_GOTO fs/xfs/xfs_alloc.c |
| From: | Ajeet Yadav <ajeet.yadav.77@xxxxxxxxx> |
| Date: | Sat, 4 Dec 2010 09:49:25 +0530 |
| Cc: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=PCPJzCKmOoqWZWtfsJL5uRWmLFhBxIRD0Ignkk8TfQc=; b=V/o8IhPdLqy7bvyOjsIEmPIoE0C81ZT/LwpMHGH0rWzPzhUsVMVNXMm0cQCPtHLiv5 qSS+GUK5Q95De+afAJT4YccijZ4vZXYY6/tr0HQsWnDbh2ZGFWhetYQ6B9iZ98kO/IPX 2jw+02BdJpPaZ+uZ+vIoST0B9R5nFyUJ5k3jw= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=D/eg/J5tLGeRkveB1x9UuzgOdSGLsk5e/mxAlQdBBxQsLSjqKLCpTBPy0UTeGRmtgO VB43xPsDVEc8RJcbJM+hHTOUcNBlZNAZUQqBAFemiubH4XUe1vgmvaq3Bx1wCC2Sy54B 8JnkCKSDzL5w1qth4mhAt3Wu03LmWEm6dHKtk= |
| In-reply-to: | <20101202224506.GY16922@dastard> |
| References: | <AANLkTi=7r8gV-cnBU9WNkn6kHz82qnUp8XD2dzAY+LF7@xxxxxxxxxxxxxx> <20101202224506.GY16922@dastard> |
|
Our test case is automated: 1. Create large number of file of 6KB sizes ( 6KB is taken, we wanted to increase journal load, and file size not in multiple of file system block size) 2. Set target to reboot at random seconds seconds. 3. Next boot do "ls" of all files in XFS partition. 4. Remove all files in XFS. 5. Go back to step 1 The purpose of this test is to test journal and stability of XFS filestem. Do you think, we should consider this test case ? Other is when we should run xfs_repair ? because if mount fails and journal contain dirty logs then xfs_repair does not run, we are forced to use (-L) option but its description say that (-L) can corrupt the file system. Other case even if xfs mount successfully, even in that case accessing some files give IO input/ output error. 1. I recommend the following usage for xfs_repair so that we do not come accross these problem Mount Success -> Umount -> run xfs_repair -> mount Mount fails -> try xfs_repair -> xfs_repair fails -> finally xfs_repair -L -> mount Adding above mount + xfs_repair procedure to script makes file system stable. But other member of my team do not agree as it increases mount time. On Fri, Dec 3, 2010 at 4:15 AM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfs_repair of critical volume, Eli Morris |
|---|---|
| Next by Date: | Re: xfs_repair of critical volume, Martin Steigerwald |
| Previous by Thread: | Re: XFS mount fail: XFS_WANT_CORRUPTED_GOTO fs/xfs/xfs_alloc.c, Dave Chinner |
| Next by Thread: | Re: XFS mount fail: XFS_WANT_CORRUPTED_GOTO fs/xfs/xfs_alloc.c, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |