LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-20-2011, 01:22 PM   #1
ron7000
Member
 
Registered: Nov 2007
Location: CT
Posts: 248

Rep: Reputation: 26
SLES11.1 boot fails if failed disk mount


I have used Suse Linux Enterprise Server (SLES) versions 10.1 and 11.1.

Problem I have in SLES11.1 is I have 2 harddrives in the system, and they are mounted by disk ID. disk 1 the boot disk needs to be mounted, it has the root partition and without it the system won't work (obviously). But disk 2 mounts as /scratch and is not required for the system to boot.
In SLES10.1 if I have the mount line in /etc/fstab for /scratch and if that drive is not there during boot up it will spit out an error saying hey I didn't find that disk but the system will continue to boot and get to runlevel 5 and be run fine without /scratch mounted.

In SLES11.1 for the same situation, the system will drop to single user mode and want root password to log in via shell window then gives me a repair filesystem prompt. I don't want this. How do I make it still boot when other non-required mounts fail in /etc/fstab during boot?
 
Old 10-20-2011, 03:19 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Change the sixth field (fsck pass number) in the /scratch mount line to 0
 
Old 10-24-2011, 10:15 AM   #3
ron7000
Member
 
Registered: Nov 2007
Location: CT
Posts: 248

Original Poster
Rep: Reputation: 26
thanks, I'll try that.

however they were the same,
in both sles10 and sles11 fstab files they were
/dev/disk/by-id/scsi-3500blabla-part1 /scratch1 xfs defaults 1 2


does sles11 do something differently ?
 
Old 10-24-2011, 11:58 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
It seems that way. Changing the 2 to a 0 will disable fscking at boot, therefore it won't panic when it can't fsck it.
 
  


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
Mount a failed ext3 disk (with encryption) under a good fedora 11 system Outlaw_Wizard Linux - Newbie 2 09-24-2009 09:28 PM
failed to mount /root on boot after upgrade to lenny: boot hangs MrInept Debian 7 10-29-2008 10:21 AM
Fails to Boot: fsck /dev/sdk1 failed Hagen Brown Linux - Enterprise 2 04-14-2008 10:29 AM
Swap fails to mount at boot Omni Arch 3 03-17-2004 09:09 AM
boot disk failed - HELP mattya Linux - Newbie 2 08-01-2002 08:50 PM

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

All times are GMT -5. The time now is 08:30 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