I have a server running RHEL with below hard disks configuration.
[root@localhost indika]# fdisk -l
Disk /dev/sda: 150.3 GB, 150323855360 bytes
255 heads, 63 sectors/track, 18275 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008feb6
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 1301 10240000 83 Linux
/dev/sda3 1301 1938 5120000 82 Linux swap / Solaris
/dev/sda4 1938 18276 131234816 f W95 Ext'd (LBA)
/dev/sda5 1938 18276 131233792 83 Linux
Disk /dev/sdb: 53.7 GB, 53687091200 bytes
64 heads, 32 sectors/track, 51200 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8f903139
Device Boot Start End Blocks Id System
/dev/sdb1 1 51200 52428784 5 Extended
/dev/sdb5 1 51200 52428768 83 Linux
I am running a MySQL database in /dev/sda5 and now I need to increase the disk capacity for the MySQL database. I have added a secondary hard disk /dev/sdb5 and plan to create a logical volume with /dev/sda5 and /dev/sdb5.
Is it possible to create logical volumes using disk partitions like this. If it is possible is it something that is not recommended.