NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Format/Partition new disk (i386/4.0.1)
For some reason I can not get this new disk to format/partition
correctly, at least it doesn't _look_ correct. I ran fdisk -u then
disklabel. What bothers me is why are the fsize, bsize and cpg/sgs all
zero's? That can not be correct.
Also, does anyone have a simple example on how to format, label and
'newfs' a complete IDE drive? I rarely have to setup a new disk but
when I do it is always an issue for me, I just don't get it I guess. I
have read the Guide many times over and still get confused every time
I read it.
thanks for any and all help
==================================================
# fdisk wd1
Disk: /dev/rwd1d
NetBSD disklabel disk geometry:
cylinders: 969021, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 976773168
BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 976773168
Partition table:
0: NetBSD (sysid 169)
start 63, size 976773105 (476940 MB, Cyls 0-60801/80/63)
PBR is not bootable: All bytes are identical (0x00)
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Drive serial number: 129 (0x00000081)
# disklabel wd1
# /dev/rwd1d:
type: ESDI
disk: WDC WD5001ABYS-1
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
4 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 976773105 63 4.2BSD 0 0 0 # (Cyl. 0*- 969020)
c: 976773105 63 unused 0 0 # (Cyl. 0*- 969020)
d: 976773168 0 unused 0 0 # (Cyl. 0 - 969020)
wd1 at atabus1 drive 1: <WDC WD5001ABYS-18YNA0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Home |
Main Index |
Thread Index |
Old Index