ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] mdadm: No arrays found in config file
Date: Wed, 12 Jul 2006 21:21:33 +0400
Message-ID: <44B52F9D.2060407@stc.donpac.ru> (raw)
In-Reply-To: <20060712141206.GE15699@master.mivlgu.local>

Sergey Vlasov пишет:
> On Wed, Jul 12, 2006 at 05:21:11PM +0400, Eugene Prokopiev wrote:
> 
>>Сегодня при dist-upgrade получил:
>>
>># mdadm --assemble --scan
>>mdadm: No arrays found in config file
>># cat /etc/mdadm.conf
>>#
>>#  /etc/mdadm.conf  --  mdadm configuration file
>>#
>>#  Customized for ALTLinux
>>#  See complete sample on manual page and in documentation directory
>>#
>>#  This is a minimalistic skeleton but it should work out-of:a+box!
>>#
>>
>>MAILADDR root
>>PROGRAM /usr/sbin/mdadm-syslog-events
>>DEVICE partitions
>>
>>ARRAY /dev/md0 devices=/dev/hda1,/dev/hdc1
>>ARRAY /dev/md1 devices=/dev/hda3,/dev/hdc3
> 
> 
> А если тут написать uuid=... вместо devices=... (что обычно и
> рекомендуется делать)?

# cat /etc/mdadm.conf
#
#  /etc/mdadm.conf  --  mdadm configuration file
#
#  Customized for ALTLinux
#  See complete sample on manual page and in documentation directory
#
#  This is a minimalistic skeleton but it should work out-of:a+box!
#

MAILADDR root
PROGRAM /usr/sbin/mdadm-syslog-events
DEVICE partitions

#ARRAY /dev/md0 devices=/dev/hda1,/dev/hdc1
#ARRAY /dev/md1 devices=/dev/hda3,/dev/hdc3

ARRAY /dev/md0 UUID=2e670e60:a183c56a:e432bacb:f872fbc9
ARRAY /dev/md1 UUID=fbe41d91:5e64d182:068d746a:d87ff1a2

## EOF ##

# strace 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) = 0xb7fcf000
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) = 0xb7fce000
mmap2(NULL, 1109076, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7ebf000
mmap2(0xb7fc8000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x108) = 0xb7fc8000
mmap2(0xb7fcb000, 11348, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fcb000
close(3)                                = 0
mprotect(0xb7fc8000, 4096, PROT_READ)   = 0
munmap(0xb7fcf000, 12696)               = 0
time(NULL)                              = 1152734614
getpid()                                = 5437
brk(0)                                  = 0x8071000
brk(0x8092000)                          = 0x8092000
open("/etc/mdadm.conf", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0600, st_size=505, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7fd2000
read(3, "#\n#  /etc/mdadm.conf  --  mdadm "..., 4096) = 505
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(0xb7fd2000, 4096)                = 0
open("/dev/md0", O_RDWR)                = 3
fstat64(3, {st_mode=S_IFBLK|0640, st_rdev=makedev(9, 0), ...}) = 0
ioctl(3, 0x800c0910, 0xbfae4608)        = 0
ioctl(3, 0x80480911, 0xbfae49c0)        = 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, 0xbfae4608)        = 0
ioctl(3, 0x80480911, 0xbfae49c0)        = 0
close(3)                                = 0
write(2, "mdadm: No arrays found in config"..., 38mdadm: No arrays found 
in config file
) = 38
exit_group(1)                           = ?
Process 5437 detached


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


  reply	other threads:[~2006-07-12 17:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-12 13:21 Eugene Prokopiev
2006-07-12 13:59 ` Eugene Prokopiev
2006-07-12 14:12 ` Sergey Vlasov
2006-07-12 17:21   ` Eugene Prokopiev [this message]
2006-07-12 18:14   ` Eugene Prokopiev
2006-07-12 18:51 ` Pavel Usischev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44B52F9D.2060407@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git