Is there any documentation that tells how /proc behaves when given a namespace? Also can a system have /proc mounted on 2 different places? How is that even allowed?
Try yourself:
After your tests do not forget to umount the 2nd mount point
Quote:
Originally Posted by sreyan32
ICould you please explain what you mean by "forwarding" of a an existing mount point? Also what is the difference between a normal mount and a bind mount? No one has clear answer for that.
Hard to explain. An example is a disk mount (filesystem like ext3,ext4,reiserfs,xfs,...), that is only allowed once, because writes to the two mount points would cause a corruption in the filesystem on the disk. But: a bind mount of the primary disk mount to another mount point is allowed; all writes occur at the primary mount point.
Quote:
Originally Posted by sreyan32
IWhat do you mean by "mapping out" ? Does that mean that whenever I query /proc the kernel actually "puts" information there for the program that is querying the info?
Yes, at least the contents of the files is created by a little kernel routine when accessed. Some files are even reverse-handled: by writing a value into it, the kernel routine patches the corresponding location in kernel memory.
i am not quite sure what the purpose of mounting a filesystem that is already mounted.. i know you may want to mount /usr read only but do not know the true purpose behind this.. and why would /proc be mounted on /proc itself.. this is all new to me.. I have been reading up on it from various... (5 Replies)
Hi guys
I'm a newbie with linux
i recently installed mandrake linux 10.0 double boot(win 98se)
on a pIII 300mhz 128mb ram PC
I have a standard cd rom and for some reason, linux refuses to mount the CD drive
it worked perfectly for the first cople of monthes and than suddenly it didn't
it... (0 Replies)
firstly... sorry xDDD.
now, how could i mount a linux partition on my mac os x ( i assume ill use terminal). i begins...
i have my ubuntu linux partition on disk0s4. i tried: sudo mount /dev/disk0s4 /Volumes/Ubuntu and the system told me ;), "mount: exec /usr/sbin/mount_ext for... (1 Reply)
Hi Guys,
I'm having a bit of trouble and im not sure what is the deal, I'm trying to mount an ISO on my RHEL box and it is not letting me...
mount -o loop -t iso9660 /home/bgalante/rhel-5-server-i386-disc3.iso /mnt
mount: Not a directory
any idea what i am doing wrong? (2 Replies)
Hi all,
I am new to redhat/fedora linux.
In fedora linux 6,we created one file system(hda3 - /fs).
in this mount poing we were installed mounta vista os.
while booting we are getting below error messages.
1)
Booting 'mountaVisat(2.6.18_pro 500_pc_target-x86_586 smp)'
root(hd0,1)... (2 Replies)
Hi,
I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Hello,
I am having a nightmare with Tripwire on Linux..... I cannot get it to ignore the /proc filesystem, which I want to completely ignore for now
Has anyone here successfully configured Tripwire on Linux and completed ignored the /proc filesystem ?
If so, please reply and tell me how... (0 Replies)
I am trying to compile a proc++ program on linux using an 11.2 client
and pointing to a 10.2 database running on Solaris. The compiler is able
to connect to the database but the semantic checks fail as if it cannot see
any objects in the database. I tried a test, only selecting 'X' into a... (0 Replies)
Hello All,
Please, i have a problem i try to find a solution since days
i'm a beginner with linux (networking)
In our cluster (10 nodes), we deploy the same image file on each node. So each node has a different ip address. In each image, there are several LXC containers.
When I deploy the... (0 Replies)
Hi, I come from a legacy Solaris background with lots of experience with Solaris Containers/zones that we use for network and process isolation from each other.
Currently we have a RHEL7 Linux VM running on VMWare, but we would like to segment that VM with some form of containers and achieve... (1 Reply)
Discussion started by: ckmehta
1 Replies
LEARN ABOUT DEBIAN
vzsplit
vzsplit(8) Containers vzsplit(8)NAME
vzsplit - generate a sample container configuration file
SYNOPSIS
vzsplit [-n numve] [-f conf_name] [-s swapsize] [-v yes|no]
DESCRIPTION
The vzsplit utility is used to split the Hardware Node into equal parts. It generates a full set of system resource control parameters for
the given number of containers. The values are calculated from the total physical memory of the Hardware Node the utility runs on, and the
number of containers the Hardware Node shall be able to run even if the given number of containers consume all the resources available.
Without any option given, vzsplit prompts for the desired number of containers and outputs the resulting resource control parameters to
stdout.
If there are not enough system resources to run the specified number of containers, an appropriate message is shown and the sample configu-
ration file is not generated.
OPTIONS -n numve
Specify the number of containers.
-f conf_name
Specify the configuration sample name to write configuration to, instead of standard output. The file created will be named
/etc/vz/conf/ve-conf_name.conf-sample.
-s swapsize
Specify the swap size in Kbytes. If this option is not given, the swap size is read from /proc/meminfo.
-v yes|no
Whether to generate VSwap enabled configuration. Default is auto-detect by checking if running kernel is VSwap capable; this option
overrides auto-detection.
EXIT STATUS
vzsplit returns 0 upon a successful execution. If anything goes wrong, it returns 1.
SEE ALSO ctid.conf(5).
LICENSE
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.
OpenVZ 6 Jun 2011 vzsplit(8)