LinuxQuestions.org
Visit Jeremy's Blog.
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, 08: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, 11:36 AM   #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 12:49 AM
iSCSI client setup difficulties humbletech99 Linux - Server 2 05-29-2009 03:47 AM
Cant boot with ISCSI on jesste SUSE / openSUSE 0 07-25-2007 08:58 AM
order of services booting borovikov SUSE / openSUSE 3 04-14-2005 03:11 AM
Slackware boot difficulties +0+4|_ n00b Linux - Newbie 4 01-27-2005 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:22 PM.

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
Open Source Consulting | Domain Registration