Cannot Add 7th SATA disk

Brad Jahnke brad at zettai.net
Fri Dec 10 18:44:28 PST 2004


I am using FreeBSD 4.10-RELEASE-p5 #1.  I have 6 SATA hard drives installed,
and a 7th disk recognized by the kernel but is not visible via sysinstall
(i.e, ad16 does not appear in the lists when trying to Fdisk or Label) and
nor am I able to add it manually via dd, fdisk, disklable, newfs, etc..

Any suggestions?


####The disks are not in RAID####
disk1 - ad4, 200GB, SATA, Maxtor
disk2 - ad6, 200GB, SATA, Maxtor
disk3 - ad8, 250GB, SATA, Maxtor
disk4 - ad10, 250GB, SATA, Maxtor
disk5 - ad12, 300GB, SATA, Maxtor - NEW - functioning fine
disk6 - ad14, 300GB, SATA, Maxtor - NEW - functionin finer
disk7 - ad16, 300GB, SATA, Maxtor - NEW - cannot fdisk, disklabel, mount

I/O attachment (again no RAID)
disk1,2 - HighPoint SATA 1520
disks 3,4,5,6 - HighPoint SATA 1640
disk 7 -either additional HighPoint SATA 1520 or on board SATA (Intel
865PERL)

I swapped disk7 into ad14 and it works fine (thus new hard drive is
operational)


####/var/log/messages entry related to ad...####
/kernel: ad4: DMA limited to UDMA33, non-ATA66 cable or device
/kernel: ad4: 194481MB <Maxtor 6Y200M0> [395136/16/63] at ata2-master UDMA33
/kernel: ad6: DMA limited to UDMA33, non-ATA66 cable or device
/kernel: ad6: 194481MB <Maxtor 6Y200M0> [395136/16/63] at ata3-master UDMA33
/kernel: ad8: DMA limited to UDMA33, non-ATA66 cable or device
/kernel: ad8: 239372MB <Maxtor 6Y250M0> [486344/16/63] at ata4-master UDMA33
/kernel: ad10: DMA limited to UDMA33, non-ATA66 cable or device
/kernel: ad10: 239372MB <Maxtor 6Y250M0> [486344/16/63] at ata5-master
UDMA33
/kernel: ad12: DMA limited to UDMA33, non-ATA66 cable or device
/kernel: ad12: 286188MB <Maxtor 6B300S0> [581463/16/63] at ata6-master
UDMA33
/kernel: ad14: DMA limited to UDMA33, non-ATA66 cable or device
/kernel: ad14: 286188MB <Maxtor 6B300S0> [581463/16/63] at ata7-master
UDMA33
/kernel: ad16: DMA limited to UDMA33, non-ATA66 cable or device
/kernel: ad16: 286188MB <Maxtor 6B300S0> [581463/16/63] at ata8-master
UDMA33


#####When attempting to complete the manual steps...####
dd if=/dev/zero of=/dev/rad16 bs=1k count=1
fdisk -BI ad16
disklabel -B -w -r ad16s1 auto
disklabel -e ad16s1
mkdir -p /disk7stuff
newfs /dev/ad16s1e
mount -t ufs /dev/da1s1e /1 # Mount the partition(s)
vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab.

I cannot get past, disklabel -B -w -r ad16s1 auto

####Here is the typical session when I attempt the manual method...####
root at my_server # dd if=/dev/zero of=/dev/rad16 bs=1k count=1
1+0 records in
1+0 records out
1024 bytes transferred in 0.000071 secs (14412642 bytes/sec)
root at my_server # fdisk -BI ad16
fdisk: device /dev/ad16 is not character special
fdisk: can't get disk parameters on /dev/ad16; supplying dummy ones
******* Working on device /dev/ad16 *******
root at my_server # fdisk -f /home/brad/ad16_121004.txt -itv ad16
fdisk: device /dev/ad16 is not character special
fdisk: can't get disk parameters on /dev/ad16; supplying dummy ones
******* Working on device /dev/ad16 *******
fdisk: WARNING line 2: number of cylinders (36483) may be out-of-range
    (must be within 1-1024 for normal BIOS operation, unless the entire disk
    is dedicated to FreeBSD)
parameters extracted from in-core disklabel are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=36483 heads=255 sectors/track=63 (16065 blks/cyl)

Information from DOS bootblock is:
1: sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 586099332 (286181 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 642/ head 254/ sector 63
2: <UNUSED>
3: <UNUSED>
4: <UNUSED>
root at my_server # cat /home/brad/ad16_121004.txt
#fdsik configfiel for adding ad16 since it won't go via sysinstall
g c36483 h255 s63
p 1 165 63 586099332
root at my_server # disklabel -B -w -r ad16s1 auto
disklabel: /dev/ad16s1: No such file or directory



More information about the freebsd-questions mailing list