Removed .lock files in /etc, now user folders missing
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The way the server is set up, all the home folders are located at /home/personal/username.
When I do a ls -la in /home, the entire /home/personal folder is gone, thus bringing with it all of the individual user folders.
Now, the weird part is that the disk space is still being used. I did a df -h right before everything disappeared and then right after. It was exactly the same.
These folders are also Samba shares that Windows/Mac/Linux users can access. Maybe that has something to do with it?
I was thoroughly caught off guard when this happened because obviously this behaviour should not happen when deleting .lock files.
The only other thing I was doing at the time was untarring an archive file. This was going into /home/personal/user/archivefile. I don't see how that would make a difference either, but you never know.
I found my mysteriously disappearing home folders. For some unknown reason, when I removed the lock files the home folders were moved into the home folder of the new user I was trying to create. I just moved them back to their proper spot and voila, everything was as it should have been.
It was very strange, but thank you all for the very quick responses.