LinearTapeFileSystem / LinearTapeFileSystem/ltfs

HP LTO5 Modesens invalid field

Aperta
#201 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug good first issue help wanted
Lingua principale
C
Stelle
352
Fork
110
Merge medio
2h 50m
PR unite (30g)
2

Descrizione

Hello,

I´ve compiled the multivendor package, runs like a charm!
But I get an error at the mount command, I dont know what that means but mabe it is interesting for you?
"3cad LTFS30263I MODESENSE returns Invalid Field in CDB (-20501) /dev/sg0."

3cad LTFS14000I LTFS starting, LTFS version 2.4.2.1 (Prelim), log level 2.
3cad LTFS14058I LTFS Format Specification version 2.4.0.
3cad LTFS14104I Launched by "ltfs -o nonempty -o devname=/dev/sg0 /mnt/ltfs".
3cad LTFS14105I This binary is built for Linux (x86_64).
3cad LTFS14106I GCC version is 8.3.0.
3cad LTFS17087I Kernel version: Linux version 5.4.44-1-pve (root@nora) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PVE 5.4.44-1 (Fri, 12 Jun 2020 08:18:46 +0200) i386.
3cad LTFS17089I Distribution: PRETTY_NAME="Debian GNU/Linux 10 (buster)".
3cad LTFS14063I Sync type is "time", Sync time is 300 sec.
3cad LTFS17085I Plugin: Loading "sg" tape backend.
3cad LTFS17085I Plugin: Loading "unified" iosched backend.
3cad LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
3cad LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg0).
3cad LTFS30250I Opened SCSI tape device 6.0.0.0 (/dev/sg0).
3cad LTFS30207I Vendor ID is HP .
3cad LTFS30208I Product ID is Ultrium 5-SCSI .
3cad LTFS30214I Firmware revision is Z6ED.
3cad LTFS30215I Drive serial is xxxxxxxx.
3cad LTFS30285I Reserved buffer size of /dev/sg0 is 1048576.
3cad LTFS17160I Maximum device block size is 1048576.
3cad LTFS11330I Loading cartridge.
3cad LTFS11332I Load successful.
3cad LTFS17157I Changing the drive setting to write-anywhere mode.
3cad LTFS11005I Mounting the volume.

3cad LTFS30205I MODESENSE (0x5a) returns -20501.
3cad LTFS30263I MODESENSE returns Invalid Field in CDB (-20501) /dev/sg0.

3cad LTFS11026I Performing a full medium consistency check.
3cad LTFS11233I Updating MAM coherency data.
3cad LTFS17227I Tape attribute: Vendor = IBM .
3cad LTFS17227I Tape attribute: Application Name = LTFS .
3cad LTFS17227I Tape attribute: Application Version = 2.4.2.1 .
3cad LTFS17227I Tape attribute: Medium Label = .
3cad LTFS17228I Tape attribute: Text Localization ID = 0x81.
3cad LTFS17227I Tape attribute: Barcode = .
3cad LTFS17227I Tape attribute: Application Format Version = 2.4.0 .
3cad LTFS17228I Tape attribute: Volume Lock Status = 0x00.
3cad LTFS17227I Tape attribute: Media Pool name = .
3cad LTFS14111I Initial setup completed successfully.
3cad LTFS14112I Invoke 'mount' command to check the result of final setup.
3cad LTFS14113I Specified mount point is listed if succeeded.

I can share further debug infos if you tell me what you need to fix that.

greetings from Austria

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproducete il mount segnalato sull'unità HP Ultrium 5-SCSI con il firmware Z6ED, quindi esaminate la diagnostica MODESENSE (0x5a) del backend sg-ibmtape. Confermate se il messaggio relativo a un campo non valido influisce sul mount, che secondo il log alla fine viene completato correttamente, e documentate il risultato verificato o la modifica specifica per il dispositivo necessaria.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
c, linux
Ambito
backend, operating-systems
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.