Operating System - HP-UX
1751975 Members
4530 Online
108784 Solutions
New Discussion юеВ

Mounting filesystem on filesystem

 
Henry Chua
Super Advisor

Mounting filesystem on filesystem

Hi Guys,

Just curious, I just try mount a new filesystem to an existing one.. both is HFS in this instance - but is there any rule governing such a method and does it has any repercussion?

Regards
Henry
4 REPLIES 4
Mauro Gatti
Valued Contributor

Re: Mounting filesystem on filesystem

As far as I know You can mount a filesystem on a directory of another filesystem.
You have to pay attention when you mount/umount automatically filesystems having care to mount/umount filesystem in correct order.
You can even mount a filesystem on a directory not empty. When you will umount it you will find all original files.

RGDS

Mauro
Ubi maior, minor cessat!
Mauro Gatti
Valued Contributor

Re: Mounting filesystem on filesystem

I forgot...
If you include your filesystems in /etc/fstab use different pass number for you filesystems.

RGDS

Mauro
Ubi maior, minor cessat!
Kent Ostby
Honored Contributor

Re: Mounting filesystem on filesystem

There is no problem if both are local file systems, I'm not sure you could mount a local hfs filesystem onto an NFS mounted filesystem although maybe you could.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
DCE
Honored Contributor

Re: Mounting filesystem on filesystem

You can mount a file system on to a directory of another mounted file system. Just make sure the higher level directory is mounted first.