Date: Tue, 15 Aug 2006 22:50:55 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Odhiambo Washington <wash@wananchi.com>, freebsd-questions@freebsd.org Subject: Re: Stupid question about mountpoints and fstab Message-ID: <20060815195055.GA6246@gothmog.pc> In-Reply-To: <20060815160822.GA3229@gothmog.pc> References: <20060815154143.GN69670@ns2.wananchi.com> <20060815160822.GA3229@gothmog.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-08-15 19:08, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote: > On 2006-08-15 18:41, Odhiambo Washington <wash@wananchi.com> 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 :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060815195055.GA6246>