NetBSD-Users archive

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

Re: question about paritions/disklabel



Martin Husemann <martin%duskware.de@localhost> wrote ..
> On Mon, Feb 18, 2013 at 01:04:43AM -0800, Waitman Gobble wrote:
> > I'm curious about why I'm receiving this error with dkctl
> > 
> > # dkctl wd1 getcache
> > dkctl: /dev/rwd1: getcache: Inappropriate ioctl for device
> 
> Very strange.
> 
> > # /sbin/dkctl /dev/rwd1e 
> > strategy:
> > /dev/rwd1e: priocscan
> 
> Sounds like something is wrong in /dev on your machine, or you have a local
> file "wd1" in your current directory. Many programs refering to disk devices
> will use the opendisk library function, which will check the passed name
> verbatim first, but then try to expand it - in your case it should change
> "wd1" to /dev/rwd1d probably (or /dev/rwd1c, depending on architecture).
> 

Thanks, OK this kind of starts to make sense.. I had an old 250GB drive on the 
machine at /dev/wd1, I shutdown the machine and pulled the drive, put in the 
new one. Is it possible that caused some issue with /dev/wd1a and /dev/wd1b ?


-- 
Waitman Gobble
San Jose California USA



Home | Main Index | Thread Index | Old Index