Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
victor.bylin@atea.se
Service Provider
Posts: 47
Liked: 2 times
Joined: Oct 26, 2017 11:22 am
Full Name: Victor
Contact:

LVM disks shown wrong on Volume restore

Post by victor.bylin@atea.se »

Hi,

I have had a case ID# 02612674 open this spring regarding filesystem is shown wrong when doing a volume restore.

Image

I am wondering if there are any news in regarding to a fix for this issue?
PTide
Product Manager
Posts: 6428
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: LVM disks shown wrong on Volume restore

Post by PTide »

Hi,

I've checked the case and it seems that it is related to premissions missing for linux account during FLR operations. Would you either provide another case number or give some details on what exactly is wrong with the current representation?
As far as I understand you might be confused with sdb and sdc physical disks not being shown in the backup. Is that what you're talking about?

Thank you
victor.bylin@atea.se
Service Provider
Posts: 47
Liked: 2 times
Joined: Oct 26, 2017 11:22 am
Full Name: Victor
Contact:

Re: LVM disks shown wrong on Volume restore

Post by victor.bylin@atea.se »

Hi again,

Sry for slow response.
I see I linked the wrong case the right case is [ID# 02631951].

And yes the problem is that I can't restore sdb or sdc in this example.

Best regards!
PTide
Product Manager
Posts: 6428
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: LVM disks shown wrong on Volume restore

Post by PTide »

Hi,

That is by design. Do you want to restore physical volumes that constitute the volume groups? If so then what are your LV settings - are they striped, linear, or mirrored? Please describe your use case.

Thanks
victor.bylin@atea.se
Service Provider
Posts: 47
Liked: 2 times
Joined: Oct 26, 2017 11:22 am
Full Name: Victor
Contact:

Re: LVM disks shown wrong on Volume restore

Post by victor.bylin@atea.se »

Hi,

What how can say that it is by design when you as in "Veeam" came back to me in the case confirming that it was an issue.
They even tried to fix it but the fix didn't go through testing.

Regarding the LV settings this example it is linear. But striped sees the same issues.

The issue is as shown in the picture that it is not possible to restore a full LVM back to disk.
The only way to get back on track with the backup data is to create the sdb and sdc manually then mount the file system and then copy the files.
Then we have no use of Volume restore so I don't see how that can be by design?

Thanks!
PTide
Product Manager
Posts: 6428
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: LVM disks shown wrong on Volume restore

Post by PTide »

You can restore LVs individually into an existing volume group, or you can create a new volume group and restore LVs there.
Alternatively you can pick a disk and choose "restore whole disk from". Does it work?

I get it as you want it to work in the following way:

1. Pick a volume group to restore to (on the current system)
2. Pick a volume group to restore from (from the backup)
3. Press "start" so all logical volumes are going to be restored into the specified VG.

Or is it more like:

1. Pick a physical device to restore to (on the current system)
2. Map it to a physical devices to restore from (from the backup)
3. <repeat>
...
N. Restore all devices accordingly to mapping, no matter what (i.e. ignore that it might cause chaos on the VG in case of a mismatch)

Is that correct?

Thanks
victor.bylin@atea.se
Service Provider
Posts: 47
Liked: 2 times
Joined: Oct 26, 2017 11:22 am
Full Name: Victor
Contact:

Re: LVM disks shown wrong on Volume restore

Post by victor.bylin@atea.se »

Hi,

Yea I want both to work either you have a total faulty/corrupt volume example sdb volume that you want to restore.
In that case I cant restore its data to the right location on sdb.

In the other case, a full restore or full volume restore won't work either because the filesystem would be totally wrong without sdb and sdc.

So the mapping your writing doesn't work because for Veeam sdb and sdc doesn't exist so I can't put data in it on any other way than manual mount then copy.

Thanks!
PTide
Product Manager
Posts: 6428
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: LVM disks shown wrong on Volume restore

Post by PTide »

Do you agree that restoring a faulty underlying physical device will work only if it is the only physical device in VG? If there are other devices in the group then you'll have to restore all of them.
That is, in case you have a configuration where VG contains only one disk, you should just create a new VG on that disk and restore LVs from a backup.

So, if I got you right, it all boils down to adding a "restore all logical volumes from this VG to another VG" button with some extra options like "replace if exists/skip".

Thanks
victor.bylin@atea.se
Service Provider
Posts: 47
Liked: 2 times
Joined: Oct 26, 2017 11:22 am
Full Name: Victor
Contact:

Re: LVM disks shown wrong on Volume restore

Post by victor.bylin@atea.se »

Hi,

No that's not it.
I can't restore its data in any way but copy it manually.
If I want to restore sdb data I can't restore it from the volume restore.

In this case above its 3 LVM and only sda is mapped in the correct way to be able to restore its data.
If I would restore all disk now sdb and sdc would be missing.
If I would restore sdb data I wouldn't be able to point to sdb.
If I would restore sdc data I wouldn't be able to point to sdc.

So you understand right now i have no way back to restore its volumes without manually mount and copy.
Therefore I'm asking for a correct handling of the sdb and sdc in this case.

Thanks!
PTide
Product Manager
Posts: 6428
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: LVM disks shown wrong on Volume restore

Post by PTide »

Ok, now I see - your PVs are actually the whole disks, not partitions, and our UI does not let you to create a VG on top of a whole disk. There is a workaround - you can drop to a command line and create custom LVM schema that can be used for resetores (see the example here). Your request has been noted for future version of Recovery Media.

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests