Re: Software RAID on SPARC64
Quoting Martin <inkubus@interalpha.co.uk>:
> On Mon, 2005-07-18 at 14:06 -0400, Sam Creasey wrote:
>> Not sure this is actually it (I'm just guessing here), but are you
>> starting the raid partition on cylinder 0? Or cyl 1? I *think* (though
>> I'm not sure) that starting on cylinder 0 actually puts the disklabel into
>> the beginning of the partition itself. This isn't a problem for UFS, as
>> UFS leaves 8k unused at the beginning of the FS, but it might be a problem
>> for md.
>>
>> Again, that's just a shot in the dark, take it for what it's worth.
>
> This sounds familiar. I certainly remember having to go back and
> re-partition starting on 1 not 0 to avoid eating the disklabel and
> partition table. Can't remember what the symptoms where but I'm pretty
> sure it was on the machine that runs a RAID array...
Yes. For MD devices on SPARC, the (first) partition _MUST_ start on '1', not
'0' as is the default.
----- s n i p -----
root@aurora:~# mdadm -D /dev/md/0 | grep /dev/scsi
0 8 34 0 active sync /dev/scsi/host3/bus0/target2/lun0/part2
1 8 130 1 active sync /dev/scsi/host3/bus0/target10/lun0/part2
2 8 226 2 active sync /dev/scsi/host4/bus0/target2/lun0/part2
3 65 50 3 active sync /dev/scsi/host4/bus0/target10/lun0/part2
4 8 242 -1 spare /dev/scsi/host4/bus0/target3/lun0/part2
5 8 50 -1 spare /dev/scsi/host3/bus0/target3/lun0/part2
root@aurora:~# fdisk -l /dev/scsi/host4/bus0/target2/lun0/disc
Disk /dev/scsi/host4/bus0/target2/lun0/disc (Sun disk label): 64 heads, 32 sectors, 8635 cylinders
Units = cylinders of 2048 * 512 bytes
Device Flag Start End Blocks Id System
/dev/scsi/host4/bus0/target2/lun0/disc1 1 257 262144 83 Linux native
/dev/scsi/host4/bus0/target2/lun0/disc2 257 8635 8579072 fd Linux raid autodetect
/dev/scsi/host4/bus0/target2/lun0/disc3 0 8635 8842240 5 Whole disk
----- s n i p -----
--
[Hello to all my fans in domestic surveillance] Semtex kibo CIA killed
PLO Nazi NORAD explosion Ft. Bragg Clinton 767 SEAL Team 6 subway
congress
[See http://www.aclu.org/echelonwatch/index.html for more about this]
Reply to: