亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
12下一頁(yè)
最近訪問(wèn)板塊 發(fā)新帖
查看: 5793 | 回復(fù): 12
打印 上一主題 下一主題

[SCO UNIX] unixware下文件超過(guò)1G就報(bào)錯(cuò)?(已經(jīng)解決) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2008-07-28 10:35 |只看該作者 |倒序?yàn)g覽
unixware下文件超過(guò)1G怎么辦?
$uncompress abc.tar.Z
UX:uncompress: ERROR: abc.tar: File too large
文件解開(kāi)應(yīng)該不到2G,這個(gè)包是在另外一個(gè)unixware的機(jī)器上作的,那個(gè)機(jī)器上就沒(méi)報(bào)錯(cuò)

[ 本帖最后由 SunPeng040709 于 2008-8-4 09:56 編輯 ]

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2008-07-28 11:49 |只看該作者
看看是否文件系統(tǒng)滿了

論壇徽章:
1
15-16賽季CBA聯(lián)賽之北控
日期:2022-03-04 22:35:50
3 [報(bào)告]
發(fā)表于 2008-07-28 12:39 |只看該作者
提示文件太大,不會(huì)是空間已滿的問(wèn)題

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2008-07-28 13:55 |只看該作者
應(yīng)該不會(huì),剛裝的系統(tǒng) 

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2008-07-28 13:59 |只看該作者
# dfspace
/                   :  Disk space: 59909.34 MB of 66861.79 MB available (89.60%)
/stand              :  Disk space:   18.69 MB of   23.90 MB available (78.20%)
/tmp                :  Disk space:    9.98 MB of    9.99 MB available (99.88%)
/var/tmp            :  Disk space:   39.99 MB of   39.99 MB available (100.00%)
/dev/_tcp           :  Disk space:    0.00 MB of    0.00 MB available ( 0.00%)

Total Disk Space: 59978.03 MB of 66935.70 MB available (89.61%).

那個(gè)文件在/文件系統(tǒng)下

[ 本帖最后由 SunPeng040709 于 2008-7-28 14:01 編輯 ]

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2008-07-28 14:06 |只看該作者
# uncompress abc.tar.Z
UX:uncompress: ERROR: abc.tar: File too large
# l
total 2839038
-rw-r--r--    1 oracle   dba      1073741823 Jul 28 11:28 abc.tar
-rw-r--r--    1 oracle   dba       378100302 Jul 28 10:25 abc.tar.Z

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2008-07-29 15:06 |只看該作者
把根文件系統(tǒng)的大文件支持打開(kāi),然后再試試

論壇徽章:
1
15-16賽季CBA聯(lián)賽之北控
日期:2022-03-04 22:35:50
8 [報(bào)告]
發(fā)表于 2008-07-29 15:51 |只看該作者
UnixWAre and Open unix8下如何配置大文件系統(tǒng)支持

在精華帖看到這篇好帖,可惜是英文,試著翻譯成中文,后面的幾個(gè)參數(shù)不熟悉沒(méi)敢翻譯。歡迎高手批評(píng)。
UnixWAre and Open unix8下如何配置大文件系統(tǒng)支持(翻譯)
How to enable large file support?
如何支持大文件?

Keywords
ou8 800 8.0.0 7.1.0 710 711 7.1.1 unixware7 uw7 large file maximum file length support 2gb 1tb one terabyte gigabyte two enable how to vxfs fsadm ulimit filesize filelength larger uw uware greater than largefile largefiles mkfs openunix openunix8 713 7.1.3
關(guān)鍵字
ou8 800 8.0.0 7.1.0 710 711 7.1.1 unixware7 uw7 large file maximum file length support 2gb 1tb one terabyte gigabyte two enable how to vxfs fsadm ulimit filesize filelength larger uw uware greater than largefile largefiles mkfs openunix openunix8 713 7.1.3 大文件 2G 1T 限制大小

Release
Caldera Open UNIX 8 Release 8.0.0
UnixWare 7 Release 7.0.0, 7.0.1, 7.1.0, 7.1.1, 7.1.3
適合版本
Caldera Open UNIX 8 Release 8.0.0
UnixWare 7 Release 7.0.0, 7.0.1, 7.1.0, 7.1.1, 7.1.3

Problem
By default, the maximum file length on a UnixWare 7 system is
2 gigabytes, but the maximum possible file length supported by
VXFS filesystems on UnixWare 7 systems is 1 terabyte. How do
I enable this large file support on a VXFS filesystem?
問(wèn)題
UnixWare 7 系統(tǒng)缺省最大長(zhǎng)度是2G,但UnixWare 7 的VXFS文件系統(tǒng)最大可以支持1T。如何才能激活VXFS的大文件支持呢?

NOTE: The maximum supported filesystem size (as opposed to file
size) is 2 terabytes (real filesystem sizes larger than 128
gigabytes have been tested). This support is enabled by default.
注意:最大支持文件系統(tǒng)大小(不是文件大。┦2T(實(shí)際測(cè)試過(guò)128G大小的文件系統(tǒng))。這項(xiàng)支持是缺省的。

Solution
To enable large files support on the root filesystem:
1. Run fsadm to enable the large file support:

# fsadm -Fvxfs -o largefiles /

2. Run fsadm to confirm that the support has been enabled:

# fsadm /

This should report "largefiles".

3. Increase ULIMIT to unlimited:

# ulimit unlimited

4. Ensure SFSZLIM and HFSZLIM are set to "infinity" (which is
represented by 0x7FFFFFFF) and relink the kernel:

# cd /etc/conf/bin
# ./idtune SFSZLIM 0x7FFFFFFF
# ./idtune HFSZLIM 0x7FFFFFFF
# ./idbuild -B

5. Reboot the system using shutdown(1M).
解決辦法:
在根文件系統(tǒng)激活大文件支持:

1. 運(yùn)行fsadm指令激活大文件支持:
#fsadm –Fvxfs –o largefiles /
2. 運(yùn)行fsadm指令來(lái)確認(rèn)支持已被激活:
#fsadm /
返回結(jié)果應(yīng)當(dāng)是“l(fā)argefiles”
3. 增加ULIMIT參數(shù)到?jīng)]有限制:
#ulimit unlimited
4. 修改參數(shù)SFSZLIM和HFSZLIM設(shè)置到無(wú)限大(設(shè)置為0x7FFFFFFF)然后重鏈內(nèi)核:
# cd /etc/conf/bin
# ./idtune SFSZLIM 0x7FFFFFFF
# ./idtune HFSZLIM 0x7FFFFFFF
# ./idbuild –B
5. 使用shutdown命令重新啟動(dòng)系統(tǒng)
#shutdown –i6 –g0 –y

You should now be able to create files larger than 2GB on root.

To test for a successful creation of a file greater than 2GB:

# dd if=/dev/zero of=big bs=1024k count=2100
# ls -l big
-rw-r--r-- 1 root sys 2202009600 Oct 4 14:34 big

NOTE: Not all utilities are largefiles aware (and shell redirection does
not support greater than 2GB files). For example, you can't create
a file greater than 2GB by using:

# cat file1 file2 >> file3

if file3 exceeds 2GB.

For a list of commands, utilities and APIs that support largefiles,
see the Intro(2) man page on your UnixWare 7 system.
現(xiàn)在你可以在根目錄下支持大于2G的文件了。

測(cè)試一下建立一個(gè)大于2G的文件:
# dd if=/dev/zero of=big bs=1024k count=2100
# ls -l big
-rw-r--r-- 1 root sys 2202009600 Oct 4 14:34 big

注意:大文件支持不是在所有情況下都是有效的(shell重定向產(chǎn)生的文件不能大于2G)。例如,你無(wú)法通過(guò)如下指令產(chǎn)生大于2G的文件:

# cat file1 file2 >> file3

file3無(wú)法大于2G、

可以通過(guò)UnixWare 7系統(tǒng)Intro(2) 的man幫助文檔查看大文件支持的命令和API列表.

To ensure that non-root users have ULIMIT=unlimited, change the
ULIMIT parameter in /etc/default/login to unlimited.

NOTE: Running "ulimit" after running the changes above should return the
value:

4194303

為了使非root用戶的參數(shù)ULIMIT=unlimited,要把/etc/default/login中的ULIMIT參數(shù)改為unlimited.

注意:上述動(dòng)作完成后運(yùn)行ulimit指令應(yīng)當(dāng)返還如下值:

4194303

NOTE: You can also increase the following kernel parameters for large
database use, such as Oracle, as in step 4 above:

注意:你也可以仿照上述第四步通過(guò)修改如下核心參數(shù)支持大數(shù)據(jù)庫(kù)使用(如Oracle)

SDATLIM 0x7FFFFFFF
HDATLIM 0x7FFFFFFF
SSTKLIM 0x7FFFFFFF
HSTKLIM 0x7FFFFFFF
SVMMLIM 0x7FFFFFFF
HVMMLIM 0x7FFFFFFF

NOTE: Increasing SFNOLIM to above 1024 may also cause "netcfg" to take
several minutes to load each component. It is recommended to put
the server into Single User Mode (init 1 or at the boot logo press
space and enter "INITSTATE=S" then press ENTER followed by "go").
注意:把參數(shù)SFNOLIM增加到大于1024可能導(dǎo)致”netcfg”命令花費(fèi)幾分鐘時(shí)間來(lái)引導(dǎo)每個(gè)組件。建議做這個(gè)動(dòng)作時(shí)把系統(tǒng)切換到單用戶模式 (用指令init 1或在啟動(dòng)引導(dǎo)界面出現(xiàn)logo時(shí)按空格然后回車輸入 "INITSTATE=S" ,按回車然后輸入"go").

NOTE: You can also increase SCORLIM and HCORLIM but you should be aware that
if you application core dumps then the size of the core file will
equal that of memory.
注意:你可以增加SCORLIM和HCORLIM參數(shù)值,但在應(yīng)用程序core dumps后會(huì)產(chǎn)生同樣大小的core文件.

NOTE: It is not recommended to set the file size to unlimited on the root filesystem in order to ensure that the root file system does not run of disk space unnecessarily.
注意:為了保證root文件系統(tǒng)不占用不必要的空間,不建議在root文件系統(tǒng)設(shè)置文件大小限制為unlimited.

NOTE: If you system has large processes that require more memory than the standard kernel configuration will allow, and therefore you find that they are slow then increasing SSTKLIM/HSTKLIM and SVMMLIM/HVMMLIM will adddress this.

SVMMLIM: (max 0x7FFFFFFF) is the soft limit specifying the maximum
address space that can be mapped to a process (HVMMLIM is the hard
limit).

STKLIM: (max 0x7FFFFFFF) is the the maximum stack size for a process
and the process stack resides within the [SH]VMMLIM address space) -
HSTKLIM is the hard limit.

ie. This is 4GB - 1 byte; 32bit architecture.

Therefore, the maximum amount of RAM that one process can consume is
no more than 4GB.

By default, the entries in /etc/conf/cf.d/mtune are set to:

value Default Min Max
----- ------- --- ---
SVMMLIM 0x9000000 0x1000000 0x7FFFFFFF
HVMMLIM 0x9000000 0x1000000 0x7FFFFFFF
SSTKLIM 0x1000000 0x2000 0x7FFFFFFF
HSTKLIM 0x1000000 0x2000 0x7FFFFFFF

SEE ALSO: fsadm_vxfs(1M) and Intro(2)

Page 29 of the UnixWare 7 Getting Started Guide.

Technical Article 105805, "How can I set up extra filesystems or slices on my boot
disk?"

Technical Article 105408, "UnixWare 2.0.*, How can I tune my system to allow a process to use more memory?"
經(jīng)過(guò)實(shí)踐發(fā)現(xiàn)還需要執(zhí)行下一步才能實(shí)現(xiàn):
1.激活大文件系統(tǒng)的支持
A.注意:需要umount文件系統(tǒng),最好在建用戶之前做好,否則將破壞該文件系統(tǒng)的所有文件。
B.這是對(duì)單個(gè)文件系統(tǒng)的操作,例如要激活/usr1的大文件支持,先執(zhí)行:umount /usr1,卸載該文件系統(tǒng)。
C.然后可以先用命令mkfs –m /dev/dsk/c0b0t0d0s4查看其文件系統(tǒng)參數(shù),在輸出的信息中將nolargefiles前的no去掉并以命令行方式運(yùn)行,如鍵入命令:
mkfs –F vxfs –o ninode=unlimited,bsize=1024, inosize=256, logsize=1024,
largefiles /dev/dsk/c0b0t0d0s4 4353614
然后再mount上去即可:mount /dev/dsk/c0b0t0d0s4 /usr1

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2008-08-04 09:55 |只看該作者
謝謝樓上各位的指點(diǎn),已經(jīng)設(shè)置好了!

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2008-08-04 10:40 |只看該作者
原帖由 SunPeng040709 于 2008-8-4 09:55 發(fā)表
謝謝樓上各位的指點(diǎn),已經(jīng)設(shè)置好了!

是否是開(kāi)啟文件系統(tǒng)的大文件支持之后解決的問(wèn)題?
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP