extend inner volume with outer storage volume

Latest response

I used to extend a logical volume created with an internal device called /dev/sdb with a multipath device on an extrnal SAS storage called /dev/mapper/mpatha.
I know how to do it and it works fine, my question is if this kind configuration is considered "safe" and stable or it's against the best practice because it should be done on production environment.

Responses

Hi Mario,

Good or best practice ? Well, this is very much opinion based. Technically spoken, it is definitely not recommended to
manipulate disks and partitions from within a running system. Although it is possible, it may break some things badly.
I recommend to create a bootable GParted live medium, boot from it and perform the operations from within there. :)

Regards,
Christian

Thanks, but my question is not related how to expand the volume but if expand a volume created with internal disks /dev/sdb with a multipath device /dev/mapper/mpatha (extarnal SAS storage) has risks of stability, file system corruption or something else.

Mario, there won't be a really correct ultimate answer with valid guaranties, performing such operations includes
the risk of failure - data and/or file system corruption is something which (unfortunately) always can happen ... :)

Regards,
Christian

I'd say, it is better to not merge remote storage luns or multipath disks with root file systems, otherwise, which would make system un-bootable if there is any issues with remote storage server. I'd rather keep multipath disk on separate vg which would facilitate in easy understanding and troubleshooting. Normally, we'd keep app data on such storage devices. Again, as Christian said it would ultimately depends on your specific requirements and needs.

Good advice Sadashiva, I completely agree with you. :)

Regards,
Christian

Thank you Christian :)

Thank you both for your suggestion!

You're welcome Mario ! :)

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.