public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Drive missing only with LVM kernel
@ 2005-01-25 20:30 Jasper Koolhaas
  2005-01-25 23:21 ` Andre Tomt
  2005-01-26  8:34 ` Jasper Koolhaas
  0 siblings, 2 replies; 4+ messages in thread
From: Jasper Koolhaas @ 2005-01-25 20:30 UTC (permalink / raw)
  To: linux-kernel

Hiya,

I run a Linux 2.6.9 kernel with RAID and LVM on a combined total of six
ATA and SATA harddisks. While booting /dev/hdg is recognised and even
used by RAID:

# dmesg |grep hdg
    ide3: BM-DMA at 0xdf98-0xdf9f, BIOS settings: hdg:pio, hdh:pio
hdg: WDC WD2000JB-00EVA0, ATA DISK drive
hdg: max request size: 1024KiB
hdg: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63,
UDMA(100)
hdg: cache flushes supported
md:  adding hdg1 ...
md: bind<hdg1>
md: running: <sdb1><sda1><hdg1><hdc1><hda1>
raid5: device hdg1 operational as raid disk 2
 disk 2, o:1, dev:hdg1

As soon as the system had booted hdg has completely vanished, even in
single user mode:

# ls /dev/hd* /dev/sd*
/dev/hda   /dev/hda3  /dev/hdc1  /dev/hde   /dev/hde3  /dev/sda2  /dev/sdb1
/dev/hda1  /dev/hda4  /dev/hdc2  /dev/hde1  /dev/sda   /dev/sda3  /dev/sdb2
/dev/hda2  /dev/hdc   /dev/hdc3  /dev/hde2  /dev/sda1  /dev/sdb   /dev/sdb3

But the RAID is working just fine:

# cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 sdb1[4] sda1[3] hdg1[2] hdc1[1] hda1[0]
      97674240 blocks level 5, 256k chunk, algorithm 2 [5/5] [UUUUU]

When I boot this same system with the same kernel without LVM appears
just fine. As soon as I compile LVM in (even as not-yet-activated
module) hdg is gone after booting.

This beheavure also happens if I add this particular or a different
drive to a different controller like /dev/hdb

My full kernel config can be found at:
http://www.morgana.net/~jasper/config-2.6.9

Any ideas how I can use LVM and this 6th drive?

hda: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63,
UDMA(100)
hdc: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63,
UDMA(100)
hde: 398297088 sectors (203928 MB) w/8192KiB Cache, CHS=24792/255/63,
UDMA(100)
hdg: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63,
UDMA(100)
ata1: dev 0 ATA, max UDMA/100, 488397168 sectors: lba48
ata2: dev 0 ATA, max UDMA/100, 488397168 sectors: lba48

Kind regards, Jasper.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Drive missing only with LVM kernel
  2005-01-25 20:30 Drive missing only with LVM kernel Jasper Koolhaas
@ 2005-01-25 23:21 ` Andre Tomt
  2005-01-26  8:34 ` Jasper Koolhaas
  1 sibling, 0 replies; 4+ messages in thread
From: Andre Tomt @ 2005-01-25 23:21 UTC (permalink / raw)
  To: jasper; +Cc: linux-kernel

Jasper Koolhaas wrote:
> As soon as the system had booted hdg has completely vanished, even in
> single user mode:
> 
> # ls /dev/hd* /dev/sd*
> /dev/hda   /dev/hda3  /dev/hdc1  /dev/hde   /dev/hde3  /dev/sda2  /dev/sdb1
> /dev/hda1  /dev/hda4  /dev/hdc2  /dev/hde1  /dev/sda   /dev/sda3  /dev/sdb2
> /dev/hda2  /dev/hdc   /dev/hdc3  /dev/hde2  /dev/sda1  /dev/sdb   /dev/sdb3
> 
> But the RAID is working just fine:

cd /dev && ./MAKEDEV hdg

In normal operation md-raid adresses the drive "internally", not via /dev.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Drive missing only with LVM kernel
  2005-01-25 20:30 Drive missing only with LVM kernel Jasper Koolhaas
  2005-01-25 23:21 ` Andre Tomt
@ 2005-01-26  8:34 ` Jasper Koolhaas
  2005-01-26 22:18   ` Kyle Moffett
  1 sibling, 1 reply; 4+ messages in thread
From: Jasper Koolhaas @ 2005-01-26  8:34 UTC (permalink / raw)
  To: linux-kernel

On Tue, 2005-01-25 at 21:30 +0100, Jasper Koolhaas wrote:

> As soon as the system had booted hdg has completely vanished, even in
> single user mode:
> 
> # ls /dev/hd* /dev/sd*
> /dev/hda   /dev/hda3  /dev/hdc1  /dev/hde   /dev/hde3  /dev/sda2  /dev/sdb1
> /dev/hda1  /dev/hda4  /dev/hdc2  /dev/hde1  /dev/sda   /dev/sda3  /dev/sdb2
> /dev/hda2  /dev/hdc   /dev/hdc3  /dev/hde2  /dev/sda1  /dev/sdb   /dev/sdb3

Oh, and I'm using a devfs so "cd /dev && ./MAKEDEV hdg" is not the
solution I think.

The odd thing is that without LVM compiled in the kernel or as
module /dev/hdg is accessible through devfs and with LVM not.

Kind regards, Jasper.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Drive missing only with LVM kernel
  2005-01-26  8:34 ` Jasper Koolhaas
@ 2005-01-26 22:18   ` Kyle Moffett
  0 siblings, 0 replies; 4+ messages in thread
From: Kyle Moffett @ 2005-01-26 22:18 UTC (permalink / raw)
  To: Jasper Koolhaas; +Cc: linux-kernel

On Jan 26, 2005, at 03:34, Jasper Koolhaas wrote:
> Oh, and I'm using a devfs so "cd /dev && ./MAKEDEV hdg" is not the
> solution I think.
>
> The odd thing is that without LVM compiled in the kernel or as
> module /dev/hdg is accessible through devfs and with LVM not.

Well, devfs has been deprecated and mostly unmaintained since before
2.6.0 was released, so it really doesn't surprise me.  Go download
and install udev, hotplug, etc from your distro.

Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r  
!y?(-)
------END GEEK CODE BLOCK------



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-27  0:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25 20:30 Drive missing only with LVM kernel Jasper Koolhaas
2005-01-25 23:21 ` Andre Tomt
2005-01-26  8:34 ` Jasper Koolhaas
2005-01-26 22:18   ` Kyle Moffett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox