Results 1 to 2 of 2
Hello ALL
i have configured RHEL5 box as iscsi target,,i have configure LUNs and everything looks fine
problem,is if i reboot the server everything that was created was vanished and ...
- 03-09-2010 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 20
[SOLVED] iscsi target how to persistent after reboot
Hello ALL
i have configured RHEL5 box as iscsi target,,i have configure LUNs and everything looks fine
problem,is if i reboot the server everything that was created was vanished and tgtd service is on during r3 and r5,,,
any fix for this
--Narasimha
- 03-09-2010 #2Just Joined!
- Join Date
- Jul 2009
- Posts
- 20
got the answer
my machine is Cent 5.2....so i need to add the commands that were used to create the entire iscsi targets to /etc/rc.local so that these storage files will be created up on the reboot
this is the only option proir to Cent5.3
and in and later Cent/Red 5.3 no need to add like this ,,,,just dump that out put of tgt-admin to /etc/tgt/targets.conf
#tgt-admin --dump >> /etc/tgt/targets.conf
up on the reboot already created iscsi target will be persisted!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


