Hi,
On solaris 10, t5120,
I don't understand what are the last 2 file systems
df -kh
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 96G 5.7G 90G 6% /
/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 21G 1.3M 21G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s5 19G 585M 18G 3% /var
swap 21G 40K 21G 1% /tmp
swap 21G 24K 21G 1% /var/run
/platform/SUNW,SPARC-Enterprise-T5120/lib/libc_psr/libc_psr_hwcap2.so.1 96G 5.7G 90G 6% /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,SPARC-Enterprise-T5120/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1 96G 5.7G 90G 6% /platform/sun4v/lib/sparcv9/libc_psr.so.1
so last 2 file systems what are they, why are they getting shown and also confused why the swap is shown so many times and different size when I set it to 16 G at the time of installing solaris 10. ( rest apart if this much swap is required at all )
Please let me know
Thanks:)
Last two ones are "bound" mounts. This means there is a directory in your (already mounted) filesystem. This directory (not some device) gets mounted to some other directory on the already mounten filesystem. It's working quite like a symlink.
swap gets shown two times because to solaris swap is a "thing to put infrequently used storage to". That consists - besides unused memory from RAM - of temp dirs. There are two temp dirs /tmp and /var/run, so both do get mountet onto the very same swap which gives you two lines about it.
fabtagon:
Last two ones are "bound" mounts. This means there is a directory in your (already mounted) filesystem. This directory (not some device) gets mounted to some other directory on the already mounten filesystem. It's working quite like a symlink.
swap gets shown two times because to solaris swap is a "thing to put infrequently used storage to". That consists - besides unused memory from RAM - of temp dirs. There are two temp dirs /tmp and /var/run, so both do get mountet onto the very same swap which gives you two lines about it.
Thanks
but swap is there 3 times ,
seg
June 5, 2008, 4:41pm
4
Per sun:
The mount points detailed have been created intentionally by engineering.
In basic terms, they are a platform specific enhancement to ensure full
application performance is achieved. This is done by changing the way the
Operating System fully utilizes the potential of the CPU for the platform.
The libc_psr libraries implement platform-specific, optimized versions of
block copy and move routines from libc, such as memcpy(). On UltraSPARC
machines, these routines are coded in assembler, and use block load and
store ASI's, prefetch, and other tricks for better performance.
This is enabled using the HWCAP feature of the linker; see the linker
guide for details Linker and Libraries Guide .
The alternate routines live in the libc_psr_hwcap1.so.1 library. At boot
time, the libc_psr_hwcap1.so.1 library is loop-back mounted onto the
libc_psr path using a combination of the moe(1) utility, and mount -F lofs,
invoked from the start method of the svc:/system/filesystem/root service
(/lib/svc/method/fs-root). As this is a loopback mount, no disk space is
waisted.
This is the only way that this enhancement can be implemented, and at this
time will not be changed. Disabling this functionality is not possible or
supported.
Got a problem with it? Take it up with SMI.