I am experiencing the following problem with my iscsi volumes - I believe it is related to the way I am trying to mount the iscsi targets through my /etc/fstab file:
Whenever I am booting the machine (opensuse 12.1), the boot procedure fails and I am given the emergency recovery mode: there I have to comment out lines 08 and 09 from my fstab file, reboot, login as root, login into the iscsi shares, remove the comments from the fstab file and perform a “mount -a”. After that everything works o.k.
I just wonder if there might be some other, easier way!
1st thanks for taking the pain to look over my problem
As to your question: no, no upgrade caused it. It was like that from the begining: actually, mounting the targets through yast2 was a failure. The iscsi-target module of yast instisted to try mounting the targets as non-password-protected (the respective “No Authentication” tick-box becomes ticked every time I run the iscsi module of yast). I, therefore, wrote a small script based on the iscsiadm command that I execute after my PC boots in order to mount my targets manually. The real problem seems to be the respective entries in fstab that break the booting process.
mimis60 wrote:
> I therefore, wrote a small script based on the iscsiadm command that I
> execute after my PC boots in order to mount my targets manually. The
> real problem seems to be the respective entries in fstab that break the
> booting process.
Surely your fstab lines should have ‘noauto’ options if you’re mounting
manually then?
BTW, when posting computer output like fstab, please use CODE tags
On 2012-04-11 23:56, mimis60 wrote:
> I just wonder if there might be some other, easier way!
You can use the option “nofail”, so that a failure does not stop the boot
process. But you will have to mount them manually, and a failure at that
point will not produce an error message, it will silently fail.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)