Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: what is /proc for? should I back it up
  1995-12-28  5:00 what is /proc for? should I back it up Wong Pui Ming
@ 1995-12-28  5:00 ` Thomas Graichen
  1995-12-29  5:00   ` PAUL D. CHAPIN
  1995-12-29  5:00 ` John R. Frandsen
  1996-01-02  5:00 ` Martin Ibert
  2 siblings, 1 reply; 7+ messages in thread
From: Thomas Graichen @ 1995-12-28  5:00 UTC (permalink / raw)


Wong Pui Ming (s11976@net2.hkbu.edu.hk) wrote:
: On OSF/1 (we are at 3.0) , there is a filesystem called /proc
: being created at installtion of OS.
: When I did the system backup, I usually backuped only the
: /  /usr /var /tmp 
: Now suppose I have a system crash, and will require a full
: restore of all the filesystems, will I run into trouble
: since I have not backuped /proc
: In other words, can someone tell me the exact procedure to
: restore my system as it was in case it crashed. 

now - it would be useless to back up proc - it's just a "mirror" of your
running processes and some apps use it (like autonice or gdb)

t
  _______________________________________________________||___________________
                                                   __||
  Perfection is reached, not when there is no  __||     thomas graichen
  longer anything to add, but when there   __||    freie universitaet berlin
  is no longer anything to take away   __||           fachbereich physik
                                   __||                      
  - Antoine de Saint-Exupery - __||        graichen@mail.physik.fu-berlin.de
  ___________________________||__________________graichen@FreeBSD.org_________



^ permalink raw reply	[flat|nested] 7+ messages in thread

* what is /proc for? should I back it up
@ 1995-12-28  5:00 Wong Pui Ming
  1995-12-28  5:00 ` Thomas Graichen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Wong Pui Ming @ 1995-12-28  5:00 UTC (permalink / raw)


On OSF/1 (we are at 3.0) , there is a filesystem called /proc
being created at installtion of OS.
When I did the system backup, I usually backuped only the
/  /usr /var /tmp 
Now suppose I have a system crash, and will require a full
restore of all the filesystems, will I run into trouble
since I have not backuped /proc
In other words, can someone tell me the exact procedure to
restore my system as it was in case it crashed. 

--
          ___                                                     ___
          L_|_                                                   _|_J
         ( -O>                                                   <O- )
      ___//\J +-------------------------------------------------+ L/\\___
     //-,\    | WONG Pui-ming             Email: pm@hkbu.edu.hk |    /,-\\
    || / \\___L Computer Officer (System Support & Programming) J___// \ ||
  _ ''/\/ '---J Computer Centre, Hong Kong Baptist University   L---' \/\'' _
 / \ //\\.    | 224 Waterloo Road , HONG KONG  Tel:23397425     |    .//\\ / \
|_/\'/  ||    +-------------------------------------------------+    ||  \'/\_|
    '   ||_                                                         _||   '
        |__)                                                       (__|



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: what is /proc for? should I back it up
  1995-12-28  5:00 what is /proc for? should I back it up Wong Pui Ming
  1995-12-28  5:00 ` Thomas Graichen
@ 1995-12-29  5:00 ` John R. Frandsen
  1996-01-02  5:00 ` Martin Ibert
  2 siblings, 0 replies; 7+ messages in thread
From: John R. Frandsen @ 1995-12-29  5:00 UTC (permalink / raw)


Try "man proc"...

-- 
John R. Frandsen            | "...my occupational hazard is that my
frandsen@jrfvax.fzo.dec.com | occupation's just not around" - J. Buffett
Normal disclaimer that all opinions are my own...





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: what is /proc for? should I back it up
  1995-12-28  5:00 ` Thomas Graichen
@ 1995-12-29  5:00   ` PAUL D. CHAPIN
  0 siblings, 0 replies; 7+ messages in thread
From: PAUL D. CHAPIN @ 1995-12-29  5:00 UTC (permalink / raw)


Thomas Graichen (graichen@julia.physik.fu-berlin.de) wrote:
: now - it would be useless to back up proc - it's just a "mirror" of your
: running processes and some apps use it (like autonice or gdb)

DEC actually told me that if I wasn't running any apps that use /proc
I should just get rid of it.  It wasn't clear how I would know other
than removing it and waiting for something to crash.  So far, nothing has.

--

Paul Chapin
Unix Systems Manager
Amherst College




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: what is /proc for? should I back it up
  1995-12-28  5:00 what is /proc for? should I back it up Wong Pui Ming
  1995-12-28  5:00 ` Thomas Graichen
  1995-12-29  5:00 ` John R. Frandsen
@ 1996-01-02  5:00 ` Martin Ibert
  1996-01-02  5:00   ` Nick Maclaren
  1996-01-03  5:00   ` Tony Jones
  2 siblings, 2 replies; 7+ messages in thread
From: Martin Ibert @ 1996-01-02  5:00 UTC (permalink / raw)


Never ever even think of backing up /proc. Honestly, you don't want
that. /proc, as others have already pointed out, is sort of a process
table that looks like a filesystem. It allows one to do a much cleaner
job of writing applications like top, ps, or debuggers.
-- 
---------------------------------------------------------------------------
Dipl.-Inform. Martin Ibert, BB-DATA GmbH, Brunnenstra�e 111, D-13355 Berlin
>> e-mail <mib@bb-data.de>, phone +49-30-245-56582, fax +49-30-245-56577 <<
---------------------------------------------------------------------------
>> Disclaimer: My views do not necessarily reflect those of my employer. <<



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: what is /proc for? should I back it up
  1996-01-02  5:00 ` Martin Ibert
@ 1996-01-02  5:00   ` Nick Maclaren
  1996-01-03  5:00   ` Tony Jones
  1 sibling, 0 replies; 7+ messages in thread
From: Nick Maclaren @ 1996-01-02  5:00 UTC (permalink / raw)


In article <kian386n2hh.fsf@laforge.ppe.bb-data.de>, mib@bb-data.de (Martin Ibert) writes:
|> Never ever even think of backing up /proc. Honestly, you don't want
|> that. /proc, as others have already pointed out, is sort of a process
|> table that looks like a filesystem. It allows one to do a much cleaner
|> job of writing applications like top, ps, or debuggers.

It's not backing up /proc that causes the real problem - it's restoring
it!  I agree that you shouldn't back up /proc, but you REALLY mustn't
restore it.


Nick Maclaren,
University of Cambridge Computer Laboratory,
New Museums Site, Pembroke Street, Cambridge CB2 3QG, England.
Email:  nmm1@cam.ac.uk
Tel.:  +44 1223 334761    Fax:  +44 1223 334679



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: what is /proc for? should I back it up
  1996-01-02  5:00 ` Martin Ibert
  1996-01-02  5:00   ` Nick Maclaren
@ 1996-01-03  5:00   ` Tony Jones
  1 sibling, 0 replies; 7+ messages in thread
From: Tony Jones @ 1996-01-03  5:00 UTC (permalink / raw)


Martin Ibert (mib@bb-data.de) wrote:
: Never ever even think of backing up /proc. Honestly, you don't want

There is also a fairly obnoxious bug in 3.2c, where (according to a DEC
source) they mistakenly allocated the same virtual node id for /proc and for 
root-on-advfs.

If /proc is mounted, a 'vdump /' incorrectly descends into /proc, spitting out 
all kinds of 'invalid argument' errors, and causing vdump to return an exit
code of 1 (which causes problems if you have automated backups).

I've also seen similar problems when using tar and find on the root filesystem.

If you are running v3.2c and have root on advfs you'd be well advised
to not use /proc unless you absolutely have to.

tony
--
Tony Jones (tony@sunquest.com)
Lead Systems Specialist
UNIX Technical Resource Group



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1996-01-03  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-28  5:00 what is /proc for? should I back it up Wong Pui Ming
1995-12-28  5:00 ` Thomas Graichen
1995-12-29  5:00   ` PAUL D. CHAPIN
1995-12-29  5:00 ` John R. Frandsen
1996-01-02  5:00 ` Martin Ibert
1996-01-02  5:00   ` Nick Maclaren
1996-01-03  5:00   ` Tony Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox