[CentOS] another iscsi question
Kevan Benson
kbenson at a-1networks.com
Mon Dec 4 21:57:31 UTC 2006
On Friday 01 December 2006 21:30, John R Pierce wrote:
> # chkconfig iscsi on
> # service iscsi start
>
> and it should show a scsi discovery in the log. it can take half a minute
> for it to sort itself out and create any iscsi visible logical volumes....
Well there you go. There will be an S##iscsi symlink after you run that
chkconfig command. You just want to make sure it's in between network and
nfs in the startup order. If there's a flag or something to make sure it
blocks and does not return until it correctly mounts a device or waits a set
timeout period, that would be useful to require that the iscsi drive is
mounted before it proceeds to other items in the startup process.
Actually, looking at the init script, it looks like it waits 30 by default
after initiating the subsystem to let drives associate. If that isn't long
enough for you, you can set it explicitly in /etc/sysconfig/iscsi.
--
- Kevan Benson
- A-1 Networks
More information about the CentOS
mailing list