sda: Write Protect is off

Issues related to hardware problems
Post Reply
DANNDP
Posts: 22
Joined: 2009/11/26 21:24:53
Contact:

sda: Write Protect is off

Post by DANNDP » 2010/03/02 23:34:04

Hello community,

I'm using a IBM X3659 server running with CentOS, today i could check the following weird messages in /var/log/messages:

Mar 2 09:55:31 saturno kernel: SCSI device sda: 286492672 512-byte hdwr sectors (146684 MB)
Mar 2 09:55:31 saturno kernel: sda: Write Protect is off
Mar 2 09:55:31 saturno kernel: SCSI device sda: drive cache: write back
Mar 2 09:55:41 saturno kernel: SCSI device sda: 286492672 512-byte hdwr sectors (146684 MB)
Mar 2 09:55:41 saturno kernel: sda: Write Protect is off
Mar 2 09:55:41 saturno kernel: SCSI device sda: drive cache: write back
Mar 2 11:44:13 saturno kernel: SCSI device sda: 286492672 512-byte hdwr sectors (146684 MB)
Mar 2 11:44:13 saturno kernel: sda: Write Protect is off
Mar 2 11:44:13 saturno kernel: SCSI device sda: drive cache: write back

ALso, at the boot up i could see this other message: kernel: apm: BIOS not found.

The thing is that the application is not working good, some programs are very slow and sometimes they crash, i assume that the top messages has something to be with my issues, what do you think?

Also i did this:

dmesg | grep sda

[root@localhost ~]# dmesg | grep sda
SCSI device sda: 286492672 512-byte hdwr sectors (146684 MB)
sda: Write Protect is off
sda: Mode Sense: 06 00 10 00
SCSI device sda: drive cache: write back
SCSI device sda: 286492672 512-byte hdwr sectors (146684 MB)
sda: Write Protect is off
sda: Mode Sense: 06 00 10 00
SCSI device sda: drive cache: write back
sda: sda1 sda2
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
EXT3 FS on sda1, internal journal

Thanks in Advance

Regards

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

sda: Write Protect is off

Post by pschaff » 2010/03/03 00:17:19

You need to tell us more about what /dev/sda is. SATA, USB external, ... ?

Perhaps[code]cat /proc/scsi/scsi
fdisk -l
df -h[/code]run as root would help.

DANNDP
Posts: 22
Joined: 2009/11/26 21:24:53
Contact:

Re: sda: Write Protect is off

Post by DANNDP » 2010/03/03 04:19:28

Thanks Phil; following the output of the commands you told me:

[root@localhost ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ServeRA Model: VETELCOMarray Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 01 Id: 00 Lun: 00
Vendor: IBM-ESXS Model: VPBA146C3ETS11 N Rev: A496
Type: Unknown ANSI SCSI revision: 05
Host: scsi0 Channel: 01 Id: 01 Lun: 00
Vendor: IBM-ESXS Model: VPBA146C3ETS11 N Rev: A496
Type: Unknown ANSI SCSI revision: 05
Host: scsi0 Channel: 03 Id: 00 Lun: 00
Vendor: IBM-ESXS Model: VSC7160 Rev: 1.07
Type: Enclosure ANSI SCSI revision: 03


[root@localhost ~]# fdisk -l

Disk /dev/sda: 146.6 GB, 146684248064 bytes
255 heads, 63 sectors/track, 17833 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 17833 143139150 8e Linux LVM


[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
130G 3.7G 120G 3% /
/dev/sda1 99M 13M 81M 14% /boot
none 2.0G 0 2.0G 0% /dev/shm

What do you think of this?

Best Regards

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: sda: Write Protect is off

Post by pschaff » 2010/03/03 15:31:37

Don't see anything wrong there. Programs crashing is usually due to either bad code or bad RAM. You don't say what programs, nor show any errors or traces, so can't guess about code quality. I'd try running memtest86+ at least overnight, preferably 24 hours or longer. If you don't have it installed just "yum install memtest86+" reboot, and pick it from the GRUB menu.

DANNDP
Posts: 22
Joined: 2009/11/26 21:24:53
Contact:

Re: sda: Write Protect is off

Post by DANNDP » 2010/03/09 13:21:27

Thanks Phill,

The problem is that this server is already in production, i would like to run memtest (i've never used memtest) and i saw that if you run memtest you will have to stop all the services on the server.

some questions about it, memtest start at the boot? from the bios? how does the SO will boot if memtest will be there?

Thanks in advance for your help

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: sda: Write Protect is off

Post by pschaff » 2010/03/09 13:37:19

Please re-read my last post. It explains very explicitly how to install memtest86+ and how you will need to reboot to run the stand-alone utility from the entry the installation will have put on your GRUB menu.

Post Reply

Return to “CentOS 5 - Hardware Support”