RFC 2005 - mounting two slices from 2 different disks to same mount point ;)

Odhiambo Washington wash at wananchi.com
Thu Mar 24 07:19:41 PST 2005


Hello Gang!

On FreeBSD 5.3-RELEASE, we have mounted slices as follows:

-bash-2.05b$ mount
/dev/ad0s3a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s3e on /tmp (ufs, local, soft-updates)
/dev/ad0s3f on /usr (ufs, local, soft-updates)
/dev/ad0s3d on /var (ufs, local, soft-updates)
devfs on /var/named/dev (devfs, local)
/dev/ad0s5 on /drive_d (msdosfs, local)
/dev/ad3s1d on /tmp (ufs, local, soft-updates)


/dev/ad0s3e was 500MB
/dev/ad3s1d was 40GB

In /etc/fstab, we specified the mount point for both to /tmp.

We then wrote a 1GB file to /tmp and there was no error. The
file was successfully written.

Can an expert with disks tell me where the file was written?
How did the system decide where to write the file? How did it
"select" /tmp in this case?

Linux guys have talked about "disk spanning" using the method
we just tested. I am wondering the dangers I face doing such
a thing!!

Happy Easter to ye all!!


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
"Gee, Toto, I don't think we are in Kansas anymore."


More information about the freebsd-questions mailing list