From owner-freebsd-questions@freebsd.org Tue Sep 8 19:55:24 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B1279CC0CB for ; Tue, 8 Sep 2015 19:55:24 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 484771DE3 for ; Tue, 8 Sep 2015 19:55:23 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t88JtFu2021994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 8 Sep 2015 14:55:16 -0500 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: Storage question Message-ID: <55EF3D23.5060009@hiwaay.net> Date: Tue, 8 Sep 2015 15:00:45 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2015 19:55:24 -0000 I am prepping to bring 2 new FreeBSD 9.3R boxen online. I am trying to figure out how large to make root & usr partitions to make most effective use of storage. To that end, I did the following: find / -xdev -maxdepth 3 -type f -exec ls -lSrF {} + Which produced the following (abbreviated): -r-xr-xr-x 1 root wheel 1633464 Apr 9 10:39 /boot/modules/radeonkms_port.ko* -r-xr-xr-x 1 root wheel 1665360 Jul 10 2014 /boot/kernel/drm.ko.symbols* -r-xr-xr-x 1 root wheel 1677128 Jul 10 2014 /boot/kernel/if_cxgb.ko.symbols* -r-xr-xr-x 1 root wheel 1686168 Jul 10 2014 /boot/kernel/miibus.ko.symbols* -r-xr-xr-x 1 root wheel 1709912 Jul 10 2014 /boot/kernel/sfxge.ko.symbols* -r-xr-xr-x 1 root wheel 1712472 Jul 10 2014 /boot/kernel/ahd.ko.symbols* -r-xr-xr-x 2 root wheel 1732568 Jul 10 2014 /boot/kernel/radeonkms.ko* -r-xr-xr-x 2 root wheel 1732568 Jul 10 2014 /boot/kernel.old/radeonkms.ko* -r-xr-xr-x 1 root wheel 1732568 Jul 10 2014 /boot/GENERIC/radeonkms.ko* -r-xr-xr-x 1 root wheel 1732568 Jul 10 2014 /boot/GENERIC.old/radeonkms.ko* -r-xr-xr-x 1 root wheel 1736160 Jul 10 2014 /boot/kernel/usb.ko.symbols* -r--r--r-- 1 root wheel 1748416 Jul 4 11:35 /lib/libcrypto.so.6 -r-xr-xr-x 1 root wheel 1929992 Jul 10 2014 /boot/kernel/hwpmc.ko.symbols* -r-xr-xr-x 1 root wheel 2122904 Jul 10 2014 /boot/kernel/if_nxge.ko.symbols* -r-xr-xr-x 2 root wheel 2134776 Jul 10 2014 /boot/kernel/if_bxe.ko* -r-xr-xr-x 2 root wheel 2134776 Jul 10 2014 /boot/kernel.old/if_bxe.ko* -r-xr-xr-x 1 root wheel 2134776 Jul 10 2014 /boot/GENERIC/if_bxe.ko* -r-xr-xr-x 1 root wheel 2134776 Jul 10 2014 /boot/GENERIC.old/if_bxe.ko* -r-xr-xr-x 1 root wheel 2153968 Jul 10 2014 /boot/kernel/sound.ko.symbols* -r-xr-xr-x 1 root wheel 2168536 Jul 10 2014 /boot/kernel/nfsd.ko.symbols* -r-xr-xr-x 1 root wheel 2221848 Jul 10 2014 /boot/kernel/if_igb.ko.symbols* -r-xr-xr-x 2 root wheel 2260488 Dec 4 2014 /boot/kernel/zfs.ko* -r-xr-xr-x 2 root wheel 2260488 Dec 4 2014 /boot/kernel.old/zfs.ko* -r-xr-xr-x 1 root wheel 2260488 Jul 10 2014 /boot/GENERIC/zfs.ko* -r-xr-xr-x 1 root wheel 2260488 Jul 10 2014 /boot/GENERIC.old/zfs.ko* -r-xr-xr-x 1 root wheel 2471568 Jul 10 2014 /boot/kernel/if_em.ko.symbols* -r-xr-xr-x 1 root wheel 2572360 Jul 10 2014 /boot/kernel/linux.ko.symbols* -r-xr-xr-x 1 root wheel 2911792 Jul 10 2014 /boot/kernel/nfscl.ko.symbols* -r-xr-xr-x 1 root wheel 3064512 Jul 10 2014 /boot/kernel/if_bxe.ko.symbols* -r-xr-xr-x 1 root wheel 3094288 Jul 10 2014 /boot/kernel/ufs.ko.symbols* -rw------- 1 root wheel 3142878 Sep 8 10:24 /root/mbox -r-xr-xr-x 1 root wheel 3232680 Jul 10 2014 /boot/kernel/cam.ko.symbols* -r-xr-xr-x 1 root wheel 3573984 Jul 10 2014 /boot/kernel/wlan.ko.symbols* -rw-r----- 1 _tor _tor 3890572 Sep 8 12:13 /var/log/tor -r--r--r-- 1 nobody wheel 3999316 Sep 5 04:21 /var/db/locate.database -r-xr-xr-x 1 root wheel 4053512 Jul 10 2014 /boot/kernel/drm2.ko.symbols* -r-xr-xr-x 1 root wheel 4659184 Jul 10 2014 /boot/kernel/isci.ko.symbols* -r-xr-xr-x 1 root wheel 5282024 Jul 10 2014 /boot/kernel/i915kms.ko.symbols* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/zpool* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/zfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/zcat* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/xzcat* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/xz* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/whoami* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/vi* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/unxz* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/unlzma* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/unlink* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/umount* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/tunefs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/test* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/tee* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/tcsh* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/tar* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/tail* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/sysctl* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/sync* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/swapon* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/stty* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/spppcontrol* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/sh* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/setfacl* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/sed* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/savecore* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rtsol* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rtquery* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rrestore* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/routed* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/route* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rmdir* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rm* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/restore* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rescue* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/red* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/reboot* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/realpath* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rdump* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rcp* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/rcorder* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/pwd* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ps* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/pkill* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ping6* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ping* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/pgrep* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/nos-tun* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/newfs_msdos* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/newfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/nc* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mv* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mt* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mount_unionfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mount_udf* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mount_nullfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mount_ntfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mount_nfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mount_msdosfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mount_cd9660* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mount* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/more* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mknod* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mkdir* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mdmfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/mdconfig* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/md5* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/lzma* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/lzcat* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ls* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ln* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/link* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/less* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ldconfig* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/kldunload* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/kldstat* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/kldload* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/kldconfig* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/kill* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/kenv* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ipf* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/init* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ifconfig* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/id* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/hostname* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/head* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/halt* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/gzip* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/gzcat* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/gunzip* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/groups* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/gpart* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/glabel* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/getfacl* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/geom* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/gbde* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fsirand* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fsdb* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fsck_ufs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fsck_msdosfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fsck_ffs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fsck_4.2bsd* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fsck* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fdisk* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fasthalt* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/fastboot* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/expr* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ex* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ed* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/echo* 22 10:11 /rescue/dumpon* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/dumpfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/dump* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/dmesg* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/disklabel* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/dhclient* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/df* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/devfs* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/dd* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/date* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/csh* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/cp* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/clri* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/chroot* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/chown* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/chmod* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/chio* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/chgrp* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/chflags* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/ccdconfig* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/cat* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/camcontrol* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/bzip2* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/bzcat* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/bunzip2* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/bsdlabel* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/badsect* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/atmconfig* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/atacontrol* -r-xr-xr-x 140 root wheel 5348416 Aug 22 10:11 /rescue/[* -rw-r--r-- 1 root wheel 6276107 Sep 19 2014 /root/Downloads/VBox.4.3.12.UserManual.pdf -rw-r--r-- 1 root wheel 6287007 Sep 19 2014 /root/Downloads/VBox.4.3.16.UserManual.pdf -r-xr-xr-x 1 root wheel 6599816 Jul 10 2014 /boot/kernel/vxge.ko.symbols* -r-xr-xr-x 1 root wheel 7021736 Jul 10 2014 /boot/kernel/if_ath.ko.symbols* -r-xr-xr-x 1 root wheel 9996832 Jul 10 2014 /boot/kernel/xfs.ko.symbols* -rw-r--r-- 1 root wheel 10822248 Sep 1 03:10 /var/backups/pkg.sql.xz.7 -rw-r--r-- 1 root wheel 10822248 Sep 2 03:49 /var/backups/pkg.sql.xz.6 -rw-r--r-- 1 root wheel 10822248 Sep 3 03:11 /var/backups/pkg.sql.xz.5 -rw-r--r-- 1 root wheel 10822248 Sep 4 03:18 /var/backups/pkg.sql.xz.4 -rw-r--r-- 1 root wheel 10822248 Sep 5 04:03 /var/backups/pkg.sql.xz.3 -rw-r--r-- 1 root wheel 10822248 Sep 6 03:11 /var/backups/pkg.sql.xz.2 -rw-r--r-- 1 root wheel 10822248 Sep 7 03:10 /var/backups/pkg.sql.xz.1 -rw-r--r-- 1 root wheel 10822248 Sep 8 03:23 /var/backups/pkg.sql.xz -r-xr-xr-x 1 root wheel 13732376 Jul 10 2014 /boot/kernel/radeonkms.ko.symbols* -r-xr-xr-x 1 root wheel 14304432 Aug 15 22:08 /boot/modules/nvidia.ko* -r-xr-xr-x 1 root wheel 18922976 Dec 4 2014 /boot/kernel/zfs.ko.symbols* -r-xr-xr-x 1 root wheel 20845849 Jul 10 2014 /boot/GENERIC/kernel* -r-xr-xr-x 1 root wheel 20845849 Jul 10 2014 /boot/GENERIC.old/kernel* -r-xr-xr-x 1 root wheel 20845898 Aug 4 08:16 /boot/kernel.old/kernel* -r-xr-xr-x 1 root wheel 20845933 Aug 30 17:57 /boot/kernel/kernel* -r-------- 1 root wheel 33554432 Aug 2 2014 /.sujournal -r-xr-xr-x 1 root wheel 68632056 Aug 30 17:57 /boot/kernel/kernel.symbols* I'm pretty sure the last few can't be deleted, but what about the stuff in '/var/backups' & '/rescue' ? I am trying to figure out a reasonable minimum I can size the root directory & still have safe, reliable operations. Any clues appreciated. TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.