FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-16-2012, 11:23 AM
Denny Schierz
 
Default FAI client Install: 12.04: mdadm fails to create /dev/md0 or /dev/md1

hi,

i've installed a base Ubuntu 12.04 and installed fai-quickstart to create the NFS rootfs. After that, I copied the rootfs via rsync to the Debian server, so that I can be sure, that not the debootstrapping from the Debian side was the problem.

I made a screenshot:

http://img31.imageshack.us/img31/2239/bildschirmfoto20120516u.png

fai fails with:

Executing: yes | mdadm --create /dev/md0 --level=raid1 --force --run --raid-devices=2 /dev/sda1 /dev/sdb1

and the message:

md: coul not open unknown-block(8,1)
md: md_import_device returned -16
...

md0 : active raid1 sdb1[1] sda1[0]
307188 blocks super 1.2 [2/2] [UU]

unused devices: <none>

root@A-CLIENT:~# mdadm --examine --scan /dev/sda1
ARRAY /dev/md/0 metadata=1.2 UUID=4c89a950:00333cd5:926afd8b:0d5bb738 name=A-CLIENT:0

root@A-CLIENT:~# mdadm --examine --scan /dev/sdb1
ARRAY /dev/md/0 metadata=1.2 UUID=4c89a950:00333cd5:926afd8b:0d5bb738 name=A-CLIENT:0

root@A-CLIENT:~# ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 May 16 09:29 /dev/sda
brw-rw---- 1 root disk 8, 1 May 16 09:29 /dev/sda1
brw-rw---- 1 root disk 8, 2 May 16 09:29 /dev/sda2
-rw-r--r-- 1 root root 0 May 16 09:29 /dev/sda5
brw-rw---- 1 root disk 8, 16 May 16 09:29 /dev/sdb
brw-rw---- 1 root disk 8, 17 May 16 09:29 /dev/sdb1
brw-rw---- 1 root disk 8, 18 May 16 09:29 /dev/sdb2


dmesg

[...]

[ 14.446641] sda: unknown partition table
[ 14.698748] sd 2:0:1:0: [sdb] Cache data unavailable
[ 14.699048] sd 2:0:1:0: [sdb] Assuming drive cache: write through
[ 14.700540] sdb: unknown partition table
[ 15.941025] md: could not open unknown-block(8,1).
[ 15.941328] md: md_import_device returned -16
[ 15.951479] md: bind<sda1>
[ 15.959158] md: bind<sdb1>
[ 15.960721] bio: create slab <bio-1> at 1
[ 15.960770] md/raid1:md0: not clean -- starting background reconstruction
[ 15.961180] md/raid1:md0: active with 2 out of 2 mirrors
[ 15.961201] md0: detected capacity change from 0 to 314560512
[ 15.962534] md: resync of RAID array md0
[ 15.962536] md: minimum _guaranteed_ speed: 1000 KB/sec/disk.
[ 15.962538] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
[ 15.962541] md: using 128k window, over a total of 307188k.
[ 15.965111] md0: unknown partition table
[ 20.524616] md: md0: resync done.
[ 20.578447] RAID1 conf printout:
[ 20.578449] --- wd:2 rd:2
[ 20.578451] disk 0, wo:0, o:1, dev:sda1
[ 20.578453] disk 1, wo:0, o:1, dev:sdb1



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org