Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

constantly getting this message "sdx: Write Protect is off"

Created: 09 Dec 2012 | 2 comments
Zahid.Haseeb's picture

Environment

OS = 5.3

Vxvm = 5.1

$ sudo vxdisk list

DEVICE       TYPE            DISK         GROUP        STATUS
sda          auto:none       -            -            online invalid
sdb          auto:simple     sourcesafe01  sourcesafe   online
sdc          auto:cdsdisk    sourcesafe02  sourcesafe   online

repstatus

RVG state:                  enabled for I/O (passthru)
 

vxprint for srl volume

v  home-srl     home-rvg     ENABLED  209715200 SRL     ACTIVE   -       -
pl home-srl-01  home-srl     ENABLED  209715200 -       ACTIVE   -       -
sd sourcesafe02-02 home-srl-01 ENABLED 209715200 0      -        -       -

dmesg

SCSI device sdc: 240121728 512-byte hdwr sectors (122942 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: drive cache: write back
SCSI device sdc: 240121728 512-byte hdwr sectors (122942 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: drive cache: write back
 

assumption

As per the dmesg this happens when the disk is in readonly mode. but as far as the repstatus shows that we need to diassociate and associate the SRL. If the passthru happens again and again then we need to replace the disk on which SRL is created.

==========================================================

Now the problem is that the disk sdb on which the data volume(data volume name is home) is created show the same message. See below for a reference:

SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back

vxprint for data volume

v  home         home-rvg     ENABLED  624951296 -       ACTIVE   -       -
pl home-01      home         ENABLED  624951296 -       ACTIVE   -       -
sd sourcesafe01-01 home-01   ENABLED  624951296 0       -        -       -
pl home-02      home         ENABLED  LOGONLY  -        ACTIVE   -       -
sd sourcesafe01-02 home-02   ENABLED  512      LOG      -        -       -
pl home-04      home         ENABLED  LOGONLY  -        ACTIVE   -       -
sd sourcesafe02-01 home-04   ENABLED  512      LOG      -        -       -
 

assumption

This happens when the disk is in readonly mode. Why its going in to the "Write Protect is off" mode. Is this the disk problem or something else related with the vxvm

 

Discussion Filed Under:

Comments 2 CommentsJump to latest comment

Yasuhisa Ishikawa's picture

 

Mostly this message is logged when the disk is newly attached or reconnectd.
I believe VxVM does not intercept device recognition at this level. Please check if any relevant event like FC failure is logged at that time. it is better to run hardware diagnostic test as well.

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

Zahid.Haseeb's picture

I believe VxVM does not intercept device recognition at this level.

I second your above words but, These disks are locally connected not FC OR ISCSI connected. I replaced two disks on which SRL is created in last month as RVG went in passthru state. Now both replaced disks are working good on other two machines.

Any comment will be appreciated. Mark as Solution if your query is resolved
__________________
Thanks in Advance
Zahid Haseeb

zahidhaseeb.wordpress.com