FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-02-2010, 02:13 PM
Knowledge Seeker
 
Default XFS: xfs_repair never finishes on lvm partition

Hi,

I'm using Debian Lenny box with 2 hds.

The first one is used by the OS and the second one is another system witch runs in virtual machine (Virtual Box).
This virtual machine also runs Debian Lenny.


The vm's hd has 2 fdisk partitions, one being LVM.

On the last week, due a power failure, there was a corruption in the file system of my home xfs partition inside the LVM.
When* I tried to access it, my OS answered that it's not a file or a directory.

Umounting and mounting again, the error persists.
I tried an xfs_check and it said to mount and umount the filesystem and if it does not work to run xfs_repair with -L.
I tried it a couple of times and it didn't work, so I ran xfs_repair -L /dev/mapper/storage-home


On Phase 6, it just freezes in:

bad hash table for directory inode 2147483859 (no data entry): rebuilding
rebuilding directory inode 2147483859

And never finish.
I let running for 2 days long.


When I use ps to see the state:

*2359 pts/0*** Sl+*** 0:11 xfs_repair -L /dev/mapper/storage-home

Interruptible sleep (waiting for an event to complete), multi threaded, in foreground.

It just stoped when I sent an interrupt signal Ctrl+C.


I tried to do the same from the host machine (real machine), since the HD could be accessed from it.
The funniest thing is that the xfs_repair did not hang, but when I try to mount the partition it does not mount the* full partition.

An ls in the /mnt mounting /dev/storage/home (from host machine), doesn't show the /home, it shows a subdirectory from /home.
And if I start again the Virtual Machine, it prints the same error: /home is not file or directory.


Weird..

Some one have any idea, how to solve it?

Thanks in advance

Regards

*
--
Knoseeker
 
Old 10-03-2010, 03:11 AM
Stan Hoeppner
 
Default XFS: xfs_repair never finishes on lvm partition

Knowledge Seeker put forth on 10/2/2010 9:13 AM:

> I tried an xfs_check and it said to mount and umount the filesystem and if
> it does not work to run xfs_repair with -L.
> I tried it a couple of times and it didn't work, so I ran xfs_repair -L
> /dev/mapper/storage-home
>
> On Phase 6, it just freezes in:
>
> bad hash table for directory inode 2147483859 (no data entry): rebuilding
> rebuilding directory inode 2147483859

You need to post this to the XFS mailing list: xfs@oss.sgi.com

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CA7F455.9010808@hardwarefreak.com">http://lists.debian.org/4CA7F455.9010808@hardwarefreak.com
 

Thread Tools




All times are GMT. The time now is 01:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org