NetBSD-Users archive

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

Re: gpt howto?



On Sun, Feb 10, 2008 at 10:41:06AM +0200, Jukka Marin wrote:
> 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 just had a look at it, and it looks like the gpt error message is
misleading. ktrace -i shows:
 15574      1 gpt      NAMI  "/dev/drvctl"
 15574      1 gpt      RET   open -1 errno 2 No such file or directory
 15574      1 gpt      CALL  close(3)
 15574      1 gpt      RET   close 0
 15574      1 gpt      CALL  write(2,0xbfbfdd80,5)
 15574      1 gpt      GIO   fd 2 wrote 5 bytes
     "gpt: "
 15574      1 gpt      RET   write 5
 15574      1 gpt      CALL  write(2,0xbfbfddb0,0x1d)
 5574      1 gpt      GIO   fd 2 wrote 29 bytes
     "unable to open device 'rwd0d'"

So I guess you don't have 'pseudo-device drvctl' in your kernel config
file ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index