I did moved data to new point and then implemented bind mount to make use of the space ...
---------- Post updated at 04:58 PM ---------- Previous update was at 04:57 PM ----------
Quote:
Originally Posted by drysdalk
Hi,
Great, glad you got that sorted. One last thing that may disappoint, however. If you're doing this because you're hoping to basically add the free space of the /prod/OpenCSS filesystem to the existing /var/lib/pgsql filesystem...well, then you're out of luck.
That's not how bind mounts work, or what they're for. They're purely for providing an alternative path to access the same content in multiple places, and nothing else. The free space you'll see will be that of the original filesystem, since all the calls are being routed through to the original filesystem - the new one (in your scenario) isn't actually going to be used at all.
For example, watch what happens if I do a bind mount of my /boot filesystem to a new directory, /mnt/misc:
So as you can see, the disc space and all other properties of the bind mount destination are the same as the source, since in reality all you're doing is providing an additional path for accessing the source, and nothing more.
hi people,
I'm trying to create a mount point, but am having no sucess at all, with the following:
mount -F ufs /dev/dsk/diskname /newdirectory
but i keep getting - mount-point /newdirectory doesn't exist.
What am i doing wrong/missing?
Thanks
Rc (1 Reply)
is there any command to know the list of mount points in a server.i need only the mount point lists.i tried using df but it was not helpful.i am using Solaris (1 Reply)
Hello, I have an AIX Oracle database server that I need to create a new filesystem/mount where I can create a new ORacle home to install 11g on. What are the needed steps to create this? There are mounts for Oracle 9i and 10g already. Thank you.
- David (7 Replies)
Dear Gurus,
Could it be possible to have the output of df -k sorted? The df -k output messed up after recent power trip.
Also, is there any folders that I should look into to reduce the root size (other than /var/adm and /var/crash) after server crash?
Many thanks in advance.
... (2 Replies)
Hi All,
we have an issue in bind mounting LINUX.
we are able to see the bound mounts in mount command and
df -h <file system name> but they are not visible in normal df -h command.
all these mounts are local mounts.
we have a /xyz is mount and abc is a directory in /xyz ( /xyz/abc )
... (1 Reply)
I have a sftp server running on Centos 5.10. It servers as upload/download interface for three users who basically are chrooted to three different locations.
User A -- > /home/REGIONA/
User B -- > /home/REGIONB/
User C -- > /home/REGIONC/
The users run certain application procedures on... (4 Replies)
How to create a new mount point with 600GB and add 350 GBexisting mount point
Best if there step that i can follow or execute before i mount or add diskspace IN AIX
Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies
LEARN ABOUT PLAN9
bind
BIND(1) General Commands Manual BIND(1)NAME
bind, mount, unmount - change name space
SYNOPSIS
bind [ option ... ] new old
mount [ option ... ] servename old [ spec ]
unmount [ new ] old
DESCRIPTION
Bind and mount modify the file name space of the current process and other processes in the same name space group (see fork(2)). For both
calls, old is the name of an existing file or directory in the current name space where the modification is to be made.
For bind, new is the name of another (or possibly the same) existing file or directory in the current name space. After a successful bind,
the file name old is an alias for the object originally named by new; if the modification doesn't hide it, new will also still refer to its
original file. The evaluation of new (see intro(2)) happens at the time of the bind, not when the binding is later used.
The servename argument to mount is the name of a file that, when opened, yields an existing connection to a file server. Almost always,
servename will be a file in /srv (see srv(3)). In the discussion below, new refers to the file named by the new argument to bind or the
root directory of the service available in servename after a mount. Either both old and new files must be directories, or both must not be
directories.
Options control aspects of the modification to the name space:
(none) Replace the old file by the new one. Henceforth, an evaluation of old will be translated to the new file. If they are directo-
ries (for mount, this condition is true by definition), old becomes a union directory consisting of one directory (the new file).
-b Both files must be directories. Add the new directory to the beginning of the union directory represented by the old file.
-a Both files must be directories. Add the new directory to the end of the union directory represented by the old file.
-c This can be used in addition to any of the above to permit creation in a union directory. When a new file is created in a union
directory, it is placed in the first element of the union that permits creation.
The spec argument to mount is passed in the attach(5) message to the server, and selects among different file trees served by the server.
The srv(3) service registry device, normally bound to /srv, is a convenient rendezvous point for services that can be mounted. After boot-
strap, the file /srv/boot contains the communications port to the file system from which the system was loaded.
The effects of bind and mount can be undone with the unmount command. If two arguments are given to unmount, the effect is to undo a bind
or mount with the same arguments. If only one argument is given, everything bound to or mounted upon old is unmounted.
EXAMPLES
To compile a program with the C library from July 16, 1992:
mount /srv/boot /n/dump dump
bind /n/dump/1992/0716/mips/lib/libc.a /mips/lib/libc.a
mk
SOURCE
/sys/src/cmd/bind.c
/sys/src/cmd/mount.c
/sys/src/cmd/unmount.c
SEE ALSO bind(2), open(2), srv(3), srv(4)BIND(1)