Three Tools I'd Love to See in Linux

by Jon Buys - Jul. 22, 2010Comments (18)

penguin

As an open source enthusiast, there are thousands of great tools available to me. However, some things in Linux are harder than they need to be. The world of open source has come a long way, but keeping an eye on what is going on outside of the open source arena can show that there are still areas where we need to improve. Here are three tools from IBM and Apple that I would love to see incorporated into the next great Linux distribution.

AIX has two tools that, as a Linux enthusiast, I’m envious of: makesysb, and cfgmgr. The first tool, makesysb, can clone a running system onto a bootable DVD. It’s very similar to other cloning tools like G4L and Clonezilla, but it’s built into the operating system, and doesn’t require a reboot. It’s great for system migration, and for keeping a backup around for disaster recovery. We try to keep makesysb images on DVD for all of our systems quarterly.

The second tool, cfgmgr, proved its worth today. I got a call from the DBA requesting more space for a large migration. I checked the volume manager, and saw that we were going to have to get another LUN added. On Linux, this means rebooting. LVM can work wonders for disk space management, but if the operating system can’t see the LUN, it doesn’t matter. I’ve seen some documentation regarding rescanning the SCSI bus, but I’ve also talked directly to Red Hat who says that it’s not supported. On AIX, running cfgmgr tells the operating system to check for any new hardware changes and make new hardware available for use. Presenting a new LUN, running cfgmgr, and then adding the new LUN to the volume group and expanding the filesystems took less than five minutes. No reboot needed. This may not necessarily be a function of cfgmgr as much as it is the AIX operating system, but it works great. Adding disk space is a common task, and a reliable tool like cfgmgr to aid with the task is something the community would benefit greatly from. If anyone can point me towards a safe and reliable way to do this on Red Hat, please drop me a link in the comments.

AIX has its roots deep in BSD Unix. IBM has put several years into developing it specifically to run on their P series hardware, much in the way that Apple has developed OS X to run on Macs. The third tool that I’d love to see ported into Linux is Spotlight from Mac OS X. Spotlight automatically indexes all files on the hard drive, and makes them immediately available. Linux has additional tools for this like Beagle and Tracker, but Spotlight is built into the OS X kernel. The first time OS X is booted, Spotlight does an index of all the files it can find. From that point on, every time a file is written to disk it is also flagged for Spotlight to index it. Files are available for search immediately.

It’s been great to see Linux grow as fast as it has over the years, and even better to see it rise to dominance in the data center. As the operating system grows and matures, I hope that innovation from outside of the community can continue to seep in and keep making Linux the best choice for any hardware platform.



Shailesh Patel uses OStatic to support Open Source, ask and answer questions and stay informed. What about you?



18 Comments
 

Zeitgeist looks promising for a search tool backend. Sezen is not bad for a front end, but it's early days. I've recently started using the Gnome deskbar-applet for searching and various other things even Tweeting from it :D

http://linuxers.org/article/all-one-deskbar-applet


0 Votes

I'll stick with nepomuk. I would love to see zfs however.


0 Votes

Linux has a nifty little utility called rescan-scsi-bus.sh. It can be used to add or remove LUNs from the system in similar fashion to cfgmgr in AIX - everything online. I've been using it for years now and never had any issues with it. I don't know why Red Hat does not support it (because it works there as well) but, AFAIK, it is fully supported on SLES systems.


0 Votes

Nothing in the below says that it's dispensing unsupported advice:


http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_St...


http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_St...


0 Votes

For making a bootable disk (CD or DVD), check into Mondo system restore. It is pretty great to create a set of bootable ISO files that can restore a server quickly, and there is no reboot involved with Mondo.


0 Votes

For spotlight, try deskbar applet for GNOME panel. It is pretty much the same as spotlight except for the icon (which can be changed of course).


0 Votes

From the sounds of it, you may be running in an FC environment to which a Loop Initialization Primitive (LIP) is not being sent from the initiator for a reinitialization. So you may need to force one through the port that has the new LUN mapped to it.


Some SCSI -based protocols such as SAS support hot plugging and the Linux driver accommodates that very well. You just need to establish some sort of persistence and map the volume from its UUID as opposed to its node name (just in case the path goes down and comes back up or fails over to another path).


Anyways I had written a blog entry on a forced LIP over Fibre Channel here: http://blog.hydrasystemsllc.com/2009/01/31/updating-scsi-targets-while-i...


0 Votes

It surprises me that Red Hat won't support hot detecting of added LUN's. This is documented in their Storage Management guide located in the new docs section behind http://access.redhat.com.


Is it documented someplace that this procedure is not supported?


0 Votes

Surely you don't mean "Spotlight is built into the OS X kernel", unless Apple is trying really hard to do as poor a job as Microsoft. Indexing files most certainly is not something that should be built into the kernel for a huge variety of reasons. You might want to look here http://en.wikipedia.org/wiki/Inotify to see how Linux handles this.


0 Votes

rescan-scsi-bus.sh is what we used on SLES before we migrated over to Red Hat. It is interesting that the support rep I had on the phone one day told me that it wasn't supported to add a LUN to a running machine when the details of how to do it are in their documentation.


As for spotlight, I don't think the indexer is in the kernel, but something low level that tells a separate daemon to go and reindex a changed file.


0 Votes

Remastersys looks like it might be a stand-in for makesysb. I use remastersys to make live DVD images of my system.


http://remastersys.sourceforge.net/


0 Votes

Hi there,


As someone who is very close to converting from MacOS X to Ubuntu I have to say that I miss the following additional tools a lot:


Lightroom or Aperture:

Don't tell F-Spot or whatever their name is can hold up to Aperture or Lightroom. Simply non existing. VMWare to the rescue.


A full featured Twitter tool:

Sure, Gwibber is nice, but something like Seesmic or Tweetie would be nice on Linux. Hootsuite to the rescue or Android client.


Full featured eMail client:

The Novell client is nothing but short when it comes to Mail or outlook. Same goes for a Calendar Client. Google Mail to the rescue on web or Android.


Evernote:

No client exists for Linux. Android or Web to the rescue.


GoToMeeting:

Doesn't work on Linux. VMware to the rescue.


0 Votes

I though you were going to talk about Windows apps jeje... sorry I judged you too fast... And you're completely right there a couple of tools in HPOX that i like a lot to have in Linux, for example "glance" that is a very powerful tool to monitor the system like "top" but better...


0 Votes

now sure if anyone wanted to mention rescan-scsi-bus similar to cg.mgr.

garloff.de/kurt/linux/

http://cod-blackops.info


0 Votes

Nepomuk and Strigi kick Spotlight in the balls, really. I use both on a regular basis and would take Nepomuk/Strigi over OS X Spotlight any day. Not to mention, GNOME-Go and krunner are far superior in general.


0 Votes

I agree in that remastersys can be used as a viable, and often more feature complete, version of makesysb. It's a remarkably effective way of cloning a running OS into an .iso image that can be booted and, when combined with rsync, can be copied onto another system or used for backup purposes.


0 Votes

Wouldn't kudzu work to rescan for new hardware?


0 Votes

What I would like to see is a simple FTP

example right click on a file,(make it simple) send to xyz a friend in another town so they can have it.

I can video conference with my friend, but I cant send them a simple file it makes no sense.

I don't even care if its slow if its working in the background who cares.


0 Votes
Share Your Comments

If you are a member, to have your comment attributed to you. If you are not yet a member, Join OStatic and help the Open Source community by sharing your thoughts, answering user questions and providing reviews and alternatives for projects.


Promote Open Source Knowledge by sharing your thoughts, listing Alternatives and Answering Questions!