Hi,

> It isn't pretty but:
> dd if=/dev/wd1a skip=8244 bs=1 count=4 | hexdump -C
> 4+0 records in
> 4+0 records out
> 4 bytes transferred in 0.001 secs (3263 bytes/sec)
> 00000000  41 00 00 00                                       |A...|
> 00000004
>
> wd1a is the cooked RAID partition.  In this case this is an AOE target.
> If it was crypto it would have been 4c 00 00 00 |C...|
>
> Currently the possible values are: 0x00 (RAID 0), 0x01 (RAID 1), 0x41
> (AOE target), 0x4c (CRYPTO) & 0x61 (AOE initiator).
> Note that softraid is not endian neutral so on big endian machines the
> numbers are flipped.
Thanks a lot, will try that later.

Michael

Reply via email to