NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gpt howto?



Hello (again),

I would like to create a 5 TB NetBSD partition on a RAID disk (sd5).
I believe I need to use gpt to partition the disk, but I can't seem
to make it work under 4.0_STABLE:

# gpt create sd5
gpt: unable to open device 'rsd5d': Device not configured
# gpt add sd5
gpt: unable to open device 'rsd5d': Device not configured

I also tried with vnd in case the sd driver doesn't support gpt:

# vnconfig vnd0 bigfile
# gpt add vnd0
gpt: unable to open device 'rvnd0d': Device not configured
# gpt create vnd0
gpt: unable to open device 'rvnd0d': Device not configured
# disklabel vnd0
# /dev/rvnd0d:
type: vnd
disk: vnd
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 4096
total sectors: 8388608
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:   8388608         0     4.2BSD      0     0     0  # (Cyl.      0 - 4095)
 d:   8388608         0     unused      0     0        # (Cyl.      0 - 4095)

I can't test using wd at the moment (no free partitions available).

So what is it that I'm doing wrong this time? ;-)

  -jm



Home | Main Index | Thread Index | Old Index