Mounted Slice not appearing


 
Thread Tools Search this Thread
Operating Systems Solaris Mounted Slice not appearing
# 1  
Old 02-27-2008
Mounted Slice not appearing

Hi friends..

Here is my problem..

I mounted a slice and make it permanent through entering the information in /etc/vfstab file ,,,but when i give df -kh ,,in the output the slice information is not appearing..but i can be able to open the mount point and access files as usual..I didn't give "yes" for mount at boot option as i have installed my solaris in VMware.
Is this the problem??Why that slice is not appearing in the output??
# 2  
Old 02-27-2008
post the output of:

cat /etc/vfstab
df -h
mount

thnx
# 3  
Old 02-27-2008
#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/dsk/c0d0s3 - - swap - no -
/dev/dsk/c0d0s0 /dev/rdsk/c0d0s0 / ufs 1 no -
/dev/dsk/c0d0s6 /dev/rdsk/c0d0s6 /usr ufs 1 no -
/dev/dsk/c0d0s1 /dev/rdsk/c0d0s1 /var ufs 1 no -
/dev/dsk/c0d0p0:boot - /boot pcfs - no -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
/dev/dsk/c0d0s4 /dev/rdsk/c0d0s4 /slice4 ufs 2 no -

#df -kh
Filesystem size used avail capacity Mounted on
/dev/dsk/c0d0s0 306M 162M 113M 59% /
/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 599M 580K 598M 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/dev/dsk/c0d0s6 4.6G 2.1G 2.5G 46% /usr
/dev/dsk/c0d0p0:boot 10M 1.5M 8.8M 15% /boot
/usr/lib/libc/libc_hwcap1.so.1
4.6G 2.1G 2.5G 46% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c0d0s1 167M 79M 71M 53% /var
swap 599M 308K 598M 1% /tmp
swap 598M 24K 598M 1% /var/run

#mount

/ on /dev/dsk/c0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980000 on Wed Feb 27 14:46:03 2008
/devices on /devices read/write/setuid/devices/dev=4380000 on Wed Feb 27 14:45:20 2008
/system/contract on ctfs read/write/setuid/devices/dev=43c0001 on Wed Feb 27 14:45:20 2008
/proc on proc read/write/setuid/devices/dev=4400000 on Wed Feb 27 14:45:20 2008
/etc/mnttab on mnttab read/write/setuid/devices/dev=4440001 on Wed Feb 27 14:45:20 2008
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4480001 on Wed Feb 27 14:45:20 2008
/system/object on objfs read/write/setuid/devices/dev=44c0001 on Wed Feb 27 14:45:20 2008
/usr on /dev/dsk/c0d0s6 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980006 on Wed Feb 27 14:46:06 2008
/boot on /dev/dsk/c0d0p0:boot read/write/setuid/devices/nohidden/nofoldcase/dev=19a3010 on Wed Feb 27 14:45:45 2008
/lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/dev=1980006 on Wed Feb 27 14:45:52 2008
/dev/fd on fd read/write/setuid/devices/dev=4680001 on Wed Feb 27 14:46:06 2008
/var on /dev/dsk/c0d0s1 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980001 on Wed Feb 27 14:46:20 2008
/tmp on swap read/write/setuid/devices/xattr/dev=4480002 on Wed Feb 27 14:46:20 2008
/var/run on swap read/write/setuid/devices/xattr/dev=4480003 on Wed Feb 27 14:46:20 2008
# 4  
Old 02-27-2008
please test the following:

cd /slice4
touch xxx
cd /
mount /slice4
cd /slice4
ls -l

question: is there a file called "xxx"?
# 5  
Old 02-27-2008
Yes Duke,,

After completing the procedure you specified,,i didn't find any file xxx in that directory,,,and also some other files,,,but finally there are some files which i created previously...

After all,,i found that slice and its mount point in the df -kh output...
I understood that manually everytime i have to mount the slice as i didn't specified "yes" at mount at boot options...But should i need to do like this for every slice including root.

Will the files created after mounting the slice lasts after reboot also..
Can u please clear this concept?
# 6  
Old 02-27-2008
set mount at boot to "yes" for /slice4 don't touch the other entries in /etc/vfstab! after that the files you create in /slice4 will last after a reboot.

hth,
DN2
# 7  
Old 02-27-2008
Hi Duke,,

Just now to check the files that are created after mounting /slice4,,i rebooted the system..(without changing boot options to "yes")
After rebooting i gave #cd /slice4 and i got all the files which i lost previously before mounting slice4 with cmd(#mount /slice4)

i thought that all these files will again vanish as soon as i give mount /slice4...but when i gave
#mount /slice4-------got message as
/slice4 is busy and is already mounted

Now how to get the files which i created after mounting /slice4?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Re-appearing Files

Gurus I am running an AIX 7.1 system and have come across a strange issue. I am trying to delete files from a folder using standard 'rm' syntax. After i delete the files , files re-appear again. File renaming or editing does not help. Files re-appear with 0 bytes again. They are always 0... (5 Replies)
Discussion started by: abhijeet
5 Replies

2. Linux

How can I keep certain characters from appearing in a filename?

hi i know this is irrelevant to the question above but i was wondering how to pt a restriction in the filename in linux. I want that it is impossible to add numbers into the filename, help will be rely great , thanx! This posting was initially given as a reply to an unrelated thread. It has been... (2 Replies)
Discussion started by: samirboss
2 Replies

3. AIX

Date not appearing when listing using ls -la

Hi everyone, this strange error suddenly popped up out of no where when I do a directory listing , the date part doesn't appear root@oradb:/backup>ls -la total 58069304 drwxr-xr-x 3 root system 4096 23 ▒▒▒ 21:56 . drwxr-xr-x 44 root system 1536 23 ▒▒▒ 21:47... (4 Replies)
Discussion started by: filosophizer
4 Replies

4. Shell Programming and Scripting

sendmail not appearing to ps

I am having trouble finding the process, or subsystem, sendmail running on our client's server. They are runnning AIX version 5.3.9.0. When I run "ps -ef | grep sendmail" I only get my current ps process as a match. Running "ps -ef | more" and wading through the results also does not show sendmail... (2 Replies)
Discussion started by: moviedude
2 Replies

5. Shell Programming and Scripting

User input appearing as *

Is there a way in a shell script to make an user input appears as * (like a password) ?? (2 Replies)
Discussion started by: ce9888
2 Replies

6. UNIX for Dummies Questions & Answers

Escape Sequences appearing in scripts

I hope this question isn't too vague... i recently switched from RedHat to Solaris 10, and found that the parts of a script that copy files between directories no longer work because escape sequences are appearing at the start and end of the filenames being read #!/usr/bin/bash cd... (1 Reply)
Discussion started by: jwm-wm
1 Replies

7. Solaris

Help - File Manager not appearing

First I have to admit that I am not an unix expert, but I do know some basic things about the file systems. Anywho, one of my users' File Manager is not showing up as it normally does upon login. When I run a "ps -ea" I see "dtfile" in the list, but it does not show up. It's not in any of the... (0 Replies)
Discussion started by: tdpearson
0 Replies

8. Solaris

mirroring the boot slice (slice 8) on x86

Hi there I am about to mirror a Solaris 10 x86 box (SunFire X4100) onto a secondary disk using svm (current system is one disk). My question is this, on X86 boxes there is a slice 8 defined as boot partition (and also a slice 9, dunno what its used for tho). Do I need to mirror this boot slice... (0 Replies)
Discussion started by: hcclnoodles
0 Replies

9. UNIX for Advanced & Expert Users

artichture of Slice

Can any one Explain the artichture of Slice on SOLARIS PLATFORM. OR else where can i found artical on these topic. akram shaik OCA akram_tri_a@yahoo.com (2 Replies)
Discussion started by: smdakram
2 Replies

10. Filesystems, Disks and Memory

New Sds Slice

Hi, I'd like to add two new disk (mirrored each other) in a machine still on line. The machine is mirrored with SDS. the idea is to add two new disk and mirroring them in order to add a new mount point like "/produit" with only half of the new disk. who could send me exemples or tell me how to... (1 Reply)
Discussion started by: guillaume35
1 Replies
Login or Register to Ask a Question