Suse Linux mount problems ?

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Suse Linux mount problems ?
# 1  
Old 03-01-2002
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.
# 2  
Old 03-05-2002
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. OS X (Apple)

howto mount mac volume on suse 11

as the title states, i cant mount suse of apple volumes on either box. have tryed afpfs-ng but no love. anyone have a suggestion than samba (because i dislike MS) and NFS because i don't know jack about it..... yet thanks in advance julz (4 Replies)
Discussion started by: biorhythm
4 Replies

2. UNIX for Advanced & Expert Users

SuSe Linux Mount

Hi everyone, I am new to Linux and I hope to have some advise. Suppose I have 2 differnt users who require differnt mount drives. When user1 logs in, his required drives are mounted. When user2 logs in, user1's drives are unmounted and user2's drives are mounted. May I know how I can achieve... (2 Replies)
Discussion started by: viper81
2 Replies

3. UNIX for Dummies Questions & Answers

Floppy will not mount on SUSE

I have installed SUSE 10 on a laptop that has a swappable CDROM/Floppy drive. When I was installing the OS my CDROM was connected. Later I tried to swap it with the Floppy and mount it but no success. Here is what I get: dell:/dev # mount -t msdos /dev/fd0 /mnt /dev/fd0: Invalid argument ... (0 Replies)
Discussion started by: reedcat
0 Replies

4. UNIX for Dummies Questions & Answers

a world of suse linux problems

1) how do i disable the graphic login in suse linux? 2) how do i disable the graphic boot-up in suse linux? 3) how do i disable the graphic console in suse linux? i think disabling graphic console will disable graphic booting, but what do i know, eh? 4) where is the dhcpcd directory and... (2 Replies)
Discussion started by: nydel
2 Replies
Login or Register to Ask a Question