Hi,
I'm running into a nasty problem when copying files via scp onto an ext3
filesystem on a drbd device - see attached oops.txt.
The problem hasn't yet been seen when using ftp or rsync to copy the same
directory, it can be 100% reproduced using scp. Problem also does not occur
if mounting /dev/sda10 directly without using the drbd device. Problem also
doesn't occur if mounting /dev/nb0 as ext2. The drbd device is in normal,
connected state at begin of copy.
here's what shows up in the logs of the secondary node:
Sep 5 13:59:14 delphi2 kernel: drbd0: magic?? m: 1602992775 c: 64534 l:
29694
Sep 5 13:59:14 delphi2 kernel: drbd0: Connection lost.(pc=0,uc=0)
Sep 5 13:59:14 delphi2 kernel: drbd0: Connection established.
Sep 5 13:59:14 delphi2 kernel: drbd0: size=497983 KB / blksize=4096 B
Sep 5 13:59:14 delphi2 kernel: drbd0: magic?? m: -1179153002 c: 65064 l:
52046
Sep 5 13:59:14 delphi2 kernel: drbd0: Connection lost.(pc=0,uc=0)
command line:
scp -pr otest:/usr/local/apache/htdocs/* /mnt/test/htdocs
Copied data:
[root@tropica2 test]# du -s *
109824 htdocs
32804 journal.dat
[root@tropica2 test]# find htdocs |wc
1456 1456 69523
Versions:
Linux: 2.2.17
ext3 patches: 0.0.2f
drbd version: 0.5.7 (.tar.gz from website)
scp: SSH Version OpenSSH_2.1.1
Loaded Modules:
[root@tropica2 log]# lsmod
Module Size Used by
drbd 30432 1
ecc 8148 0 (unused)
w83781d 16984 0 (unused)
sensors 5596 0 [w83781d]
i2c-isa 1124 0 (unused)
i2c-viapro 3520 0 (unused)
i2c-core 11676 0 [w83781d sensors i2c-isa i2c-viapro]
(lm - sensors + ecc monitoring module + drbd)
Any idea where to go looking for this one?
Bye, Martin
"you have moved your mouse, please reboot to make this change take effect"
--------------------------------------------------
Martin Bene vox: +43-316-813824
simon media fax: +43-316-813824-6
Andreas-Hofer-Platz 9 e-mail: mb@example.com
8010 Graz, Austria
--------------------------------------------------
finger mb@example.com for PGP public key
I'm running into a nasty problem when copying files via scp onto an ext3
filesystem on a drbd device - see attached oops.txt.
The problem hasn't yet been seen when using ftp or rsync to copy the same
directory, it can be 100% reproduced using scp. Problem also does not occur
if mounting /dev/sda10 directly without using the drbd device. Problem also
doesn't occur if mounting /dev/nb0 as ext2. The drbd device is in normal,
connected state at begin of copy.
here's what shows up in the logs of the secondary node:
Sep 5 13:59:14 delphi2 kernel: drbd0: magic?? m: 1602992775 c: 64534 l:
29694
Sep 5 13:59:14 delphi2 kernel: drbd0: Connection lost.(pc=0,uc=0)
Sep 5 13:59:14 delphi2 kernel: drbd0: Connection established.
Sep 5 13:59:14 delphi2 kernel: drbd0: size=497983 KB / blksize=4096 B
Sep 5 13:59:14 delphi2 kernel: drbd0: magic?? m: -1179153002 c: 65064 l:
52046
Sep 5 13:59:14 delphi2 kernel: drbd0: Connection lost.(pc=0,uc=0)
command line:
scp -pr otest:/usr/local/apache/htdocs/* /mnt/test/htdocs
Copied data:
[root@tropica2 test]# du -s *
109824 htdocs
32804 journal.dat
[root@tropica2 test]# find htdocs |wc
1456 1456 69523
Versions:
Linux: 2.2.17
ext3 patches: 0.0.2f
drbd version: 0.5.7 (.tar.gz from website)
scp: SSH Version OpenSSH_2.1.1
Loaded Modules:
[root@tropica2 log]# lsmod
Module Size Used by
drbd 30432 1
ecc 8148 0 (unused)
w83781d 16984 0 (unused)
sensors 5596 0 [w83781d]
i2c-isa 1124 0 (unused)
i2c-viapro 3520 0 (unused)
i2c-core 11676 0 [w83781d sensors i2c-isa i2c-viapro]
(lm - sensors + ecc monitoring module + drbd)
Any idea where to go looking for this one?
Bye, Martin
"you have moved your mouse, please reboot to make this change take effect"
--------------------------------------------------
Martin Bene vox: +43-316-813824
simon media fax: +43-316-813824-6
Andreas-Hofer-Platz 9 e-mail: mb@example.com
8010 Graz, Austria
--------------------------------------------------
finger mb@example.com for PGP public key