Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have server and suddenly one of the drives died, SMART is reporting tons of errors. I would like to mount the 2nd disk, which is still working and make backup of it, before I do anything else on it, but I can't seem to mount it at all. I have to admit, I'm very new to Linux.
Disk /dev/md0 doesn't contain a valid partition table
root@rescue:~
This would point to a not fully mountable system, but and you did say mounting it didnt work.
Did you mount it as follows:
Code:
$ mount /dev/md0 /somemountpoint
If so, could you clarify what mount reports here?
And could you try doing the same from a live-CD/USB setup, you might not be able to mount if using the RAID system.
Well, you just mounted your boot partition. Lets start looking for your actual data partition.
if you do:
Code:
$ ls /dev
It should give you a list of all devices detected by your OS. Then it should become a matter of trying to mount every md till you find the right one (there should be an easier way for this, but for the moment it escapes me fully :S)
As I recall you should never run fsck outside of the raid. But only on filesystems (like on /) when running raids.
Could you boot a liveCD/USB and then try the mounting of just your alive drive, and still whatever you do do not fsck it there. Might corrupt all your data.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.