why we need to mount file system other than / file system


 
Thread Tools Search this Thread
Operating Systems Solaris why we need to mount file system other than / file system
# 1  
Old 05-03-2009
Question why we need to mount file system other than / file system

Hi,

I am new to solaris OS.I have a small question,it might be silly question or good question.

My Question is

Solaris is following hierarchy type of file structure,means all files are under the root file system.so Once we mount the root file system all sub folders of / ( /usr, /var , /etc) are automatically mounted . Than what is the purpose of mounting /usr,/var,/etc .... file systems separtly. please let me know whether point of view is correct or not?

Thanks
Maro
# 2  
Old 05-03-2009
there are several reasons to put files in different mount points. for example:
/var is the directory where "logfiles" will go to. if / and /var are on the same filesystem and logfiles are growing, the / filesystem can run out of space. on most unix/linux system this will/can crash the mashine...
# 3  
Old 05-03-2009
Hi DukeNuke2,

I think you misunderstood my question. My question is if we mount a / file system , all the the other file systems like /etc , /var , /usr will automatically mounted or not because these are all (/usr,/var,/tmp) sub folders of the root file system.

Am i Correct ? I knew that / , /usr , /var file system are in different cylinders of the disk. But how they comes under the / file system. Whether / is the folder or a file system?

Thanks
Maro
# 4  
Old 05-03-2009
they are mounted cause they are (or better they should be) in "/etc/fstab" or "/etc/vfstab" depending on your os.
# 5  
Old 05-03-2009
Hi DukeNuke2,

I knew that its booting based on /etc/fstab file. But i am asking why we mount the file system separtly?

Thanks
Maro
# 6  
Old 05-03-2009
how can we know why you choose the layout you have?

btw. it is /etc/vfstab in solaris!
# 7  
Old 05-05-2009
hi vr_mari

/, /etc, /var, .. it's not file systems that is directory or folder

if all of this folder are in same disc or disc partition (ex. /dev/dsk/c1t0d0s1) it will be exist when you mount /dev/dsk/c1t0d0s1 to root direktory ("/")
but if this folder are in diferent disc or disc partition than you need to mount it one by one, if you just mount 1 disc or disc partition than the other folder will not exist or become an empty folder.

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Unable to mount a clone file system (NetApp)

Hi I have the following difficulty: the NetApp admin has clone one file system from one red hatserver and presented this cloned LUN into another redhat server. I can see the LUN as: fdisk -l Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cylinders Units =... (1 Reply)
Discussion started by: fretagi
1 Replies

2. AIX

Cannot mount file system

Hi , We i try to mount aix filesystem i am getting the following error mount: 0506-324 Cannot mount /dev/fslv11 on /testdir: A system call received a parameter that is not valid. Please help me out (2 Replies)
Discussion started by: chidori
2 Replies

3. HP-UX

[Solved] Mount HP-UX File System in Windows 7

Hello, We just got a rx4640 that is running on: HP-UX B.11.31 U ia64 2426088954 unlimited-user license There is a plenty of space in it and we would like to use it for storage. I can access with ftp and place the files in there but i need to mount the file system in every PC that is running... (7 Replies)
Discussion started by: gjk
7 Replies

4. Solaris

Specifying file system mount order

Does anyone know if it's possible to specify the mount order of local and remote file systems? I'd like to mount a local ZFS file system on top of an NFS mount automatically and have that repeated on every reboot. I've checked man pages and Google, but can't find anything that addresses,... (6 Replies)
Discussion started by: Monty51
6 Replies

5. HP-UX

how to mount a file system from a solaris server into an hp-ux system

Hi all I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge. The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data. Any help will be appreciated FR (2 Replies)
Discussion started by: fretagi
2 Replies

6. UNIX and Linux Applications

The usage of mount file system of different servers

There is a file system in server1 which is mounted on different file system on server2. Filesystem kbytes used avail capacity Mounted on server1:/users/user1 7047581 5994192 982914 86% /u01 /data/datafiles/user1 The data in... (1 Reply)
Discussion started by: vamshikrishnab
1 Replies

7. Solaris

Mount a remote file system

Hello, I'm having troubles with sharing a filesystem across 2 machines... Machine A, running Solaris 10, is sharian via NFS the filesystem /sp. Machine B, running Solaris 10, is mounting /sp shared by A in /tm/sp and shares via NFS the /tm folder. Machine C, running HP-UX, is mounting... (4 Replies)
Discussion started by: mirciulicai
4 Replies

8. Solaris

File system and disc mount

Hello All Well i m using sun fire and I want to view file system on each disc mount then what will be the commands?...like i want to get each disc like c0t0d0s0 and others and i want to see directories and files distributed on each discs.... with heartiest greetings nilanjan (7 Replies)
Discussion started by: ailnilanjan
7 Replies

9. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
Login or Register to Ask a Question