LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Moving /var/adm and /var/lib - why does it hurt? (https://www.linuxquestions.org/questions/linux-general-1/moving-var-adm-and-var-lib-why-does-it-hurt-231061/)

J_Szucs 09-15-2004 05:23 PM

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?

trickykid 09-15-2004 06:46 PM

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.


All times are GMT -5. The time now is 10:58 PM.