[sisyphus] mdadm: No arrays found in config file

Eugene Prokopiev =?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Ср Июл 12 17:59:31 MSD 2006


> # mdadm --assemble --scan
> mdadm: No arrays found in config file

# starce mdadm --assemble --scan

execve("/usr/sbin/mdadm", ["mdadm", "--assemble", "--scan"], [/* 28 vars 
*/]) = 0
uname({sys="Linux", node="asterisk.donpac.ru", ...}) = 0
brk(0)                                  = 0x8071000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12696, ...}) = 0
mmap2(NULL, 12696, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0b000
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\0\336U\1"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1098384, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7f0a000
mmap2(NULL, 1109076, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7dfb000
mmap2(0xb7f04000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x108) = 0xb7f04000
mmap2(0xb7f07000, 11348, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f07000
close(3)                                = 0
mprotect(0xb7f04000, 4096, PROT_READ)   = 0
munmap(0xb7f0b000, 12696)               = 0
time(NULL)                              = 1152723570
getpid()                                = 5174
brk(0)                                  = 0x8071000
brk(0x8092000)                          = 0x8092000
open("/etc/mdadm.conf", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0600, st_size=390, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7f0e000
read(3, "#\n#  /etc/mdadm.conf  --  mdadm "..., 4096) = 390
read(3, "", 4096)                       = 0
...
lstat64("/dev/shm", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=40, ...}) = 0
open("/dev/shm", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|S_ISVTX|0777, st_size=40, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 2 entries */, 4096)    = 48
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
lstat64("/dev/pts", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/dev/pts", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 3 entries */, 1024)    = 72
lstat64("/dev/pts/0", {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), 
...}) = 0
getdents64(5, /* 0 entries */, 1024)    = 0
close(5)                                = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb7f0e000, 4096)                = 0
open("/dev/md0", O_RDWR)                = 3
fstat64(3, {st_mode=S_IFBLK|0640, st_rdev=makedev(9, 0), ...}) = 0
ioctl(3, 0x800c0910, 0xbff212d8)        = 0
ioctl(3, 0x80480911, 0xbff21690)        = 0
close(3)                                = 0
open("/dev/md1", O_RDWR)                = 3
fstat64(3, {st_mode=S_IFBLK|0640, st_rdev=makedev(9, 1), ...}) = 0
ioctl(3, 0x800c0910, 0xbff212d8)        = 0
ioctl(3, 0x80480911, 0xbff21690)        = 0
close(3)                                = 0
write(2, "mdadm: No arrays found in config"..., 38mdadm: No arrays found 
in config file
) = 38
exit_group(1)                           = ?
Process 5174 detached

И что может значить "mdadm: No arrays found in config", если конфиг 
прочитан и девайсы доступны?

-- 
С уважением, Прокопьев Евгений




Подробная информация о списке рассылки Sisyphus