[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: RE: Debian Lenny and "dmraid"



Original message did not reach the list because of oversized attachments.

----------  Forwarded Message  ----------

Subject: RE: Debian Lenny and "dmraid"
Date: Wednesday 22 August 2007
From: "Belur, Shashi Kiran" <shashi-kiran.belur@hp.com>
To: "Frans Pop" <elendil@planet.nl>, debian-boot@lists.debian.org

Thanks Frans for the reply. Here are the details.

Scenario 1: Windows 2000 & Debian Lenny
* Yes, Windows 2000 was automatically detected.
* I have not modified/updated grub configuration with respect to Windows
and Debian. Everything was as updated by the installer.

Scenario 2: Debian Lenny ONLY
* anna-install command fails to load the requested SW component.
* anna-install <udeb file> fails with the following: 
unknown udeb dmraid-udeb_1.0.0.rc13-2+b1_i386.udeb

I executed this command from /cdrom/pool/main/d/dmraid directory.
* I had to load dmraid, libdevmapper and dmsetup SW with "udpkg -i"
command.
* After loading dmraid, libdevmapper and dmsetup with "udpkg -i", I
executed "dmraid -c -s". But the command failed with the following:
~ # dmraid -c -s
dmraid: error while loading shared libraries: libdevmapper.so.1.02.1:
cannot ope
n shared object file: No such file or directory

I have attached the requested files for both the scenario.

Thanks,
- Shashi

-----Original Message-----
From: Frans Pop [mailto:elendil@planet.nl] 
Sent: Wednesday, August 22, 2007 1:31 PM
To: debian-boot@lists.debian.org
Cc: Belur, Shashi Kiran
Subject: Re: Debian Lenny and "dmraid"

Please CC me when replying, but also reply to the mailing list!

On Wednesday 22 August 2007, Belur, Shashi Kiran wrote:
> I am observing different behavior with Debian Lenny and "dmraid" in
the
> following two scenarios. I have configured one logical volume in
RAID-1
> on embedded SATA controller on HP ProLiant DL320 G5 server.
> 1.	Windows 2000 Advanced Server and Debian Lenny
> d.	Lenny installation went fine. Both the OSes (Windows 2000 AS &
> Debian Lenny) boot fine

Was Windows 2000 automatically detected? That would be very surprising
as 
detection of other OS is not yet supported for dmraid volumes.

If you manually added the needed lines for Windows 2000 in the grub 
configuration, then everything is as expected.
If not, I'd very much like to see the syslog and hardware summary for
that 
install (available in /var/log/installer on the installed system).

> 2.	Created a fresh logical volume in Raid-1 on embedded SATA. No OS
> exists before starting Debian Lenny.
> a.	Booted the system with Lenny CD image and passed "install
> dmraid=true" option
> b.	Debian installer failed to recognize SATA RAID-1 volume. It
> instead presented two physical disks to choose.

This seems to indicate that the dmraid volume was not detected.

> c.	I installed libdevmapper, dmsetup and dmraid SW components with
> "udpkg -i" command

A better command to use for that is anna-install. It takes care of 
installing dependencies automatically.

However, that should not even be needed! As soon as you boot with
"dmraid=true", the installer should load at least the dmraid-udeb (and
its 
dependencies) and modprobe the dm-mod kernel module.

> d.	Executed "dmraid -ay -vvvv -d". But dmraid failed to execute and
> displayed the following:
> dmraid: error while loading shared libraries: libdevmapper.so.1.02.1:
> cannot open shared object file: No such file or directory

Which means that this should not be possible!

The activation of dmraid volumes during disk detection is done based on
the 
output of the command 'dmraid -c -s'.  If that shows there is a dmraid 
volume, the partman-dmraid module is loaded which also pulls in dmsetup.

Can you run that command in a shell and what is the output of that? If
that 
fails, then please send the syslog for the installation up to that
point.

> e.	"lsmod" does not list dmraid or devmapper modules. (In the first
> scenario, "lsmod" does list dmraid and devmapper modules.)

As far as I know there is no such thing as a 'dmraid', nor a 'devmapper'

module. Please use the actual module names when you refer to them!

> How do I install Debian in 2nd scenario? My reference to this
> installation is http://wiki.debian.org/DebianInstaller/SataRaid

It should just work. Let's try to find out what's going on here.

Cheers,
FJP
-------------------------------------------------------

Attachment: debian-lenny-dmraid.tar.gz
Description: application/tgz


Reply to: