Linux - GeneralThis 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.
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.
Got a quirky one here.
I was asked today, just a little bit ago, if I could find a way to recover some files that were deleted from the central storage server.
Here is the scenario:
The central server is running Linux, and a samba server. All local nodes can access the storage drives via their winbloz machines. They can all write to and delete from... (ya I know, but it isn't my network, and I didn't set it up)
Ok, so, most likely, someone was on a local wintendo machine, and deleted these files that now need to be "undeleted" so to speak.
Is there a way to recover such a loss? I don't have a whole lot of info on exactly what needs to be recovered, but I do know the name of at least one dir that was trashed.
Any ideas? or utilities that can be implemented?
Well, it depends on the filesystem in use on the server. However, if it's been running since the deletion... your chances get slimmer and slimmer. Every write could be overwriting the files deleted. And the fuller the drive, the greater the chances of this.
Well, actualy it turns out that it isn't running Linux. It's running Unix. The exact flavor... I'm not quite sure.
Most likely a flavour of Solaris, tho 'm pretty sure it isn't the newer versions. (judging by the older solaris software sitting on the shelf)
However, the main problem is, they don't know the passwords to the server. So basically, when they have a problem and need to shutdown, they simply pull the plug. Litterally.
However, I'm sure I can find a way into the system via an ssh.
But, I'm not really remembering any unix utilities that will allow an admin to recover deleted stuff. At least nothing that is default with a Solaris package.
At any rate, I'm not sure that much can be done from this point.
But I'm still open to suggestions.
You need to relax a little buddy. I was not being a jerk to you. I never said it was your fault or anything like that.
You also never stated whether there were backups being made. I assumed not because of the unorganized mess you had to walk in to.
Again, to the best of my knowledge, I think you'reout of luck. I didn't say you not having root password is a 'big no no for security'..I said that not having daily back-ups is a big no no on their part...
I hope you find something that will help you. I would also suggest writing up a plan of administration for the system.. when it is backed up.. when it is updated.. etc. Present it to the main office and see what they can do so this kind of situation doesn't happen again.
Ya man, relaxing isn't part of this job... unfortunatly.
At any rate, I didn't mean to sound harsh.
I've already tried to get these people to "do the right thing" and all they end up doing is locking out the machines that don't have the problems. It's a real merry-go-round at times. It's a real 2-steps forward 3-steps backwards type scenario. Constantly. But, that's how office pukes usually run the show anyway... I mean they know best right?
Anywho, I've pretty much told them that they are skrewd because they didn't listen to the planning in the first place last year on the other vessels, so they only have themselves to blame.