Solved

Link two filesystems to one directory

Posted on 1998-01-23
2
226 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

717 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