What filesystem type should I use for iSCSI?

bemar

Member
Nov 16, 2011
69
0
6
Switzerland
Hello,

I'm currently testing proxmox 2.0 rc1 with the following configuration:
2 x HP Proliant DL 380 as Storage Cluster (DRBD, Heartbeat, Enterprise iSCSI Target) (works well)
1 x HP Proliant DL 180 as vmhost1.

I've succeded to to connect the vmhost1 with open-iscsi to the storage cluster's virtual IP. Now I have a further storage device (/dev/sdb) on the vmhost1.
But I'm not sure what filesystem to choose. I've read about ocfs2 is not supported (or recomended?) by Proxmox.
Insteat ProxMox recomends to use LVM. But with what filesystem? ext3? ext4? ....
It is planned to add further vmhosts to this configuration to get a HA solution. Will it really work with a extX LVM filesystem?

Thx for your advice

Ben
 
if you use LVM you use block devices directly for your KVM guests - means you do not need a file-system.
 
Sorry. I'm standing on the Schlauch. ;-)

When you talk about LVM you mean Logical Volumes?
If yes, I have to format the LVM with a filesystem type (ext2, ext3, ext4, Reiser or whatever).
Only a LVM without a filesystem on it it's unusable.
And if I want to use a iSCSI LUN with more than one VirtualHost I have to choose a Filesystem that supports this. IMHO this is only possible with GFS or OCFS2.

To illustrate what I wan't to do here is a picture of my current situation.

View attachment 833

Thank you for any advice.

Best regards

Benjamin
 
Sorry. I'm standing on the Schlauch. ;-)

read this page:
http://pve.proxmox.com/wiki/Storage_Model#LVM_Groups_with_Network_Backing

When you talk about LVM you mean Logical Volumes?
If yes, I have to format the LVM with a filesystem type (ext2, ext3, ext4, Reiser or whatever).
Only a LVM without a filesystem on it it's unusable.

no. you present a LVM volume to your KVM guest. and the guest system uses this block device (and formats the disk with whatever needed).

And if I want to use a iSCSI LUN with more than one VirtualHost I have to choose a Filesystem that supports this. IMHO this is only possible with GFS or OCFS2.

To illustrate what I wan't to do here is a picture of my current situation.

View attachment 833

Thank you for any advice.

Best regards

Benjamin
 
Hello Tom,

thank you for the link. That seems worked for me.
But one question. Why do I can't use the iscsi storage as storage for everyting?
It's not possible to add the content types 'ISO','Containers' and 'Templates' to that storage.

Is there a special hint?

Thx in forward

Ben
 
Hello Tom,

thank you for the link. That seems worked for me.
But one question. Why do I can't use the iscsi storage as storage for everyting?
It's not possible to add the content types 'ISO','Containers' and 'Templates' to that storage.

Is there a special hint?

Thx in forward

Ben

the rest needs a file system on it, therefore iSCSI is not an option. best way to store ISO, templates and backups is a NFS servers. container can run on local storage and NFS.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!