David Vasek wrote:
On Thu, 10 Sep 2009, Milan Prihoda wrote:
and now,
# dd if=/dev/rsd2c of=disk1.img bs=520
works for me :-)
Are you sure you are getting all 520 bytes from each sector and not
only first 512 bytes? Can you verify it?
Regards,
David
Hi David,
it seems you're right.
# l
On Thu, 10 Sep 2009, Milan Prihoda wrote:
and now,
# dd if=/dev/rsd2c of=disk1.img bs=520
works for me :-)
Are you sure you are getting all 520 bytes from each sector and not only
first 512 bytes? Can you verify it?
Regards,
David
On Thu, Sep 10, 2009 at 10:46 AM, Marco Peereboom wrote:
> I would love to get my hands on such a drive :-)
>
> EMC uses the same magic; they cram stuff in the additional 8 bytes.
I inherited a couple of shelves from an old EMC setup, and ended up
using Seagate's SeaTools Enterprise Edition to re
There are a million spots where 512 is hard coded...
On Thu, Sep 10, 2009 at 10:03:07PM +0200, Milan Prihoda wrote:
>> Line 1423 and following of /usr/src/sys/scsi/sd.c show that we will
>> only accept devices with sector sizes that are multiples of 512
>> (DEV_BSIZE). Others will be impossible to
On Thu, Sep 10, 2009 at 06:41:08PM +0200, Milan Prihoda wrote:
> Brynet wrote:
> >Milan Prihoda wrote:
> >>These drives have 520KByte sector size instead of 512KByte.
> >>Is there any way how to dump raw data from these drives without
> >>reformat drive to different sector size ?
> >
> >Most disks
Line 1423 and following of /usr/src/sys/scsi/sd.c show that we will
only accept devices with sector sizes that are multiples of 512
(DEV_BSIZE). Others will be impossible to open.
Now, if you delete that code you may be able to open the raw device.
No idea, but I'd be interested in what happens.
Brynet wrote:
Hi Milan,
I'm glad that it works.. can you post the new attachment message? :)
-Brynet
Do you mean this :?
# dmesg | grep sd2
sd2 at scsibus0 targ 2 lun 0: SCSI2 0/direct fixed
sd2: 4173MB, 520 bytes/sec, 8414494 sec total
Milan Prihoda wrote:
Hi Brynet,
thank You very much for Your idea.
It works :-)
Brynet wrote:
Hi Milan,
David Vasek was on the right track with his message, it seems likely
that the driver is bailing out on line 1439 in /usr/src/sys/scsi/sd.c.
1423:/*
1424: * Restrict blksize values t
Hi Milan,
I'm glad that it works.. can you post the new attachment message? :)
-Brynet
Hi Brynet,
thank You very much for Your idea.
It works :-)
Brynet wrote:
Hi Milan,
David Vasek was on the right track with his message, it seems likely
that the driver is bailing out on line 1439 in /usr/src/sys/scsi/sd.c.
1423: /*
1424:* Restrict blksize values to powers of two between
I would love to get my hands on such a drive :-)
EMC uses the same magic; they cram stuff in the additional 8 bytes.
On Thu, Sep 10, 2009 at 06:41:08PM +0200, Milan Prihoda wrote:
> Brynet wrote:
>> Milan Prihoda wrote:
>>
>>> These drives have 520KByte sector size instead of 512KByte.
>>> Is
Hi Milan,
David Vasek was on the right track with his message, it seems likely
that the driver is bailing out on line 1439 in /usr/src/sys/scsi/sd.c.
1423: /*
1424:* Restrict blksize values to powers of two between 512 and 64k.
1425:*/
1426: switch (dp->blksize) {
1427: case 0x200:
Brynet wrote:
Milan Prihoda wrote:
These drives have 520KByte sector size instead of 512KByte.
Is there any way how to dump raw data from these drives without
reformat drive to different sector size ?
Most disks have a sector size of 512 bytes, not kilobytes.
-Brynet
Hi,
i should
Milan Prihoda wrote:
> These drives have 520KByte sector size instead of 512KByte.
> Is there any way how to dump raw data from these drives without
> reformat drive to different sector size ?
Most disks have a sector size of 512 bytes, not kilobytes.
-Brynet
David Vasek wrote:
> The drive is reported as offline.
>
> As I understand it from sys/scsi/sd.c, "drive offline" means an error was
> reported by scsi_test_unit_ready() function call. Possibly the 520
> bytes/sector is not compatible with the controller the OP used or with the
> OpenBSD driver/scs
On Thu, 10 Sep 2009, Joachim Schipper wrote:
On Thu, Sep 10, 2009 at 12:16:27PM +0200, Milan Prihoda wrote:
Jan Stary wrote:
On Sep 10 10:36:41, Milan Prihoda wrote:
Hi,
i have few IBM scsi drives from old (risc-based) IBM as/400.
These drives have 520KByte sector size instead of 512KByte.
I
On Thu, Sep 10, 2009 at 12:16:27PM +0200, Milan Prihoda wrote:
> Jan Stary wrote:
> >On Sep 10 10:36:41, Milan Prihoda wrote:
> >>Hi,
> >>i have few IBM scsi drives from old (risc-based) IBM as/400.
> >>
> >>These drives have 520KByte sector size instead of 512KByte.
> >>Is there any way how to dum
Jan Stary wrote:
On Sep 10 10:36:41, Milan Prihoda wrote:
Hi,
i have few IBM scsi drives from old (risc-based) IBM as/400.
These drives have 520KByte sector size instead of 512KByte.
Is there any way how to dump raw data from these drives without
reformat drive to different sector size ?
$
Hi,
i have few IBM scsi drives from old (risc-based) IBM as/400.
These drives have 520KByte sector size instead of 512KByte.
Is there any way how to dump raw data from these drives without
reformat drive to different sector size ?
$ dmesg
...
sd2 at scsibus0 targ 3 lun 0: SCSI 2 0/direct
fixed
On Sep 10 10:36:41, Milan Prihoda wrote:
> Hi,
> i have few IBM scsi drives from old (risc-based) IBM as/400.
>
> These drives have 520KByte sector size instead of 512KByte.
> Is there any way how to dump raw data from these drives without
> reformat drive to different sector size ?
>
> $ dmesg
> .
20 matches
Mail list logo