Date: Thu, 29 Oct 1998 16:57:17 +0800 From: Christopher Hall <hsw@acm.org> To: small@FreeBSD.ORG Subject: Out of inodes for custom build Message-ID: <199810290857.QAA06031@hsw.generalresources.com>
next in thread | raw e-mail | index | archive | help
Just tried to build a version of dial without ssh and received an out of inodes message. I did "cp -Rp dial dial2"; edit out ssh stuff and ./build with custom, dial2. Just in case my edits were wrong I retried custom but entered /usr/src/release/picobsd/dial ... Same message. If I choose 'n' at the main menu to build dial then it builds the tree without getting this error. Router built without any problem, but also gets same error if I try to build it as custom. Here is the Error Message: [hsw:...se/picobsd/build]# ./build ...Stuff-Skipped... mtree -deU -f mfs.mtree -p /mnt (cd /mnt/dev; /dev/MAKEDEV std sysmouse tun2 cuaa0 cuaa1 cuaa2 vty10 fd0 pty0; /dev/MAKEDEV psm0; /dev/MAKEDEV wd0s1h wd0s2 wd0s3 wd0s4 wd1s1h wd1s2 wd1s3 wd1s4) /mnt: create/symlink failed, no inodes free /sbin/mknod: tun2: No space left on device /sbin/mknod tun2 *** Error code 2 Stop. -> ERROR while making "custom" hierarchy in /mnt... -> Aborting ./populate [hsw:...se/picobsd/build]# df -k /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/vn0c 1551 40 1511 3% /mnt This is on FreeBSD -current cvsup and make world as of yesterday The only thing I can see that is different for custom is in stage1: INODES=16000 dial gets INODES=4096 Tried building router as custom, but with MFS=6400 i.e. 4 times dial MFS size as custom wants 4 times INODES This builds OK. Perhaps the INODES should be settable for custom builds? or is the a simple calculation for INODES from MFS size? Also when populate terminated with error the vn device is left mounted. I can see there is some error trapping code in ./build to dismount it. --- Christopher Hall <hsw@acm.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810290857.QAA06031>