?
Solved

Link two filesystems to one directory

Posted on 1998-01-23
2
Medium Priority
?
227 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 300 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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 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…
Suggested Courses

764 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