I very strange hard disk problem with OpenSolaris 2008.05 on a Sun Ultra 20 M2
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547
Rep:
I have a very strange hard disk problem with OpenSolaris 2008.05 on a Sun Ultra 20 M2
Hi.
I'm experiencing a very strange problem since I installed OpenSolaris 2008.05 on a Sun Ultra 20 M2 workstation. Every now and then the system becomes incredibly slow and I strongly suspect that the guilty is an hard disk spin down.
The first time that the problem appeared I couldn't understand what happened because I logged out from the workstation, which remained powered on, and the following day logging in was a pain: the default desktop wallpaper loaded in 30 seconds or longer. Rebooting solved the problem. The problem continued to appear every now and then and one day, listening to music with the headphones, I heard the noise of the hard disk spinning down and the problem showed up again! That's why I suspect that for some reason the disk spins down and the system stops performing well. If a program is already loaded, it works perfectly, such as Firefox or Gnome itself, but as I try to access the file system, for example opening the file browser, Solaris is really really slow. Rebooting always solves the problem.
Have you got some suggestion to help me track down such problem?
Last edited by crisostomo_enrico; 05-16-2008 at 04:55 AM.
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547
Original Poster
Rep:
Thank you keysorsoze.
I'll monitor the situation. I checked the log but found nothing. I'm beginning to suspect that the guilty is an external USB drive which is configured as a cache device in a zpool but I'm not sure about it. Yesterday the problem appeared again and before rebooting I was powering off the USB disks and as soon as I powered off this USB drive, the system started performing well again, but I don't know if it was a coincidence. Moreover, I imagine that a drive configured as a cache device in a zpool shoudln't affect so badly the system, even if mulfunctioning.
Assuming that nothing is logged, if I wanted to monitor the USB bus, what could I do? zpool iostat -v gave me no hints of something malfunctioning and the status of the zpool was good: every device appeared as online and there were no known data errors. By the way, I removed that drive from the zpool and let's see what happens.
Last edited by crisostomo_enrico; 05-16-2008 at 04:17 AM.
Assuming that nothing is logged, if I wanted to monitor the USB bus, what could I do? zpool iostat -v gave me no hints of something malfunctioning and the status of the zpool was good: every device appeared as online and there were no known data errors. By the way, I removed that drive from the zpool and let's see what happens.
Good morning Enrico,
To find out what exactly is happening behind the scenes, I suggest you try some DTrace scripts. You don't necessarily have to know the D language since there is a nice DTrace Toolkit available with lots of examples. This helped me a lot about learning DTrace and learning about what's happening in my Solaris system.
With respect to your prob there is "iosnoop" or "iopattern" or likewise scripts.
Just have a look at it at: http://www.brendangregg.com/dtrace.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.