Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-15-2004, 05:23 PM   #1
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Moving /var/adm and /var/lib - why does it hurt?

My var partition had proven to be too small on my SuSE 9.1 system, and so I copied /var/adm and /var/lib to an other partition and symlinked them to their original place. (All these done without exiting X11)

My rpm database got corrupted immediately: all entries disappeared. I copied those directories back, and could recover the rpmdb from a backup, but I still have a problem: special keys like ALTGR do not work ever since.

I wonder why my system got hurt by moving those directories, and how I can make ALTGR work again?

Can anyone help me with a hint?
Old 09-15-2004, 06:46 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Well did you shutdown any services that might have been using or had open files; writing to those directories at that time? If you didn't shutdown services properly and so on, that's most likely why.

Best thing to do when wanting to do such things on any partition/filesystem, go into single user mode and do it then, with minimal running services, etc.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
corrupt /var/lib/available/ lopette Linux - Software 1 09-08-2004 01:05 AM
cleaning up /var/adm/wtmp Risc91 AIX 5 08-23-2004 09:52 AM
/var/adm/utmpx hacked?!? Mike_the_Man Solaris / OpenSolaris 1 06-11-2004 07:25 AM
Whats the equivalent on Linux for /var/adm/syslog? eDubster Linux - General 5 05-15-2003 08:02 PM
/var/adm/messages & syslog Khalid Linux - General 0 11-08-2001 05:40 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:19 AM.

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