UFS Newfs installation problems

jaymax

Well-Known Member

Reaction score: 3
Messages: 268

Just purchased a 2TB Baracuda SATA HHD - Model ST2000DM006, installing on an i386 platform w/ FreeBSD 10.2-RELEASE #0
To be used as a Storage Disk

gpart show -l shows new disk as /dev/ada0

Installation steps
Code:
# gpart destroy -F /dev/ada0
# dd if=/dev/zero of=/dev/ada0  bs=1k
# gpart create -s gpt /dev/ada0
   # gpart add -a 4k -s 512K -t freebsd-boot -l NU1mtboot /dev/ada0
   # gpart add -a 4k -s 4G -t freebsd-swap -l NU1swap /dev/ada0
   # gpart add -a 4k -t freebsd-ufs -l NU1usrfs /dev/ada0

partition slices ada0p1, adaop2 & ada0p3, created as expected.

Format drive partitions
# newfs -j /dev/ada0p3

puts out ==>

Code:
/dev/ada0p3: 1903632.5MB (3898639456 sectors) block size 32768, fragment size 4096
        using 3040 cylinder groups of 626.22MB, 20039 blks, 80256 inodes.
        with soft updates
super-block backups (for fsck_ffs -b #) at:
newfs: wtfs: 131072 bytes at sector 192: Input/output error


I seem unable to escape from this holding cage- any suggestions will be helpful.
 

obsigna

Daemon

Reaction score: 898
Messages: 1,295

This looks like a hardware error. Perhaps you can find more information in /var/log/messages. I would return the disk asking for replacement.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,680
Messages: 39,278

Yeah, it's quite likely a broken disk. If it's indeed new, return it.
 
Top