Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

Cluster is giving me inode errors

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


vsayyapa at luminalto

May 15, 2008, 10:42 PM

Post #1 of 2 (518 views)
Permalink
Cluster is giving me inode errors

Hello,

I was using drbd version 0.7.10.

My drbd resource is /dev/sda4 partition.
After the first sync of the drbd I did fsck on the both the nodes
(fsck /dev/sda4). It showed as clean.

My cluster is working with combination of heart beat and drbd , When I
did failover then in the primary node it was not able unmount the
/dev/sda4 and it rebooted the primary node.
After that secondary became primary .

Then on the both nodes when I run fsck on /dev/sda4, it is showing
i-nodes errors.\

i-node errors are
---------------------------------------------------------------------------------------------------------------------

fsck 1.38 (30-Jun-2005)
e2fsck 1.38 (30-Jun-2005)
ext3 recovery flag is clear, but journal has data.
Run journal anyway<y>? yes

/dev/sdb4: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Inode 8200225 is in use, but has dtime set. Fix<y>? yes

Inode 8200225 has compression flag set on filesystem without compression
support. Clear<y>? yes

Inode 8200225, i_blocks is 1778545795, should be 0. Fix<y>? yes

Inode 8200257 is in use, but has dtime set. Fix<y>? yes

Inode 8200258 is in use, but has dtime set. Fix<y>? yes

Inode 8200259 is in use, but has dtime set. Fix<y>? yes
.
.
.
.
.
--------------------------------------------------------------------------------------------------------------------------


Is i-node errors are due to hard reboot or any thing related old drbd
version?
Will these i-node errors will get copy to the other node also during
the sync process ?

Thanks in advance.





_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


lars.ellenberg at linbit

May 16, 2008, 10:14 AM

Post #2 of 2 (492 views)
Permalink
Re: Cluster is giving me inode errors [In reply to]

On Fri, May 16, 2008 at 11:12:32AM +0530, Sunil Varma wrote:
> Hello,
>
> I was using drbd version 0.7.10.
>
> My drbd resource is /dev/sda4 partition.
> After the first sync of the drbd I did fsck on the both the nodes (fsck
> /dev/sda4). It showed as clean.
>
> My cluster is working with combination of heart beat and drbd , When I
> did failover then in the primary node it was not able unmount the
> /dev/sda4 and it rebooted the primary node.
> After that secondary became primary .
>
> Then on the both nodes when I run fsck on /dev/sda4, it is showing
> i-nodes errors.\
>
> i-node errors are

> ---------------------------------------------------------------------------------------------------------------------
>
>
> fsck 1.38 (30-Jun-2005)
> e2fsck 1.38 (30-Jun-2005)
> ext3 recovery flag is clear, but journal has data.
> Run journal anyway<y>? yes
>
> /dev/sdb4: recovering journal

you say above "sda4", now it is "sdb4" ?
why are you fsck'ing sdX, not drbdY ?


> Is i-node errors are due to hard reboot or any thing related old drbd
> version?

hard to tell.
I'd say, most likely due to the "hard reboot", whatever that means.
do your disks use volatile write caches?

> Will these i-node errors will get copy to the other node also during
> the sync process ?

since you fsck'ed the lower level device, thus modifying the data
bypassing DRBD, you absolutely need a full sync now.

on the node you want to be sync target,
say "drbdadm invalidate $resource"

--
: commercial DRBD/HA support and consulting: sales at linbit.com :
: Lars Ellenberg Tel +43-1-8178292-0 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe http://www.linbit.com :
__
please use the "List-Reply" function of your email client.
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.