Stupid question about mountpoints and fstab

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Aug 15 19:51:55 UTC 2006


On 2006-08-15 19:08, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> On 2006-08-15 18:41, Odhiambo Washington <wash at 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 :)



More information about the freebsd-questions mailing list