Hi Bane,
You've talked about two problems here.
[EMAIL PROTECTED] wrote:
Hi,
Openfiler 2.0 Beta 1, without 9 March 2006 update.
My iSCSI setup works fine, iSCSI service is enabled in the OF Control
Center, Linux (RH4 U2) clients can see iSCSI disks served by OFserver,
those disks can be partitioned, devlabeled and used on the clients
machines...
But my targets disappear when I reboot OF server. To get them back I
have to rescan (vgscan) the volume groups, activate them ( vgchange -a
y) and then restart iscsi-target service! Am I doing something wrong
here?
Yah, this stuff is not supposed to be run manually for OF. If you have
to do it manually then it means something is broken with your
installation and you ought to try tracking that down. Make sure you're
running the latest updates.
I can put vgscan and vgchange and service iscsi-target restart in
/etc/rc.local
Both vgchange and iscsi-restart are already part of rc.sysinit and
initscripts respectively. Furthermore vgchange *has* to run because it's
part of the system startup sequence. iscsi-target will run also *after*
vgchange at the runlevels for which it is activated. If you've "Enable"d
it the OF GUI, chances are it'll be starting up when the system reboots.
so they run after every reboot, but the problem with that is that
devlabel id (on the clients) gets changed every time I do that
(because the virtual iSCSI disk label has the host id, and that keeps
changing after vgchange). udev uses scsi_id and that has the same
problem :(
If I understand you correctly here, you're talking about how the targets
are allocated to scsi devices on the intitiator side (i.e client) when
Openfiler comes back up after a reboot. This is would be a function of
the initiator and not the target. It is related to a question I think
you asked a few days back regarding device serial numbers. The VPD page
for the iSCSI virtual disk implements 0x83, 0x80 (the serial number) is
empty - i.e is not implemented (yet) by the IET guys. If you run scsi_id
manually with the 0x83 inquiry vpd page code you'll see that you get
unique values for the individual devices. Running with 0x80 will give
identical values because there's no serial number being returned.
So, back to my original question, why my iSCSI targets disappear on
OFserver reboot?
I'm running OF 2.0 (latest updates) perfectly fine and my iscsi volumes
persist across reboots. Can you tell me how many iscsi volumes you have
created? Do you have any FS (ext3) volumes as well? Have you got any
snapshots defined? If you've got snapshots, how many snapshots and for
what volumes? Have you made *any* changes to the system manually? (lvm,
fstab, etc). Openfiler can be pretty unforgiving when it comes to making
manual changes to *any* of the subsystems which are managed by Openfiler.
KR
Rafiu
Thanks,
Bane
--
[EMAIL PROTECTED]
------------------------------------------------------------------------
_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users
_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users