Bug#403055: ITP: array-info -- command line HP (Compaq) SmartArray status checker
[Raphaël Pinson] Array-info is a command line tool to retrieve informations and logical drives status from several RAID controllers (currently HP Compaq IDA and CISS). Is it still being developed? The sourceforge CVS seem to be quite dead. I had to copy the headers cpqarray.h, ida_cmd.h and ida_ioctl.h from an old kernel (I used 2.4.21) to get it building, and add an install target to make it convenient to install. The source tarball include an obsolete array_info.o file, and there is no README with contact information. In short, I believe this source need some more work. Here is the patch I applied to the makefile. diff -ur src-0.12/Makefile src-0.12-local/Makefile --- src-0.12/Makefile 2002-07-25 12:58:06.0 +0200 +++ src-0.12-local/Makefile 2006-12-15 16:11:16.0 +0100 @@ -1,4 +1,8 @@ -INCLUDES = -I/usr/src/linux/drivers/block +DESTDIR = +prefix = /usr/local +bindir = $(prefix)/bin + +INCLUDES = -I/usr/src/linux/drivers/block -I./linuxheaders CFLAGS = -g2 -Wall $(INCLUDES) OBJS = compaq_info.o ida_info.o cciss_info.omd_info.o \ @@ -15,6 +19,10 @@ $(OUTPUT) : $(OBJS) $(CC) -o $(OUTPUT) $(OBJS) +install: + mkdir -p $(DESTDIR)$(bindir)/. + cp $(OUTPUT) $(DESTDIR)$(bindir)/. + release : indent clean cd .. cp -a $(REL_NAME) $(REL_NAME)-$(REL_VER) tar czf $(REL_NAME)-$(REL_VER).tar.gz $(REL_NAME)-$(REL_VER) I hope you can get it in shape, as it seem to be a very useful tool. Friendly, -- Petter Reinholdtsen
Bug#403055: ITP: array-info -- command line HP (Compaq) SmartArray status checker
Hi Peter, Thanks for you comments. Indeed, there has been no release since 2002. However, we have Compaq machines at work and array-info is much better than arrayprobe. For example, array-info displays the recovery percentage when disks are synchronizing. We can't think of using anything else. I have a package on mentors already, on http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=array-info . Daniel Baumann seems happy to sponsor it with a few changes, including having it build-depend on linux-kernel-headers, which is not possible as you pointed out, since array-info will only build on top of old kernel headers. I will definitely have a look at your patch and try it out on monday, and I hope this tool can be brought back on the scene as it's very handy. Regards, -- Raphaël Pinson [EMAIL PROTECTED] Ubuntu - Linux for Human Beings http://www.ubuntulinux.org pgp0oMlddUls1.pgp Description: PGP signature
Bug#403055: ITP: array-info -- command line HP (Compaq) SmartArray status checker
Sorry Petter, I misswrote your name... Did you manage to make contact with the upstream author? Perhaps you should consider taking over or help out with upstream development? No. I'm setting a whole Debian mirror in my company, redoing the whole software deployment policy. I've got about 250 packages that differ from Debian to deal with one by one, and array-info is just one of them. I began to work on it this morning as I filed the ITP and uploaded to mentors this afternoon... Sounds nice. What do you use for modifying the RAID setup? We use the SmartArray CD provided by HP, i.e. we have to reboot on this windows-based CD to do it. It provides a lot of useful tools so it's good. If you know another way, I'm interested. I've updated URL: http://wiki.debian.org/LinuxRaidForAdmins with a link to the array-info link. arrayprobe, which is in Debian already, does it too, but it gives less infos and is not as nice to read. There are also some tools packaged in Debian that provide a daemon to watch the RAID status and some snmp extension to graph it, but we don't use it. arrayprobe is easy to use as it detects the RAID controllers without having to give the device as an option, but it displays less infos. The most useful infos array-info displays is the recovery status percentage. Perhaps the package should get a name like cciss-array-info to make it more obvious that is is handling cciss RAIDs? Well array-info is not only cciss. It does both ida and cciss SmartArray controllers. -- Raphaël Pinson [EMAIL PROTECTED] Ubuntu - Linux for Human Beings http://www.ubuntulinux.org pgpYUmd5DK8tR.pgp Description: PGP signature
Bug#403055: ITP: array-info -- command line HP (Compaq) SmartArray status checker
[Raphaël Pinson] Sorry Petter, I misswrote your name... No problem. :) No. I'm setting a whole Debian mirror in my company, redoing the whole software deployment policy. I've got about 250 packages that differ from Debian to deal with one by one, and array-info is just one of them. I began to work on it this morning as I filed the ITP and uploaded to mentors this afternoon... Right. Good to see that you are trying to make the changes available for all. :) We use the SmartArray CD provided by HP, i.e. we have to reboot on this windows-based CD to do it. It provides a lot of useful tools so it's good. If you know another way, I'm interested. Right. Yes, there is a better way, but I have only tested it on RedHat Enterprise Linux. HP provides a tool hpacucli capable of updating the status. It is only available in binary form as an RPM, as far as I know. arrayprobe, which is in Debian already, does it too, but it gives less infos and is not as nice to read. There are also some tools packaged in Debian that provide a daemon to watch the RAID status and some snmp extension to graph it, but we don't use it. Yes, I've found the cpqarrayd package, but it only report the events, and make it hard to detect if the problem reported is still there or not, so I prefer a tool where I can query the status. arrayprobe is easy to use as it detects the RAID controllers without having to give the device as an option, but it displays less infos. The most useful infos array-info displays is the recovery status percentage. Perhaps the RAID controller detection code should be lifted from arrayprobe and put into array-info? :) Friendly, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#403055: ITP: array-info -- command line HP (Compaq) SmartArray status checker
Package: wnpp Severity: wishlist Owner: Raphaël Pinson [EMAIL PROTECTED] * Package name: array-info Version : 0.12 Upstream Author : Benoit Gaussen [EMAIL PROTECTED] * URL : http://sourceforge.net/projects/array-info * License : GPL Description : command line HP (Compaq) SmartArray status checker Array-info is a command line tool to retrieve informations and logical drives status from several RAID controllers (currently HP Compaq IDA and CISS). . It displays informations about the firmware version, Rom revision, number of physical and logical drives on the controller, aswell as the fault tolerance, size, number of physical disks and status for each logical drive. -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.14 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)