Thursday, February 12, 2015

centos - Combine Linux multipath iSCSI disks

I have a CentOS 7 server which is currently receiving storage via a mounted iSCSI multipath session. The multipath device which represents this block storage in /dev/mapper is mounted to a folder in /mnt/x



There is a server application running which is configurable with only one folder path to use as storage, currently pointing to /mnt/x




My issue is that this application uses a huge amount of storage. Currently the iSCSI LUN is 50TB and we need to expand it every few months.



I am wondering is there a way I can present multiple smaller iSCSI LUNs via multipath to this server, and somehow combine the storage so they appear as a single mountpoint /mnt/x?



I know there are solutions such as mhddfs but they all seem to work with locally attached storage, and besides I am not game enough to try these out with this volume of data. The actual solution they present would work excellent for my case though, as it can store files the application creates across multiple LUNs - avoiding a situation where if one LUN drops out the entire mount point will be unresponsive, as might be the case with LVM.



I want to try and avoid having one huge LUN, I can realistically see this approach 100TB in the next month or two so I want to see if I can plan ahead.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...