LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2005, 01:54 PM   #1
M&M
LQ Newbie
 
Registered: Dec 2004
Location: Portugal
Distribution: Suse 9.2
Posts: 13

Rep: Reputation: 0
running command before fstab load


Hi!
I need to run "dmraid -ay" command at boot, before "mount -a" executes at boot, so i can have my raid arrays mounted at boot time?
In wich file can i do this?
Running suse 9.2 64bit

Regards.
 
Old 04-22-2005, 03:57 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"I need to run "dmraid -ay" command at boot, before "mount -a" executes at boot, so i can have my raid arrays mounted at boot time?
In wich file can i do this?"

On my SuSE 9.1 system the fstab mounts are done in a script called /etc/init.d/boot.d/S06boot.localfs So you could try putting your "dmraid -ay" command in /etc/init.d/boot.d/S06boot.localfs ahead of the fstab mount commands.

------------------------------
Steve Stites
 
Old 04-25-2005, 06:33 PM   #3
M&M
LQ Newbie
 
Registered: Dec 2004
Location: Portugal
Distribution: Suse 9.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jailbait
"I need to run "dmraid -ay" command at boot, before "mount -a" executes at boot, so i can have my raid arrays mounted at boot time?
In wich file can i do this?"

On my SuSE 9.1 system the fstab mounts are done in a script called /etc/init.d/boot.d/S06boot.localfs So you could try putting your "dmraid -ay" command in /etc/init.d/boot.d/S06boot.localfs ahead of the fstab mount commands.

------------------------------
Steve Stites

Tks, mine was S07.localfs, i just added the command at the start of the file and now it's running great.

Any idea of how to do this together with lilo? My windows 2000 is installed in the raid array.
Regards
 
Old 04-25-2005, 08:30 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Any idea of how to do this together with lilo?"

I don't know off the top of my head. If I were tackling this problem I would not start by looking at lilo. I would look to see if you could change your BIOS settings to reflect the correct RAID configuration and then lilo should correctly follow the logic of the BIOS configuration.

-----------------------------
Steve Stites
 
  


Reply



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
Linux Load command CDCOP Linux - Software 2 11-07-2005 09:56 PM
verbose output of fstab-sync command GingerMegs Linux - Software 0 06-04-2005 04:25 PM
fstab command ( not recognized) ALInux Linux - Networking 3 04-27-2005 11:20 AM
What command gives me CPU load? nodger Linux - Software 2 01-09-2005 08:28 AM
command to load themes? bashedpotatoes Linux - Software 3 08-23-2004 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:03 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
Open Source Consulting | Domain Registration