Discussion:
DRBD and XFS
Valdas R
2006-09-12 17:20:44 UTC
Permalink
Hello

I'm struggling for last couple days to get my sync
working. I have to server one of then runs CentOS
kernel 2.6.17.8, with read ahead patch, another one
CentOS 2.6.17.13, Drbd version: 0.7.21
config file for looks like this:

on primary {
device /dev/drbd0;
disk /dev/cciss/c1d0p1;
-------------> xfs file system
address 192.168.0.105:7788;
meta-disk /dev/cciss/c1d0p3[0];
----------------> ext3 file system

}

on secondary{
device /dev/drbd0;
disk /dev/sdb1;
---------------------> xfs
address 192.168.0.106:7788;
meta-disk /dev/sdb2[0];
----------------------->xfs
}


i make secondary server Stand Alone and primary:

after that

mount /dev/drbd0 /test_dir/
mount: /dev/drbd0: can't read superblock

and dmesg:

Filesystem "drbd0": Disabling barriers, not supported
by the underlying device
attempt to access beyond end of device
drbd0: rw=0, want=245762304, limit=220319968
I/O error in filesystem ("drbd0") meta-data dev drbd0
block 0xea608ff ("xfs_read_buf") error 5 buf
count 512
XFS: size check 2 failed
Filesystem "drbd0": Disabling barriers, not supported
by the underlying device
attempt to access beyond end of device
drbd0: rw=0, want=245762304, limit=220319968
I/O error in filesystem ("drbd0") meta-data dev drbd0
block 0xea608ff ("xfs_read_buf") error 5 buf
count 512
XFS: size check 2 failed


I was wondering if it's because drbd-meta dir file
system is different on primary server or some other
issue ?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Clive Eisen
2006-09-12 20:03:41 UTC
Permalink
Post by Valdas R
Hello
I'm struggling for last couple days to get my sync
working. I have to server one of then runs CentOS
kernel 2.6.17.8, with read ahead patch, another one
CentOS 2.6.17.13, Drbd version: 0.7.21
on primary {
device /dev/drbd0;
disk /dev/cciss/c1d0p1;
-------------> xfs file system
address 192.168.0.105:7788;
meta-disk /dev/cciss/c1d0p3[0];
----------------> ext3 file system
}
on secondary{
device /dev/drbd0;
disk /dev/sdb1;
---------------------> xfs
address 192.168.0.106:7788;
meta-disk /dev/sdb2[0];
----------------------->xfs
}
after that
mount /dev/drbd0 /test_dir/
mount: /dev/drbd0: can't read superblock
Filesystem "drbd0": Disabling barriers, not supported
by the underlying device
attempt to access beyond end of device
drbd0: rw=0, want=245762304, limit=220319968
I/O error in filesystem ("drbd0") meta-data dev drbd0
block 0xea608ff ("xfs_read_buf") error 5 buf
count 512
XFS: size check 2 failed
Filesystem "drbd0": Disabling barriers, not supported
by the underlying device
attempt to access beyond end of device
drbd0: rw=0, want=245762304, limit=220319968
I/O error in filesystem ("drbd0") meta-data dev drbd0
block 0xea608ff ("xfs_read_buf") error 5 buf
count 512
XFS: size check 2 failed
I was wondering if it's because drbd-meta dir file
system is different on primary server or some other
issue ?
Hmnn

in a word YES, although not in the way you mean
meta data uses a 'raw' partition, not a fileystem
unmount /dev/cciss/c1d0p3
and /dev/sdb2
and try again
--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.
Valdas R
2006-09-13 00:16:24 UTC
Permalink
Re: DRBD and XFS [In reply to]
Post by Clive Eisen
Post by Valdas R
Hello
I'm struggling for last couple days to get my sync
working. I have to server one of then runs CentOS
kernel 2.6.17.8, with read ahead patch, another one
CentOS 2.6.17.13, Drbd version: 0.7.21
on primary {
device /dev/drbd0;
disk /dev/cciss/c1d0p1;
-------------> xfs file system
address 192.168.0.105:7788;
meta-disk /dev/cciss/c1d0p3[0];
----------------> ext3 file system
}
on secondary{
device /dev/drbd0;
disk /dev/sdb1;
---------------------> xfs
address 192.168.0.106:7788;
meta-disk /dev/sdb2[0];
----------------------->xfs
}
after that
mount /dev/drbd0 /test_dir/
mount: /dev/drbd0: can't read superblock
Filesystem "drbd0": Disabling barriers, not
supported
Post by Clive Eisen
Post by Valdas R
by the underlying device
attempt to access beyond end of device
drbd0: rw=0, want=245762304, limit=220319968
I/O error in filesystem ("drbd0") meta-data dev
drbd0
Post by Clive Eisen
Post by Valdas R
block 0xea608ff ("xfs_read_buf") error 5 buf
count 512
XFS: size check 2 failed
Filesystem "drbd0": Disabling barriers, not
supported
Post by Clive Eisen
Post by Valdas R
by the underlying device
attempt to access beyond end of device
drbd0: rw=0, want=245762304, limit=220319968
I/O error in filesystem ("drbd0") meta-data dev
drbd0
Post by Clive Eisen
Post by Valdas R
block 0xea608ff ("xfs_read_buf") error 5 buf
count 512
XFS: size check 2 failed
I was wondering if it's because drbd-meta dir file
system is different on primary server or some other
issue ?
Hmnn
in a word YES, although not in the way you mean
meta data uses a 'raw' partition, not a fileystem
unmount /dev/cciss/c1d0p3
and /dev/sdb2
and try again
Ok , i thing i might forgot to mension one more
importand thing: primary server is x86_64 and
secondary is i386, i think it runs 8k kernel stack and
i386 has 4k stack, could it be a problem as well ?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Loading...