

Sep 01 15:48:35 thinkpad-linux kernel: sd 6:0:0:0: No Caching mode page found Sep 01 15:48:35 thinkpad-linux kernel: sd 6:0:0:0: Write Protect is off Sep 01 15:48:35 thinkpad-linux kernel: ready

Sep 01 15:48:30 thinkpad-linux kernel: sd 6:0:0:0: Spinning up disk. Sep 01 15:48:30 thinkpad-linux kernel: ses 6:0:0:1: Attached scsi generic sg3 type 13 Sep 01 15:48:30 thinkpad-linux kernel: ses 6:0:0:1: Attached Enclosure device

Sep 01 15:48:30 thinkpad-linux kernel: sd 6:0:0:0: Attached scsi generic sg2 type 0 Sep 01 15:48:30 thinkpad-linux kernel: scsi 6:0:0:1: Enclosure WD SES Device 1005 PQ: 0 ANSI: 6 Unplug and plugin your hard disk, and check out the log files: Sep 01 15:48:30 thinkpad-linux kernel: scsi 6:0:0:0: Direct-Access WD My Passport 25A8 1005 PQ: 0 ANSI: 6 Now check out mode page 0x20 again: $ sudo sdparm -page=0x20 -hex /dev/sdc To disable it, run the following command: sudo sdparm -page=0x20 -set 4:1:1=1 -save /dev/sdc By manipulating its second bit, we can disable or reenable the virtual cd. Of interest is the fifth byte with the value 0x30 – or 00110000 in bits. Then run the following command (keep in mind to adjust the drive letter to match it with your WD hard disk), which reads out mode page 0x20 of your disk.
#VIRTUAL CD MANAGER WESTERN DIGITAL INSTALL#
Under Debian (and its derivatives) you can install it with $ sudo apt-get install sdparm One of the page is page 0x20, which contains the information necessary to enable or disable the virtual cd.įirst you need to install sdparm. Western Digital uses undocumented, vendor-unique SCSI mode pages.
#VIRTUAL CD MANAGER WESTERN DIGITAL UPDATE#
See the virtual cd-rom at /dev/sr0? Also note that the hard disk appears as /dev/sdc on my system, so you will have to update the following commands accordingly if your disk has a different system letter. Sep 01 15:41:12 thinkpad-linux kernel: sd 6:0:0:0: Attached SCSI disk Sep 01 15:41:12 thinkpad-linux kernel: sdc: sdc1 Sep 01 15:41:12 thinkpad-linux kernel: sd 6:0:0:0: Assuming drive cache: write through Sep 01 15:41:12 thinkpad-linux kernel: sd 6:0:0:0: No Caching mode page found Sep 01 15:41:12 thinkpad-linux kernel: sd 6:0:0:0: Write Protect is off Sep 01 15:41:12 thinkpad-linux kernel: ready Sep 01 15:41:07 thinkpad-linux kernel: ses 6:0:0:2: Attached scsi generic sg4 type 13 Sep 01 15:41:07 thinkpad-linux kernel: ses 6:0:0:2: Attached Enclosure device Sep 01 15:41:07 thinkpad-linux kernel: sr 6:0:0:1: Attached scsi generic sg3 type 5

Sep 01 15:41:07 thinkpad-linux kernel: sr 6:0:0:1: Attached scsi CD-ROM sr0 Sep 01 15:41:07 thinkpad-linux kernel: sd 6:0:0:0: Spinning up disk. Sep 01 15:41:07 thinkpad-linux kernel: sd 6:0:0:0: Attached scsi generic sg2 type 0 Sep 01 15:41:07 thinkpad-linux kernel: scsi 6:0:0:2: Enclosure WD SES Device 1005 PQ: 0 ANSI: 6 Here is the log output for my brand new WD My Passport: Sep 01 15:41:07 thinkpad-linux kernel: scsi 6:0:0:0: Direct-Access WD My Passport 25A8 1005 PQ: 0 ANSI: 6 Please keep in mind that the following solution worked well for me, but that it could, potentially, brick your hard disk. No results with Google either, so I had to dig a little further. According to Western Digital, there is no known way under Linux to disable (and hide) the “Virtual CD” (VCD) partition that can often be found on their external hard disks (such as the popular My Passport series).
