How do I remount an iSCSI backed, Folder Storage mount?

Mar 14, 2013
14
0
1
Havant, United Kingdom
I've figured how to manually mount an iSCSI target's LUN /dev/sdb, formatted it as ext3 /dev/sdb1 and created 'Folder Storage' for Proxmox to use the LUN /mnt/iSCSI for Images, Templates and Backups rather than just LVM volumes. Can anyone give me some pointers as to how I'd go about automatically re-mounting this type of storage in the event of a network disconnection or the storage going offline. An iSCSI LUN with LVM reconnects gracefully when browsing the storage content in the web interface, as does NFS, so is it possible to achieve this with a 'normal' disk mounted over iSCSI?
 
No, the actually mounting of the disk must be placed in /etc/fstab. To ensure the mount does not depend on whether the disk is attached to sdb every time I would use the UUID mount feature (blkid /dev/sdb1 will show the current UUID).
 

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!