[PVE-User] iSCSI mounting local directory

Gilles Mocellin gilles.mocellin at nuagelibre.org
Fri Sep 26 20:41:23 CEST 2014


Le 26/09/2014 20:23, Luis G. Coralle a écrit :
> It let me share

That doesn't mean it will work.
ext4 is not made to be mounted from several nodes at the same time, like
OCFS, GFS.

So, just try, mount your iSCSI device on two nodes, write an read files
on both, you will really soon have problems.


> 2014-09-26 14:11 GMT-03:00 Gilles Mocellin
<gilles.mocellin at nuagelibre.org <mailto:gilles.mocellin at nuagelibre.org>>:
>

> Le 26/09/2014 17:40, Luis G. Coralle a écrit :
> > What disadvantages can bring the following configuration?
>
> > Datacenter-> Storage-> Add-> iSCSI
> > Fill the fields ID, Portal, and remove the checkmark Target LUNs
> Directly Use
>
> > At this point, I have a new Attached SCSI disk device (eg. /dev /sdg)
>
> > I create a file system on the new device, such as ext4
> > Then I mount the partition to a local directory:
> > mount /dev/sdg1 /mnt/iscsi-test/
>
> > Then I assign the mount point as storage in the web interface
> > Datacenter-> Storage-> Add-> Directory
> > Fill the fields ID, Directory, Content
>
> > I can then use that to host normally imagnes Storage, iso, backups, etc.
>
> The main disadvantage is that you cannot share that storage between
> proxmox servers.
> So, no migration, no HA, just like a local storage.
>
> If you use LVM above your iSCSI device, then you can share it, the
> clusterware and lvm activations will handle that.
> As there is no filesystem involved, no needs for mount / umount.
>
> --
> Luis G. Coralle






More information about the pve-user mailing list