Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imaged drive details #260

Open
djfarrell opened this issue Jul 8, 2023 · 3 comments
Open

Imaged drive details #260

djfarrell opened this issue Jul 8, 2023 · 3 comments
Assignees

Comments

@djfarrell
Copy link

Maybe add a option to write more drive details , serial number, etc to a base ini file. Maybe this exists already? If a software license is locked to a drive serial number it would be nice to accomodate this.

@MeTalOneOEight
Copy link

Take a look at the example zuluscsi.ini:
https://github.com/ZuluSCSI/ZuluSCSI-firmware/blob/main/zuluscsi.ini
It's already there.

@djfarrell
Copy link
Author

Thanks for the response. I meant implement features in the initiator function, I see that you can write the serial number, but you have to know it first.

@csulaguy
Copy link

csulaguy commented Oct 31, 2023

Same here. When I look at the logs, it shows the drive size, but doesn't pull information, like vendor, product, version, and serial.
`[7569ms] SCSI id 0 capacity 82080 sectors x 512 bytes
[7570ms] Drive total size is 40 MiB
[7573ms] Preallocating image file
[7575ms] Starting to copy drive data to HD00_imaged.hda
[7890ms] SCSI read succeeded, sectors done: 512 / 82080 speed 842 kB/s

blah blah blah
[54796ms] Finished imaging drive with id 0
`

Even pulling geometry reported might be nice, say when imaging drives and then deploying said image via ZuluSCSI on a similar or same host that's expecting that same drive (but doesn't have to know it's emulated, of course).

Another nice advantage of such a feature is if we're imaging multiple drives, that happen to be on ID 0 because they don't have jumpers, and I don't want to have to figure out which drive is what image, when I could look at zululog.txt and identify that image by drive model/serial/etc.

I stand slightly corrected.
The new build has this, but it's still not pulling the drive serial number. Geometry, as aforementioned, would also be nice.
'[7823ms] SCSI ID 0 capacity 82080 sectors x 512 bytes
[7823ms] [SCSI0]
[7823ms] Vendor = "CONNER "
[7824ms] Product = "CP3040A-40mb-3.5"
[7824ms] Version = "2.31"
[7824ms] Type = 0
[7825ms] Drive total size is 40 MiB'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants