Jump to content

external storage : path redundancy

Hellloooooo guys, i am the French guy

I got something interesting to do

As you may notice my english is not really good, i hope it will be enough understandable.

So here is the thing :

 

I have Servers and external storage.

Servers have proxmox as OS (debian based).

Fiber cables and FC swiths to put all together.

Once everything is pluged : it works !

 

I can see my volume "sda" with the command lsblk on the proxmox server and mount it in a directory, great 

but because of my physical configuration with fibre channel (we call that a "fabric" i think)

the volume don't appear 1 time, i see it 4 times:

sda sdb sdc and sdd

 

these volumes are exaclty the same, there is just 4 physical path to reach them

If i mount sda volume in a directory ex:/data

It will work, i can use my external storage without any problem.

 

But i want now to use the others volumes sdb sdc sdd for redundancy.

I want to sdb being auto mounted when there is no more link between the server and sda

 

should i apt-get something to setup a system like that ?

 

Or should i write a script that auto mount sdb in /data when the link to sda is broke ? 

 

i hope that's clear enough =)

 

thank you for reading.

Link to comment
Share on other sites

Link to post
Share on other sites

25 minutes ago, French_guy said:

Hellloooooo guys, i am the French guy

I got something interesting to do

As you may notice my english is not really good, i hope it will be enough understandable.

So here is the thing :

 

I have Servers and external storage.

Servers have proxmox as OS (debian based).

Fiber cables and FC swiths to put all together.

Once everything is pluged : it works !

 

I can see my volume "sda" with the command lsblk on the proxmox server and mount it in a directory, great 

but because of my physical configuration with fibre channel (we call that a "fabric" i think)

the volume don't appear 1 time, i see it 4 times:

sda sdb sdc and sdd

 

these volumes are exaclty the same, there is just 4 physical path to reach them

If i mount sda volume in a directory ex:/data

It will work, i can use my external storage without any problem.

 

But i want now to use the others volumes sdb sdc sdd for redundancy.

I want to sdb being auto mounted when there is no more link between the server and sda

 

should i apt-get something to setup a system like that ?

 

Or should i write a script that auto mount sdb in /data when the link to sda is broke ? 

 

i hope that's clear enough =)

 

thank you for reading.

Your english is very good! Proxmox doesn't currently support redundant storage servers, but it will soon. As for the physical links, create a bond on all four ports to 'combine' them. This will create redundancy. Both sides, however, need to be configured with bonds. 

My native language is C++

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×