Bind9 Problem, please help

Mark Andrews Mark_Andrews at isc.org
Thu Oct 27 14:50:15 PDT 2005


> >	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 at isc.org


More information about the freebsd-stable mailing list