Sponsored Content
Operating Systems HP-UX Advice on HP-UX system backups Post 302642309 by methyl on Thursday 17th of May 2012 08:26:29 AM
Old 05-17-2012
Quote:
Yes all our servers are HP-ux 11.00. How big is the depot file?
The directory listing posted by @vbe earlier shows that this package is not large.
The Ignite package should be on your release kit, but do apply the fix CDs (at least up to 2001) because I have a recollection that the base release was faulty. This was a long time ago and others may have better recollection.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Backups.

Hello everyone my ? is about backups. I'am running SCO OS 505 and currently backing up the hole HD. Well the back up is taking too long and this is becoming a problem for the users since we are a 24-7 bussines, I whant stop backing up every thing on the HD. What are the most important files and... (1 Reply)
Discussion started by: kikkin
1 Replies

2. AIX

File System Backups

Hi, The problem we are experiencing is that after the filesystem backups have completed. if we restore 1 of the file systems to a different logical volume. The difference in size is drastic. The original filesystem is 10 gb big and the restored copy is 5 gb big. What can be the cause of... (2 Replies)
Discussion started by: Zarier
2 Replies

3. Shell Programming and Scripting

Advice on using awk in ksh with system date

OK I have a simple awk script: $ awk '/03\/11\/10/' foofile|awk -f finderrors.awk I want to use in the ksh script to so that I can do something like this: #!/bin/ksh TODAY=`date +"%D"` awk /$TODAY/ foofile|awk -f finderrors.awk The problem I am having is (I believe) is with the special... (3 Replies)
Discussion started by: bike4life
3 Replies

4. UNIX for Dummies Questions & Answers

Unix/Linux System Administrator - Study Advice

Hello all, I really hope that this is the right Forum to post this kind of a question... I have been working in the IT support industry for nearly 3 years now. I started of providing end-user support. So enough to say that I provided my fair share of "have you tried turning it off and on"... (1 Reply)
Discussion started by: kalignas
1 Replies

5. SCO

Need advice: Copying large CSV report files off SCO system

I have a SCO Unix server from 1999 running SCO 5.0.5 and some ancient accounting software called Real World A report writer program on the system is used to generate CSV files from accounting that we write with DOSCOPY commands to 3.5" floppies In the next 60 days we will be decommissioning... (11 Replies)
Discussion started by: magnetman
11 Replies

6. UNIX for Advanced & Expert Users

System + Network Programming, your advice required???

Dear friends, Before putting my questions forward, I would like to put some data infront of you, hope you will help me at the end. This website Cray-Cyber - Welcome provides free access to many supercomputers and mainframe computers. When you login through ssh, they provide you with a screen,... (0 Replies)
Discussion started by: gabam
0 Replies

7. Programming

System + Network Programming, your advice required???

Dear friends, Before putting my questions forward, I would like to put some data infront of you, hope you will help me at the end. This website Cray-Cyber - Welcome provides free access to many supercomputers and mainframe computers. When you login through ssh, they provide you with a screen,... (5 Replies)
Discussion started by: gabam
5 Replies

8. UNIX for Dummies Questions & Answers

Need Some Advice - Best Distro For My System

Hey guys, this is my first time posting here (although I've been reading the forums for a while now). I'm looking for a good UNIX (or UNIX based/UNIX-like) distro to install on an old Dell Dimension 2400 Destop. I've done ALOT of research on the different distros and I've tried a few out but I... (6 Replies)
Discussion started by: Pyramist
6 Replies

9. UNIX for Dummies Questions & Answers

Becoming a system administrator, need some advice.

I've been learning linux and solaris for the past couple months and have been thinking about seeking a systems admin career. Is it worth it to learn solaris? Do many companies really use it or is it a waste of my time? Would learning just linux be a better idea? I see there's more opportunity as a... (2 Replies)
Discussion started by: austinramsay
2 Replies

10. SCO

SCO UNIXware 7.1.4 system backups

Hi, I wonder if someone can help me, I want to backup my sco unix system, I dont have an external/internal tape drive. How can I make a system backup? I do have a CD-RW on the server. I am new to sco unix. Please can anyone advise on what methods I can use, I have looked a cpio. I tried... (1 Reply)
Discussion started by: kpnuts
1 Replies
CGROUP_NAMESPACES(7)					     Linux Programmer's Manual					      CGROUP_NAMESPACES(7)

NAME
cgroup_namespaces - overview of Linux cgroup namespaces DESCRIPTION
For an overview of namespaces, see namespaces(7). Cgroup namespaces virtualize the view of a process's cgroups (see cgroups(7)) as seen via /proc/[pid]/cgroup and /proc/[pid]/mountinfo. Each cgroup namespace has its own set of cgroup root directories. These root directories are the base points for the relative locations displayed in the corresponding records in the /proc/[pid]/cgroup file. When a process creates a new cgroup namespace using clone(2) or unshare(2) with the CLONE_NEWCGROUP flag, it enters a new cgroup namespace in which its current cgroups directories become the cgroup root directories of the new namespace. (This applies both for the cgroups version 1 hierarchies and the cgroups version 2 unified hierarchy.) When viewing /proc/[pid]/cgroup, the pathname shown in the third field of each record will be relative to the reading process's root direc- tory for the corresponding cgroup hierarchy. If the cgroup directory of the target process lies outside the root directory of the reading process's cgroup namespace, then the pathname will show ../ entries for each ancestor level in the cgroup hierarchy. The following shell session demonstrates the effect of creating a new cgroup namespace. First, (as superuser) we create a child cgroup in the freezer hierarchy, and put the shell into that cgroup: # mkdir -p /sys/fs/cgroup/freezer/sub # echo $$ # Show PID of this shell 30655 # sh -c 'echo 30655 > /sys/fs/cgroup/freezer/sub/cgroup.procs' # cat /proc/self/cgroup | grep freezer 7:freezer:/sub Next, we use unshare(1) to create a process running a new shell in new cgroup and mount namespaces: # unshare -Cm bash We then inspect the /proc/[pid]/cgroup files of, respectively, the new shell process started by the unshare(1) command, a process that is in the original cgroup namespace (init, with PID 1), and a process in a sibling cgroup (sub2): $ cat /proc/self/cgroup | grep freezer 7:freezer:/ $ cat /proc/1/cgroup | grep freezer 7:freezer:/.. $ cat /proc/20124/cgroup | grep freezer 7:freezer:/../sub2 From the output of the first command, we see that the freezer cgroup membership of the new shell (which is in the same cgroup as the ini- tial shell) is shown defined relative to the freezer cgroup root directory that was established when the new cgroup namespace was created. (In absolute terms, the new shell is in the /sub freezer cgroup, and the root directory of the freezer cgroup hierarchy in the new cgroup namespace is also /sub. Thus, the new shell's cgroup membership is displayed as '/'.) However, when we look in /proc/self/mountinfo we see the following anomaly: # cat /proc/self/mountinfo | grep freezer 155 145 0:32 /.. /sys/fs/cgroup/freezer ... The fourth field of this line (/..) should show the directory in the cgroup filesystem which forms the root of this mount. Since by the definition of cgroup namespaces, the process's current freezer cgroup directory became its root freezer cgroup directory, we should see '/' in this field. The problem here is that we are seeing a mount entry for the cgroup filesystem corresponding to our initial shell process's cgroup namespace (whose cgroup filesystem is indeed rooted in the parent directory of sub). We need to remount the freezer cgroup filesys- tem inside this cgroup namespace, after which we see the expected results: # mount --make-rslave / # Don't propagate mount events # to other namespaces # umount /sys/fs/cgroup/freezer # mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer # cat /proc/self/mountinfo | grep freezer 155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ... Use of cgroup namespaces requires a kernel that is configured with the CONFIG_CGROUPS option. CONFORMING TO
Namespaces are a Linux-specific feature. NOTES
Among the purposes served by the virtualization provided by cgroup namespaces are the following: * It prevents information leaks whereby cgroup directory paths outside of a container would otherwise be visible to processes in the con- tainer. Such leakages could, for example, reveal information about the container framework to containerized applications. * It eases tasks such as container migration. The virtualization provided by cgroup namespaces allows containers to be isolated from knowledge of the pathnames of ancestor cgroups. Without such isolation, the full cgroup pathnames (displayed in /proc/self/cgroups) would need to be replicated on the target system when migrating a container; those pathnames would also need to be unique, so that they don't conflict with other pathnames on the target system. * It allows better confinement of containerized processes, because it is possible to mount the container's cgroup filesystems such that the container processes can't gain access to ancestor cgroup directories. Consider, for example, the following scenario: o We have a cgroup directory, /cg/1, that is owned by user ID 9000. o We have a process, X, also owned by user ID 9000, that is namespaced under the cgroup /cg/1/2 (i.e., X was placed in a new cgroup namespace via clone(2) or unshare(2) with the CLONE_NEWCGROUP flag). In the absence of cgroup namespacing, because the cgroup directory /cg/1 is owned (and writable) by UID 9000 and process X is also owned by user ID 9000, then process X would be able to modify the contents of cgroups files (i.e., change cgroup settings) not only in /cg/1/2 but also in the ancestor cgroup directory /cg/1. Namespacing process X under the cgroup directory /cg/1/2, in combination with suitable mount operations for the cgroup filesystem (as shown above), prevents it modifying files in /cg/1, since it cannot even see the contents of that directory (or of further removed cgroup ancestor directories). Combined with correct enforcement of hierarchical limits, this prevents process X from escaping the limits imposed by ancestor cgroups. SEE ALSO
unshare(1), clone(2), setns(2), unshare(2), proc(5), cgroups(7), credentials(7), namespaces(7), user_namespaces(7) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 CGROUP_NAMESPACES(7)
All times are GMT -4. The time now is 01:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy