Good day. The situation is the following, we had a server, it worked on linux, the lvm2 file system. Physically there were three disks, one for the system, the other two were in the mirror (mirrored) for the data. One day, the server fell, the system disk died, and important data remained on the disks in the mirror. Tell me, how can I recover data, what are the ways? Is it possible to open it from Windows somehow? PS A new server is also on linux lvm, maybe somehow you can mount disks to it in order not to lose data.
1 answer
Tell me, how can I recover data, what are the ways?
mount and copy:
# mount что-монтировать куда-монтировать # cp -a что-копировать куда-копировать Is it possible to open it from Windows somehow?
judging by the answers to this, for example, a question , it is theoretically possible, but in practice, I suspect, the process will be similar to putting the pants over the head.
and in general, judging by the level of competence reflected in the question, it makes sense for you to turn to specialists.
- I will try to reformulate the question as far as I understand it. There used to be a volume group consisting of three physical volumes. Two of them, which are in the mirror, were one of the logical volumes. I want to mount one of these disks to a new server, i.e. add it to a new volume group. And while I do not want to lose the data. In other words, the question is whether there are any nuances when mounting, because the old server just died and there were no preparatory actions for the transfer. Yes, I'm not a sysadmin, but I'm trying to figure it out. Really, transfer of a disk with data such difficult operation. - Totoro
- @Totoro, I absolutely do not mind if someone gives you a free many hours (or, rather, many days) advice on recovering half-lost data, although this resource is absolutely not adapted to this. but I, unfortunately, have no time or desire for it. - aleksandr barakin
- Thanks for answers. Maybe I misled you with the word "restore." As far as I understand, the data are whole and my two disks that were in the mirror are also whole. They just need to be added to the new server. In Windows, such an operation would take a minute. Is it all so difficult? Although, perhaps, I do not understand too much. - Totoro
- @Totoro, a similar question has already been asked: ru.stackoverflow.com/q/457156/191416 . I will write again. First roll the full copies of the screws, and then attach where and how you want. If it fails, you will have a backup. And so - yes, or experts and for money. Or itself, but with a non-zero probability of losing data. But make a backup anyway - suddenly the screws at the 3rd start, too, will move the horses. - don Rumata
|