The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SuSe Linux Mount viper81 UNIX for Advanced & Expert Users 2 04-02-2008 08:25 PM
Floppy will not mount on SUSE reedcat UNIX for Dummies Questions & Answers 0 01-08-2006 11:25 PM
SUSE 9.1 - Problems with Adding new users plz help sybella1 Linux 3 07-27-2005 04:31 AM
SUSE 9 - problems accessing CD ROM drive GandalfWhite Linux 11 06-24-2004 08:43 AM
a world of suse linux problems nydel UNIX for Dummies Questions & Answers 2 08-06-2001 05:46 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2002
Registered User
 

Join Date: Dec 2001
Location: Overland Patrk
Posts: 62
Suse Linux mount problems ?

We are experiencing several startup problems at boot time. In our
/etc/rc.d/boot script we have "swapon -a -v &> /dev/null/' (without the
quotes). We have also added echo statements to make it visible on the
HMC during IPL. The echo statements are seen but there no messages for
the swapon command (even with the added -v). /proc/swaps shows nothing.
Our fstab has the following:
root@KDLNXT01:/etc > cat /etc/fstab
/dev/dasda1 / ext2 defaults 1 1
/dev/dasdb1 /usr ext2 defaults 1 2
none /proc proc defaults 0 0
/dev/dasdc1 /vol1 ext2 defaults 0 1
/dev/dasdd1 /vol2 ext2 defaults 0 1
/dev/dasde1 /vol3 ext2 defaults 0 1
/vol1/swap/swapfs1 swap swap defaults 0 0
# End of YaST-generated fstab lines

When I do a "swapon -a" after the IPL all swap datasets are active. My
theory is that the swapon from boot script is failing maybe because the
volumes are not fully mounted when the command is started. We have
entered it in boot.local and everything works. Questions:
#1. Is there a reason why swapon command is not working from boot
script, but works from boot.local.
#2. After the echo messages appear on the HMC console, is there a way
to make them appear in a log somewhere. I check boot.msg, warn,
messages, allmessages and grep the whole /var/log directory and found
nothing. We are also experiencing problems with samba startup.
Sometimes it starts, sometimes it doesn't. We can never find any
messages. Samba is started in our /etc/rc.d/rc3.d/S91smb link. What do
I need to know to find these messages.
Forum Sponsor
  #2  
Old 03-05-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
You are not seeing any message from the swapon command because you are redirecting the error to /dev/null. Remove the "&> /dev/null" from your command and try it again.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0