dd if=/dev/zero of=/dev/amrd0 count=16
disklabel -rw amrd0 auto
newfs amrd0c

Don't bother slicing the array in this case; it's not worth the effort.
(The probable cause of your trouble is garbage at the beginning of the 
slice you've created).

> I'm having trouble convincing -CURRENT to disklabel or newfs an AMI
> MEGARAID adapter.
> 
> amr0: <AMI MegaRAID> irq 10 at device 11.1 on pci0
> amr0: firmware GH89 bios 1.41  16MB memory
> amrd0: <MegaRAID logical drive> on amr0
> amrd0: 122647MB (251181056 sectors) RAID 5 (optimal)
> 
> [1:22:322]root@raid1:~> fdisk amrd0
> ******* Working on device /dev/ramrd0 *******
> parameters extracted from in-core disklabel are:
> cylinders=15635 heads=255 sectors/track=63 (16065 blks/cyl)
> 
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=15635 heads=255 sectors/track=63 (16065 blks/cyl)
> 
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> sysid 165,(FreeBSD/NetBSD/386BSD)
>     start 63, size 251176212 (122644 Meg), flag 80 (active)
>         beg: cyl 0/ sector 1/ head 1;
>         end: cyl 274/ sector 63/ head 254
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
> 
> [1:29:329]root@raid1:~> disklabel -w -r amrd0s1 auto
> disklabel: ioctl DIOCGDINFO: Invalid argument
> disklabel: auto: unknown disk type
> 
> Dav.e
> 
> -- 
> ============================================================================
> |David Gilbert, Velocet Communications.       | Two things can only be     |
> |Mail:       [EMAIL PROTECTED]             |  equal if and only if they |
> |http://www.velocet.net/~dgilbert             |   are precisely opposite.  |
> =========================================================GLO================
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to