Solved

Link two filesystems to one directory

Posted on 1998-01-23
2
225 Views
Last Modified: 2010-04-21
Is it possible to link two filesystems to one directory. For example, if
one file system is 1 GB and another file system is 2.5 GB, is it
possible to pont both file systems to one directory, which would have a
capacity of 2.5 GB.

ronandersen@hotmail.com
0
Comment
Question by:ronandersen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
cemaylor earned 100 total points
ID: 2008626
This answer may vary depending on the Unix you are using, however in general it is not possible to link filesystems to each other in such a way that the space is cumulative.

You could link two filesystems to two separate directories in a tree structure, similar to this example:

filesystem1 = /dev/fsmount1, mounted as /u2
filesystem2 = /dev/fsmount2, mounted as /u3

You could then do this:

ln /u2 /usr/foo/name1
ln /u3 /usr/foo/name2

This puts the filesystems in the same area, however it does NOT give you cumulative space.

Some Unix's, like DG/UX, will allow you to add additional drives and have the space added to existing file systems.

0
 

Author Comment

by:ronandersen
ID: 2008627
Thank you Cemaylor!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question