LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 06-28-2011, 09:48 AM   #1
bweaver
Member
 
Registered: Nov 2010
Posts: 44

Rep: Reputation: 0
difficulties booting iscsi; boot order


Dear all,

We are running Debian Squeeze with an iscsi connection to a SAN server. The iscsi connection is giving us a lot of trouble on startup.
The connection, we noticed, is achieved much quicker if done manually subsequent to boot-up. But we want the iscsi to be brought up at boot-time. We already changed enforced late start of iscsi through changing the init.d boot scripts.

1. Isn't there a 'hook' script that is executed after all the other boot-up procedures are done, which might be appended with commands to start the iscsi connection? I have tried making this change in /etc/rc.local but this script does not seem to produce the required startup of iscsi.

Thanks in advance.
 
Old 06-29-2011, 12:36 PM   #2
bweaver
Member
 
Registered: Nov 2010
Posts: 44

Original Poster
Rep: Reputation: 0
Debian is odd one out

I have learned that Debian does not use the rc.local scripts, either under /etc or /etc/init.d .

The best thing to do is to create your own bash script, called anything you want, say, foo, which you then make available to run after everything else via,

sudo chmod 755 foo

sudo update-rc.d foo defaults 80

Scripts are best written compliant with the LSB specification:

http://wiki.debian.org/LSBInitScripts
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iSCSI on Ubuntu: working around boot order problems windstrewn Linux - Networking 3 10-05-2009 01:49 AM
iSCSI client setup difficulties humbletech99 Linux - Server 2 05-29-2009 04:47 AM
Cant boot with ISCSI on jesste Suse/Novell 0 07-25-2007 09:58 AM
order of services booting borovikov Suse/Novell 3 04-14-2005 04:11 AM
Slackware boot difficulties +0+4|_ n00b Linux - Newbie 4 01-27-2005 05:10 PM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration