Re: scsi:sd: provisioning_mode not being set to unmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "John" == John Washer <johnkwasher@xxxxxxxxx> writes:

John> Provisioning mode is not being set to "unmap" even though it seems
John> that device firmware provides all the required information to SD.

I instrumented scsi_debug to provide the same values as your device
(LBPME=1, identical Block Limits VPD, no LBP VPD) and we end up choosing
unmap. So I'm not sure what's going on in your case. Which kernel are
you using?


John> 3. The device does not support VPD 0xb2.
John> $ sudo sg_vpd  -p 0xb2 /dev/sg1
John> VPD page=0xb2
John> fetching VPD page failed

FWIW, the Logical Block Provisioning VPD page is now mandatory.


John> But when I check the "/sys.../provisioning_mode" it is set to
John> Write Same 16.

What happens if you override it by writing "unmap" to that file?

-- 
Martin K. Petersen	Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux