LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 05-15-2008, 08:12 AM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
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.
 
Old 05-15-2008, 10:45 PM   #2
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
Have you tried using iostat -En? If the disk is failing it should also start logging to /var/adm/messages.
 
Old 05-16-2008, 04:16 AM   #3
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
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.
 
Old 05-16-2008, 04:36 AM   #4
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by crisostomo_enrico View Post

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

Hasta luego, C
 
Old 05-16-2008, 04:57 AM   #5
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Thank you very much coolster!

I'll look at it as soon as I go home and tell you about my progresses.

Hasta luego,
Enrico.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A problem with su on OpenSolaris 2008.05 crisostomo_enrico Solaris / OpenSolaris 4 05-13-2008 04:50 AM
LXer: Install OpenSolaris 2008/05 DomU at Xen 3.2.1 CentOS 5.1 Dom0 (64-bit) LXer Syndicated Linux News 0 05-08-2008 03:20 PM
OpenSolaris 2008.05 Installation Help harley51 Solaris / OpenSolaris 11 05-08-2008 03:06 PM
LXer: DistroWatch Weekly: Look at Linux 12.1, openSUSE 11.0 updates, OpenSolaris 2008 LXer Syndicated Linux News 0 05-05-2008 06:00 AM
LXer: OpenSolaris 2008.05 Gives A New Face To Solaris LXer Syndicated Linux News 0 04-25-2008 09:50 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration