[ag-automation] Problem reading RBF filesystem on SCSI disk
Carsten Emde
Carsten.Emde at osadl.org
Tue Oct 2 13:08:08 CEST 2007
Piotr,
>> another possibility is that the generic SCSI layer is buggy. In the file
>> drivers/scsi/sd.c there is - around line 400 - a section that reads:
>> [..]
> I found a workaround to read 256-Byte/sector SCSI hard disk.
> The trick is to use sg_dd with blk_sgio=1 option.
> (sg_dd is part of genooto's sys-apps/sg3_utils package)
>
> When blk_sgio is set to 1, block devices are assumed to accept the
> SG_IO ioctl and SCSI commands are issued for IO.
>
> Issuing command:
> sg_dd if=/dev/sda of=/tmp/dump.img blk_sgio=1 bs=256
> dumps proper disk image.
>
> Now I cant mount disk image via loop:
> mount -o loop -t rbf /tmp/dump.img /mnt/os9 -o sector=256
>
> Not a real solution, but it works for me ;-)
Great, thanks for letting us know. I will add this information to the
RBF project description.
Carsten.
More information about the ag-automation
mailing list