Can you point us to which SCSI reference guide you are referring to ? As per SCSI Steam Commands "The MEDIUM TYPE field in the mode parameter header is vendor specific for sequential-access devices." so this value changes based on the vendor drive
68 indicates an Ultrium 6 volume is loaded and 6c indicates an Ultrium 6 WORM volume is loaded. On Wed, Sep 29, 2021 at 3:41 AM Yannick HOUDOT <frk...@gmail.com> wrote: > > I need to know the Medium type of a media, so I use MODE SENSE to get the > Parameter Header which have a "Medium Type" field. > > From SCSI reference guide, value should be > 00h => Data Medium > 01h => Cleaning Medium > 80h = WORM Medium > > Quadstore drive returns 6Ch / 68h ! > > # sg_raw -vr 32 /dev/nst3 1A 00 00 00 10 00 > cdb to send: 1a 00 00 00 10 00 > SCSI Status: Good > > Received 12 bytes of data: > 00 0b *6c *10 08 5a 00 00 00 00 00 00 00 .l..Z....... > # sg_raw -vr 16 /dev/nst2 5A 00 80 00 00 00 00 10 00 > cdb to send: 5a 00 80 00 00 00 00 10 00 > SCSI Status: Good > > Received 16 bytes of data: > 00 00 0e *68 *10 00 00 00 08 5a 00 00 00 00 00 00 00 > ..h.....Z....... > # > > Do you confirm the issue ? > > -- > You received this message because you are subscribed to the Google Groups > "QUADStor VTL" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to quadstor-vtl+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/quadstor-vtl/2eb1beae-6327-49b8-9002-de167e640ae2n%40googlegroups.com > <https://groups.google.com/d/msgid/quadstor-vtl/2eb1beae-6327-49b8-9002-de167e640ae2n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "QUADStor VTL" group. To unsubscribe from this group and stop receiving emails from it, send an email to quadstor-vtl+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/quadstor-vtl/CAPEgkt56XF5kaUU1hbGsczUbLO4DuCJhQ8eF6C%2BG4ngADvVwAw%40mail.gmail.com.