From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Nelson Subject: Re: mdadm ignoring homehost? Date: Wed, 1 Apr 2009 10:15:37 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: LinuxRaid List-Id: linux-raid.ids ping? On Tue, Mar 24, 2009 at 11:57 AM, Jon Nelson wrote: > > I have a raid1 comprised of a local physical device (/dev/sda) and a > network block device (/dev/nbd0). > When the machine hosting the network block device comes up, however, > it creates /dev/md127. > Why? > > On the machine hosting the network block device, /dev/sdb is what > backs /dev/nbd0. > This is physical storage for /dev/nbd0: > > frank:~ # mdadm --examine /dev/sdb > /dev/sdb: > =A0 =A0 =A0 =A0 =A0Magic : a92b4efc > =A0 =A0 =A0 =A0Version : 1.0 > =A0 =A0Feature Map : 0x1 > =A0 =A0 Array UUID : cf24d099:9e174a79:2a2f6797:dcff1420 > =A0 =A0 =A0 =A0 =A0 Name : turnip:11 > =A0Creation Time : Mon Dec 15 07:06:13 2008 > =A0 =A0 Raid Level : raid1 > =A0 Raid Devices : 2 > > =A0Avail Dev Size : 160086384 (76.34 GiB 81.96 GB) > =A0 =A0 Array Size : 156247976 (74.50 GiB 80.00 GB) > =A0Used Dev Size : 156247976 (74.50 GiB 80.00 GB) > =A0 Super Offset : 160086512 sectors > =A0 =A0 =A0 =A0 =A0State : clean > =A0 =A0Device UUID : 01524a75:c309869c:6da972c9:084115c6 > > Internal Bitmap : 2 sectors from superblock > =A0 =A0 =A0Flags : write-mostly > =A0 =A0Update Time : Tue Mar 24 11:41:41 2009 > =A0 =A0 =A0 Checksum : 643e99c0 - correct > =A0 =A0 =A0 =A0 Events : 111338 > > > =A0 =A0Array Slot : 2 (failed, failed, empty, 1) > =A0 Array State : _u 2 failed > frank:~ # > > > As you can see, the "Name" attribute is "turnip:11". The hostname is > "frank". Why did frank bring up the device? > The only thing in frank's /etc/mdadm.conf is "HOMEHOST frank" which I > didn't think was necessary anyway. > > > > -- > Jon -- Jon -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html