From owner-freebsd-questions@FreeBSD.ORG Tue Aug 15 19:51:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9CB516A504 for ; Tue, 15 Aug 2006 19:51:55 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBE5643D45 for ; Tue, 15 Aug 2006 19:51:47 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (patr530b-0057.otenet.gr [62.103.226.57]) (authenticated bits=128) by igloo.linux.gr (8.13.7/8.13.7/Debian-2) with ESMTP id k7FJpGcP031983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 15 Aug 2006 22:51:20 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.7/8.13.7) with ESMTP id k7FJov90006267; Tue, 15 Aug 2006 22:50:58 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.7/8.13.7/Submit) id k7FJouoa006266; Tue, 15 Aug 2006 22:50:56 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 15 Aug 2006 22:50:55 +0300 From: Giorgos Keramidas To: Odhiambo Washington , freebsd-questions@freebsd.org Message-ID: <20060815195055.GA6246@gothmog.pc> References: <20060815154143.GN69670@ns2.wananchi.com> <20060815160822.GA3229@gothmog.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060815160822.GA3229@gothmog.pc> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.826, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.57, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Subject: Re: Stupid question about mountpoints and fstab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 19:51:55 -0000 On 2006-08-15 19:08, Giorgos Keramidas wrote: > On 2006-08-15 18:41, Odhiambo Washington wrote: > > Hello people, > > > > I have never figured out something like this can be done, but today I > > see it. We have purchased s co-lo server. They have installed it and > > given me access to "do whatever you want with the box", but their > > fstab has left me thirsty, wanting to know what's going on ... > > > > sp2817a# less /etc/fstab > > # Device Mountpoint FStype Options Dump Pass# > > /dev/ad0s1b none swap sw 0 0 > > /dev/ad0s1a / ufs rw 1 1 > > /dev/ad0s1g /home ufs rw 2 2 > > /dev/ad0s1e /tmp ufs rw 2 2 > > /dev/ad0s1f /usr ufs rw 2 2 > > /dev/ad0s1d /var ufs rw 2 2 > > /dev/ad0s2 /home ufs rw 2 2 > > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > > > sp2817a# df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad0s1a 2.9G 54M 2.6G 2% / > > devfs 1.0K 1.0K 0B 100% /dev > > /dev/ad0s1g 15G 22K 13G 0% /home > > /dev/ad0s1e 248M 8.0K 228M 0% /tmp > > /dev/ad0s1f 9.7G 1.9G 7.0G 22% /usr > > /dev/ad0s1d 6.8G 46M 6.2G 1% /var > > /dev/ad0s2 72G 22K 66G 0% /home > > > > > > Now, if someone can explain to me what the hell is being done with > > /home in this server... ;) > > What does dumpfs print? > > # dumpfs /home | head -19 Doh! Ignore that. I didn't realize two filesystems were mounted on top of each other. This shouldn't be a problem, but unless you unmount the /dev/ad0s2 device, the 13 GB of /dev/ad0s1g will remain forever "hidden". Not much harm done, but it's a pity to waste all that space :)