LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2005, 04:31 PM   #1
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Rep: Reputation: 15
proc/kcore crashing my linux system


I was having a serious problem with my mandriva 10.2 system. I was performing a tar -cvjpPf /dev/st0 / command to back up my entire system. It would get to the proc/kcore and the system would hang and not reboot. I removed my cron job to do the backup and the system is back to stable once again. Problem is I don't have a full backup of my system. I am running kernel version 2.6.11-6mdksmp . Can anybody out there tell me how I can get a full backup of my system? ANy thoughts and suggestions ? Thanks....
 
Old 08-22-2005, 05:08 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Yeah, don't back up /proc, and, if you have it, /sys. Also, if you use udev or devfs, don't back up /dev either.

/proc is a pseudo-filesystem which contains no real data. /sys likewise. /proc/kcore is a copy of all your system memory (kernel core).

Try:
Code:
tar -cvjpPf /dev/st0 / --exclude /sys --exclude /proc --exclude /dev
 
Old 08-23-2005, 09:58 AM   #3
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Original Poster
Rep: Reputation: 15
Thanks.. I was going to use the --exclude option but I wanted to ask the question why the system crashes when it gets to that directory. if I omit these directories, how will I be able to do a full system restore without the --excluded directories? just recently upgraded from 9.1 to 10.2 Mandriva and I never had this problem with 9.1. I had to depend on the full system backups in the past and I am worried that I need to again in due time. ANy other thoughts on disaster recovery?
 
Old 08-23-2005, 12:45 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
There are no real files in /proc or /sys. These are virtual files to provide access to things. They are created by the kernel as needed. The same goes for /dev on systems with udev or devfs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/kcore =| nostracosa Linux - General 3 08-19-2005 11:43 PM
/proc/kcore mithu_sree Linux - General 2 05-14-2005 03:40 AM
What predestination of /proc/kcore ? ukrainet Linux - Newbie 1 12-23-2004 09:49 PM
/proc/kcore -- what is it? JustinHoMi Linux - General 3 02-15-2002 01:34 AM
/proc/kcore Dallam Linux - General 1 05-12-2001 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration