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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-20-2011, 01:22 PM
|
#1
|
Member
Registered: Nov 2007
Location: CT
Posts: 248
Rep:
|
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?
|
|
|
10-20-2011, 03:19 PM
|
#2
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Change the sixth field (fsck pass number) in the /scratch mount line to 0
|
|
|
10-24-2011, 10:15 AM
|
#3
|
Member
Registered: Nov 2007
Location: CT
Posts: 248
Original Poster
Rep:
|
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 ?
|
|
|
10-24-2011, 11:58 AM
|
#4
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
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.
|
|
|
All times are GMT -5. The time now is 08:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|