免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2689 | 回复: 2

请教:df -k里的两个长文件系统/platform/sun4u-us3的东西可否启动时不mount上来? [复制链接]

论坛徽章:
0
发表于 2006-11-30 15:08 |显示全部楼层
机器为E2900,OS为solaris 10

请教:df -k里的两个长文件系统/platform/sun4u-us3的东西可否启动时不mount上来?

#df -kl
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0       10332220 1502225 8726673    15%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 46804848    1064 46803784     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
/dev/md/dsk/d4       8097197 3749746 4266480    47%    /usr
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 10332220 1502225 8726673    15%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 10332220 1502225 8726673    15%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                         0       0       0     0%    /dev/fd
/dev/md/dsk/d3       8097197  350037 7666189     5%    /var
swap                 46803808      24 46803784     1%    /tmp
swap                 46803832      48 46803784     1%    /var/run
/dev/md/dsk/d7       81217829 13368970 67036681    17%    /users
/dev/dsk/c3t0d0s6    141179002   69485 139697727     1%    /users/ems/open2000e/var


/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/d1        -        -        swap        -        no        -
/dev/md/dsk/d0        /dev/md/rdsk/d0        /        ufs        1        no        -
/dev/md/dsk/d4        /dev/md/rdsk/d4        /usr        ufs        1        no        -
/dev/md/dsk/d3        /dev/md/rdsk/d3        /var        ufs        1        no        -
/dev/md/dsk/d7        /dev/md/rdsk/d7        /users        ufs        2        yes        -
/devices        -        /devices        devfs        -        no        -
ctfs        -        /system/contract        ctfs        -        no        -
objfs        -        /system/object        objfs        -        no        -
swap        -        /tmp        tmpfs        -        yes        -
/dev/dsk/c3t0d0s6       /dev/rdsk/c3t0d0s6      /users/ems/open2000e/var        ufs     2       yes     -

论坛徽章:
1
狮子座
日期:2013-09-02 12:10:41
发表于 2006-11-30 16:32 |显示全部楼层
不可以,这两个是df命令调用的一些库文件,solaris10我也不熟悉,不知道为什么会在df的时候显示出来,在solaris10之前的版本就不会显示。这个是系统自己的一些设定,只要你使用df命令,就会显示。

论坛徽章:
0
发表于 2006-12-01 00:14 |显示全部楼层

回复 1楼 ahcnpl 的帖子

There is a sunsolve article regarding this. I post it here for your reference.

Document Audience: SPECTRUM
Document ID: 85550
Title: Why do libc_psr_hwcap1.so.1 and libc_psr.so.1 show as mount points?
Copyright Notice: Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved
Update Date: Fri May 26 00:00:00 MDT 2006
Products:  Solaris 10 Operating System
Technical Areas:  Commands

--------------------------------------------------------------------------------


--------------------------------------------------------------------------------

Keyword(s):df, mount, libc_psr_hwcap1.so.1, libc_psr.so.1

Description  Top

The purpose of this document is to help explain why the mount points detailed below are shown from df(1M) and mount(1M)

Document Body  Top


Under some circumstances, such as an operating system upgrade or patch installation, the following mount points may be shown from df(1M) and mount(1M):


/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 mounted on /platform/sun4u-us3/lib/libc_psr.so.1


---


/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 mounted on /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1


--


An example of what could create these mounts is an OS upgrade to Solaris 10 (Update X) or the installation of patch 122750-XX.

Note: these are just examples - it may not be restricted to this


These mounts will not show on all systems as the change is hardware specific, which the patch and OS are not.


---


Why is this?


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 (http://docs.sun.com/app/docs/doc/817-1984).


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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP