Mount command doesn't work on Solaris System


 
Thread Tools Search this Thread
Operating Systems Solaris Mount command doesn't work on Solaris System
# 1  
Old 07-23-2011
Error Mount command doesn't work on Solaris System

Hi All,

I am using a solaris Sun-Fire-V440 server.
The OS is solaris.
My problem is whenever I run the command
mount | grep "^/ " | sed -e 's,^.*dsk/\([cd][0-9]*\).*$,\1,'
it should return a disk value as "d30" as it does on each of my other servers.But on this server I am not getting any o/p from this command.This causes my backup to fail everyday as I am using this command in a script to ensure FS backup on tape.
Moreover the o/p of "mount" command also doesn't provide any o/p.
Please help me with this as this is very critical.
Please find the o/p of some commands for your reference.
Code:
root@ecovs1a # uname -a
SunOS ecovs1a 5.10 Generic_141414-07 sun4u sparc SUNW,Sun-Fire-V440
root@ecovs1a #
root@ecovs1a # cat /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/md/dsk/d31 -       -       swap    -       no      -
/dev/md/dsk/d30 /dev/md/rdsk/d30        /       ufs     1       no      -
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
sharefs         -       /etc/dfs/sharetab       sharefs -       no      -
/dev/dsk/c5t600C0FF0000000000980BD31E3115E00d0s6 /dev/rdsk/c5t600C0FF0000000000980BD31E3115E00d0s6 /var/oracle/backup ufs 1 no rw,logging
root@ecovs1a #
root@ecovs1a # df -hk
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d30         63G    38G    25G    61%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   4.8G   1.5M   4.8G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                        63G    38G    25G    61%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        63G    38G    25G    61%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   4.8G   1.4M   4.8G     1%    /tmp
swap                   4.8G    48K   4.8G     1%    /var/run
root@ecovs1a #
root@ecovs1a # mt stat
HP DAT-72 tape drive:
   sense key(0x0)= No Additional Sense   residual= 0   retries= 0
   file no= 0   block no= 0
root@ecovs1a #
root@ecovs1a # mount
root@ecovs1a # mount -h
root@ecovs1a #

Please feel free to ask any other command o/p if needed.

Last edited by DukeNuke2; 07-23-2011 at 01:08 PM..
# 2  
Old 07-23-2011
What does this say:
Code:
which mount
file `which mount`
ls -l `which mount`

# 3  
Old 07-23-2011
Quote:
Originally Posted by bartus11
What does this say:
Code:
which mount
file `which mount`
ls -l `which mount`


thanks for ur concern dude..But I got an answer to my problem ...I found that the mount file located in /usr/sbin/../../mount was of zero bytes..Hence my system was not able to get the required output..When I replaced the mount configuration file from some other node..my command worked!!!...Thanks once again
# 4  
Old 01-09-2012
Since the issue has been fixed and the solution to my problem has also been provided., I would request the moderator to mark this thread as solved and close it..Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Drop_caches doesn't work on Solaris but works on RHEL6

Hello Experts, I am performing performance tests on a few mysql select queries. I use the following command to clear the memory disk caches. sync && echo 3 | sudo tee /proc/sys/vm/drop_caches I however see that the above command works on RHEL6 but doesn't work on Solaris 10. I asked... (4 Replies)
Discussion started by: Anirudh Kumar
4 Replies

2. Solaris

Solaris 10, Samba 358 doesn't work after patching

Hi Forum, I updated my Solaris 10 (10/09) with the current Oracle patch file and moved the smb.conf to /etc/samba/smb.conf. Anyway, since patching, no Windows client is able to connect the share. It says password is wrong, but its the right pw. My smb.conf: bash-3.00# cat... (4 Replies)
Discussion started by: borsti007
4 Replies

3. Shell Programming and Scripting

cd command doesn't work through variables

Hi.... cd command is not working when dual string drive/volume name is passed to cd through variables....... For Ex.... y=/Volumes/Backup\ vipin/ cd $y the above command gives error....... anyone with a genuine solution ? (16 Replies)
Discussion started by: vipinchauhan222
16 Replies

4. Solaris

grep -e doesn't work on solaris

grep -e doesn't work in Soalris. Same script with grep -e worked on AIX/HP/LINUX.. I would like to search a list of patterns on "log.txt" like ... grep -e FATAL -e ERROR log.txt I get the error message as grep: illegal option -- e Usage: grep -hblcnsviw pattern file . . . (3 Replies)
Discussion started by: jmkraja
3 Replies

5. Solaris

Solaris Network doesn't work properly

Hi to all! I want to learn step by step easily how to configure my Solaris for network. I know alot about Solaris Network configuration. But I have some problems. When I install Solaris, and I plug-in my network cable to Solaris. Then I run: ifconfig -a plumb then I do ifconfig bge0 dhcp... (7 Replies)
Discussion started by: SecureXCode
7 Replies

6. UNIX for Dummies Questions & Answers

Mail/Xmail doesn't work on Solaris 10

Hi again everyone. I have recently installed Solaris 10 on a server. Everything seems to work fine (users can be added and can log in, internet connectivity works, etc). However I'm struggling to get mail or mailx to work. Say there are two users on my server, Bob and Mary. Server hostname... (3 Replies)
Discussion started by: EugeneG
3 Replies

7. Shell Programming and Scripting

ls -d doesn't work on Solaris

Hello, the ls -d command to only list directories in a directory doesn't seem to work on Solaris and the man command says to use that combination: ls -d Anyone have the same problem and find a resolve? Thanks BobK (9 Replies)
Discussion started by: bobk544
9 Replies

8. UNIX for Advanced & Expert Users

rcp on solaris doesn't work

Hi I have 2 Solaris boxes A and B, A running solaris 9, and B running solaris 6. when i try to use rcp on A like this:- A> rcp file.txt B:/path/file.txt I get into standard input and nothing happens!! Then On the target machine B, if i try, B> rcp otherfile.txt B:/path/otherfile.txt... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies

9. Shell Programming and Scripting

Command doesn't work under cron ?

I have defined in cron crontab -l >/FIXENGINE/data/crontab.$(whoami).$(date +%a) The resulting file is named crontab.fixadmin. When I run the above from a command line, the file is named: crontab.fixadmin.Tue (or whatever day I happen to be running) The question is - why do I get... (4 Replies)
Discussion started by: bigjohn-nj
4 Replies

10. UNIX for Advanced & Expert Users

CDROM Doesn't Auto Mount - Solaris 9

On Sun Fire V240, cdrom doesn't automount. I can manually mount the cdrom, however it pretty annoying. I have checked the vold demon and its seems to be running. Here is the output from /etc/inetd.conf pg inetd.conf daytime stream tcp6 nowait root internal daytime dgram udp6 ... (2 Replies)
Discussion started by: mshafi
2 Replies
Login or Register to Ask a Question