Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 07:50:07 +1000
From:      Mark Andrews <Mark_Andrews@isc.org>
To:        pinoyskull <pinoyskull@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Bind9 Problem, please help 
Message-ID:  <200510272150.j9RLo7D3097957@drugs.dv.isc.org>
In-Reply-To: Your message of "Thu, 27 Oct 2005 22:43:19 %2B0800." <4360E787.6070301@gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

> >	The output of mount for the filesystem.
> >  
> >
> Filesystem     Size    Used   Avail Capacity  Mounted on
> /dev/da0s1a    248M    138M     90M    60%    /
> devfs          1.0K    1.0K      0B   100%    /dev
> /dev/da0s1e    248M    224K    228M     0%    /tmp
> /dev/da0s1f     31G    1.9G     27G     7%    /usr
> /dev/da0s1d    248M    165M     63M    72%    /var

	I said mount not df.

e.g.
	/dev/ad0s3a on / (ufs, local, noatime)
	/dev/ad0s3g on /home (ufs, local, noatime)
	/dev/ad0s3f on /usr (ufs, local, noatime)
	/dev/ad0s3e on /var (ufs, local, noatime)
	/dev/ad0s2 on /c (ntfs, local, read-only)
	procfs on /proc (procfs, local)

> >>this is my /u1/dns
> >>
> >>drwxr-xr-x  2 root  daemon  512 Jul 12  2002 dev
> >>    
> >>
> >
> >	Do the major and minor number match those in /dev?
> >
> >  
> >
> /u1/dev
> crw-r--r--  1 root  daemon    2,   2 Jul 12  2002 null
> crw-r--r--  1 root  daemon    2,   3 Jul 12  2002 random
> crw-r--r--  1 root  daemon    2,  12 Jul 12  2002 zero
> 
> /dev
> crw-rw-rw-  1 root  wheel    2,   2 Oct 27 22:33 null
> crw-rw-rw-  1 root  wheel  249,   0 Oct 28 00:57 random
> crw-rw-rw-  1 root  wheel    2,  12 Oct 27 16:57 zero
> 
> 
> so, random has a different no., how do u recreate /dev/random that will match
>  /u1/dev/random?

	mknod.  Also make sure the permissions match.
 
> >>drwxr-xr-x  2 root  daemon  512 Jan  7  2005 etc
> >>drwxr-xr-x  5 root  daemon  512 Jul 12  2002 var
> >>
> >>and my /u1 is a symbolic link of /usr/u1 (i did that because my /usr has mo
> re
> >> spaces)
> >>
> >>the whole /u1/dns is copied from a running DNS server which is going to die
>  s
> >>oon (i recreated them to a new box)

	Copying /dev between different OS's or even different revisions
	of the same OS can cause problems.

	Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews@isc.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510272150.j9RLo7D3097957>