RAID5 sovaro provlima!
Tasos Varoudis
ar00129 at mail.ntua.gr
Thu Feb 17 11:40:29 EET 2005
admin root # mdadm -A /dev/md0 --scan
Segmentation fault
admin root # strace mdadm -A /dev/md0 --scan
execve("/sbin/mdadm", ["mdadm", "-A", "/dev/md0", "--scan"], [/* 44 vars */]) = 0
brk(0) = 0x805e000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=56785, ...}) = 0
old_mmap(NULL, 56785, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fdc000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PU\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1201792, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fdb000
old_mmap(NULL, 1132132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7ec6000
old_mmap(0xb7fd5000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10e000) = 0xb7fd5000
old_mmap(0xb7fd8000, 9828, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fd8000
close(3) = 0
munmap(0xb7fdc000, 56785) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\275\23\334K", 4) = 4
close(3) = 0
brk(0) = 0x805e000
brk(0x807f000) = 0x807f000
open("/etc/mdadm.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fe9000
read(3, "# mdadm configuration file\n#\n# m"..., 4096) = 2194
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7fe9000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
admin root # mdadm -V
mdadm - v1.7.0 - 11 August 2004
Afti evale to gentoo me to emerge.
admin root # strace mdadm -R /dev/md0
execve("/sbin/mdadm", ["mdadm", "-R", "/dev/md0"], [/* 44 vars */]) = 0
brk(0) = 0x805e000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=56785, ...}) = 0
old_mmap(NULL, 56785, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fdc000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PU\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1201792, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fdb000
old_mmap(NULL, 1132132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7ec6000
old_mmap(0xb7fd5000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10e000) = 0xb7fd5000
old_mmap(0xb7fd8000, 9828, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fd8000
close(3) = 0
munmap(0xb7fdc000, 56785) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\363j\276\276", 4) = 4
close(3) = 0
brk(0) = 0x805e000
brk(0x807f000) = 0x807f000
open("/dev/md0", O_RDWR) = 3
fstat64(3, {st_mode=S_IFBLK|0600, st_rdev=makedev(9, 0), ...}) = 0
ioctl(3, 0x800c0910, 0xbffff4a0) = 0
fstat64(3, {st_mode=S_IFBLK|0600, st_rdev=makedev(9, 0), ...}) = 0
ioctl(3, 0x800c0910, 0xbffff560) = 0
ioctl(3, 0x400c0930, 0xbffff5f0) = -1 EINVAL (Invalid argument)
write(2, "mdadm: failed to run array /dev/"..., 54mdadm: failed to run array
/dev/md0: Invalid argument
) = 54
exit_group(1) = ?
admin root # cat /proc/mdstat
Personalities : [raid5] [multipath]
unused devices: <none>
Afta exoume
Antonis Valakas <avalak at intracom.gr> said:
> This is a multi-part message in MIME format.
> --------------010603080203080606090206
> Content-Type: text/plain; charset=ISO-8859-7; format=flowed
> Content-Transfer-Encoding: 8bit
>
> Tasos Varoudis wrote:
>
> >Malon den tou arese kati....!!
> >
> >admin root # mdadm -R /dev/md0
> >mdadm: failed to run array /dev/md0: Invalid argument
> >
> >admin root # cat /proc/mdstat
> >Personalities : [raid5] [multipath]
> >md0 : inactive hde1[0] hdg1[2] hdf1[1]
> > 351557952 blocks
> >unused devices: <none>
> >
> >Edo ta idia me prin!...
> >
> >
> >
> >
> >
> OK.
> Δώσε
>
> # mdadm -S /dev/md0
> # mdadm -A /dev/md0 --scan
>
> Αν δεν δουλέψει,
>
> # strace mdadm -R /dev/md0
>
> μήπως βρούμε ποιό syscall σκάει.
>
> Δοκίμασε και κάποια πιο νέα έκδοση του mdadm.
>
More information about the Linux-greek-users
mailing list