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

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

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2011 | 回復(fù): 0
打印 上一主題 下一主題

利用diskadd在UnixWare 7下新增硬盤與檔案系統(tǒng) [復(fù)制鏈接]

論壇徽章:
1
15-16賽季CBA聯(lián)賽之北控
日期:2022-03-04 22:35:50
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2008-03-25 21:49 |只看該作者 |倒序?yàn)g覽

作者:許景超  出處:tw.sco.com
UnixWare 7提供diskadd命令, 讓新增硬盤與檔案系統(tǒng)(file system)的工作變的更容易.
以下范例為安裝一顆新硬盤于UnixWare 7環(huán)境上, 同時(shí)規(guī)劃兩個(gè)檔案系統(tǒng)
# diskadd 1
(UnixWare 7認(rèn)定本身操作系統(tǒng)硬盤代號為0, 因此第一顆新增的硬盤代號為1)
UX:diskadd: INFO: You have invoked the System V disk management (s5dm)
diskadd utility.
The purpose of this utility is to set up additional disk drives.
This utility can destroy the existing data on the disk.  Do you wish
to continue? (Type y for yes or n for no followed by ENTER): y
(請選擇 y 繼續(xù))
The recommended default partitioning for your disk is:
  a 100% "UNIX System" partition.
To select this, please type "y".  To partition your disk
differently, type "n" and the "fdisk" program will let you
select other partitions. y
(扇區(qū)設(shè)定, 若無其它扇區(qū), 請直接使用100%的UNIX系統(tǒng)扇區(qū))
Surface analysis of your disk is recommended but not required.
Do you wish to skip surface analysis? (y/n) y
(是否跳過硬盤表層檢查, 強(qiáng)烈建議選擇 y , 否則將耗費(fèi)大量時(shí)間)  
You will now be queried on the setup of your disk. After you
have determined which slices will be created, you will be
queried to designate the sizes of the various slices.
How many slices/filesystems do you want created on the disk (1 - 13)? 2
(詢問將于此硬盤上建立的檔案系統(tǒng)數(shù)目, 本范例為 2個(gè)檔案系統(tǒng))   
Please enter the absolute pathname (e.g., /home3) for
slice/filesystem 1 (1 - 32 chars)? /home3
(提供第一個(gè)檔案系統(tǒng)所掛載的目錄名稱)   
Enter the filesystem type for this slice (vxfs,ufs,s5,sfs), type 'na'
if no filesystem is needed, or press  to use the default (vxfs):
(選取第一個(gè)檔案系統(tǒng)的檔案系統(tǒng)格式, 請直接接受默認(rèn)值vxfs)   
Specify the block size from the following list
(1024, 2048, 4096, 8192), or press  to use the first one:
(詢問本檔案系統(tǒng)的block size, 請直接接受默認(rèn)值)   
Should /home3 be automatically mounted during a reboot?
Type "no" to override auto-mount or press  to enable the option:
(詢問是否開機(jī)時(shí), 將自動(dòng)把本檔案系統(tǒng)掛載, 一般均為直接接受默認(rèn)值)
Please enter the absolute pathname (e.g., /home3) for
slice/filesystem 2 (1 - 32 chars)? /usr2
(詢問第二個(gè)檔案系統(tǒng)所掛載的目錄名稱)
Enter the filesystem type for this slice (vxfs,ufs,s5,sfs), type 'na'
if no filesystem is needed, or press  to use the default (vxfs):
(選取第二個(gè)檔案系統(tǒng)的檔案系統(tǒng)格式, 請直接接受默認(rèn)值vxfs)   
Specify the block size from the following list
(1024, 2048, 4096, 8192), or press  to use the first one:
(詢問本檔案系統(tǒng)的block size, 請直接接受默認(rèn)值)  
Should /usr2 be automatically mounted during a reboot?
Type "no" to override auto-mount or press  to enable the option:
(詢問是否開機(jī)時(shí), 將自動(dòng)把本檔案系統(tǒng)掛載, 一般均為直接接受默認(rèn)值)
You will now specify the size in cylinders of each slice.
(One megabyte of disk space is approximately 1 cylinders.)
There are now 3074 cylinders available on your disk.
The filesystem type you have chosen is limited to 1048576 cylinders.
How many cylinders would you like for /home3 (0 - 3074)?
Press  for 0 cylinders: 274
(設(shè)定第一個(gè)檔案系統(tǒng)的大小, 請依照實(shí)際狀況而定)
There are now 2800 cylinders available on your disk.
The filesystem type you have chosen is limited to 1048576 cylinders.
How many cylinders would you like for /usr2 (0 - 2800)?
Press  for 0 cylinders: 2800
(設(shè)定第二個(gè)檔案系統(tǒng)的大小, 請依照實(shí)際狀況而定)
You have specified the following disk configuration:
A /home3 filesystem with 274 cylinders (274.0 MB)
A /usr2 filesystem with 2800 cylinders (2800.0 MB)
Is this allocation acceptable to you (y/n)? y
(詢問是否接受這樣的設(shè)定)
Filesystems will now be created on the needed slices
Creating the /home3 filesystem on /dev/rdsk/c0b0t1d0s1
Allocated approximately 70112 inodes for this file system. Specify a
new value or press  to use the default:
(詢問第一個(gè)檔案系統(tǒng)將建立的inodes數(shù)目, 請直接接受默認(rèn)值)
Creating the /usr2 filesystem on /dev/rdsk/c0b0t1d0s2
Allocated approximately 716768 inodes for this file system. Specify a
new value or press  to use the default:
(詢問第二個(gè)檔案系統(tǒng)將建立的inodes數(shù)目, 請直接接受默認(rèn)值)
UX:diskadd: INFO: Diskadd for Disk Drive 2 DONE at Fri Sep 05 14:47:16 EDT 1997
(確定后, 系統(tǒng)會(huì)自動(dòng)規(guī)劃扇區(qū), 格式化硬盤與建立檔案系統(tǒng), 并提示已經(jīng)建立完畢)
(請利用df 或 mount 指令檢查剛剛建立的檔案系統(tǒng))   
# df
/                   (/dev/root          ): 4628818 blocks  616572 files
/proc               (/proc              ):       0 blocks     342 files
/stand              (/dev/dsk/c0b0t0d0sa):   42954 blocks      79 files
/dev/fd             (/dev/fd            ):       0 blocks       0 files
/home               (/dev/dsk/c0b0t0d0s4):   13026 blocks    1736 files
/home2              (/dev/dsk/c0b0t0d0sc):   13068 blocks    1740 files
/system/processor   (/processorfs       ):       0 blocks       0 files
/tmp                (/tmp               ):   14680 blocks   32123 files
/var/tmp            (/var/tmp           ):   61424 blocks   32765 files
/home3              (/dev/dsk/c0b0t1d0s1):  523908 blocks   69852 files
/usr2               (/dev/dsk/c0b0t1d0s2): 5372640 blocks  716348 files
  


本文來自ChinaUnix博客,如果查看原文請點(diǎn):http://blog.chinaunix.net/u/31/showart_508159.html
您需要登錄后才可以回帖 登錄 | 注冊

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

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP