We use "--bind" in Linux:
mount --bind olddir newdir
and use lofs in OpenIndiana:
mount -F lofs olddir newdir

zfsadm 發表在 痞客邦 留言(0) 人氣()

tmpfs的效能可以透過特殊方法提升,要動態提升可以透過command:
# echo 'tmp_nopage/W 1' | mdb -kw
此外可以透過設定檔讓系統開機時自動設定,透過修改/etc/system:
set tmpfs:tmp_nopage=1

zfsadm 發表在 痞客邦 留言(0) 人氣()

如果你有用rz傳輸檔案的習慣(透過XShell拖拉傳輸檔案),可以考慮自己編一個,因為Openindiana官方沒有提供package
網路上有許多文件,有些會說lrzsz比較強,可是我個人編起來傳輸檔案會有問題,建議還是編比較舊的rzsz 3.48,搭配XShell使用起來相當正常
Source:http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz

zfsadm 發表在 痞客邦 留言(0) 人氣()

Vim在Openindiana有些怪異現象,例如輸入模式(Insert mode)下無法使用方向鍵(上下左右),這解法很簡單,只要將語法高亮開啟就好了
另外是輸入模式(Insert mode)下使用倒退鍵(Backspace)無法直接刪除文字,這問題則需要更改參數bs,將其值設定成2
之後再補上背景顏色(background)預設值與搜尋高亮(hls)顯示,Vim的使用習慣就與Linux差不多了~
因此只要在家目錄寫一個.vimrc即可:vi ~/.vimrc

zfsadm 發表在 痞客邦 留言(0) 人氣()

預設Openindiana無法直接使用root登入,不管你是否透過ssh,這分兩個部分開啟:
開啟root直接登入:
rolemod -K type=normal root
開啟ssh直接登入,修改/etc/ssh/sshd_config:

zfsadm 發表在 痞客邦 留言(0) 人氣()

POSIX這個詞挺常聽說的,但是真實的代表什麼呢?
全名為「Portable Operating System Interface」,意思就是一個介面規定,這樣說起來也是有點抽象,那將清單列出來看過之後,應該就能體會了!
清單如下:
POSIX.1 function calls

zfsadm 發表在 痞客邦 留言(0) 人氣()

為了將zfs的問題單純化,嘗試了許多複雜的方法來避開「直接載入zfs」這件事
可是結論是「把問題想得太簡單了」,zfs本身已經跟kernel完全綁死,並沒有「模組化」,導致kernel與ramdisk載入後的環境就已經無法移除zfs
留些翻過的資料,或許以後還用的到:
x86: 使用自訂 JumpStart 程式與 GRUB 執行安裝或升級

zfsadm 發表在 痞客邦 留言(0) 人氣()

Server:
share -F nfs -o rw=192.168.0.8,root=192.168.0.8 -d "foreclipse" /
unshare /
Define it on BOTH rw= and root=

zfsadm 發表在 痞客邦 留言(0) 人氣()

從GUI設定IP基本上是個簡單的方法,但是若安裝純文字介面就會有許多問題
設定方法如下:




svcadm disable svc:/network/physical:nwam
svcadm enable svc:/network/physical:default
dladm show-link
ipadm create-if net0
ipadm create-addr -T static -a 192.168.0.231/24 net0/v4
ipadm show-addr





zfsadm 發表在 痞客邦 留言(0) 人氣()

Comparisons
List of Operating Systems, Distros and add-ons that support ZFS, the zpool version it supports, and the Solaris build they are based on (if any):


OSZpool versionSun/Oracle Build #Comments



Oracle Solaris 11 2011.11
33
b175
 


Oracle Solaris Express 11 2010.11
31
b151a
licensed for testing only


OpenSolaris 2009.06
14
b111b
 


OpenSolaris (last dev)
22
b134
 


OpenIndiana
28
b147
OpenIndiana creates a name clash with naming their code b151a


Nexenta Core 3.0.1
26
b134+
GNU userland


NexentaStor Community 3.1.0
28
b134+
GNU userland


NexentaStor Community 3.0.1
26
b134+
up to 18 TB, web admin


NexentaStor Enterprise
28
b134 +
not free, web admin


FreeBSD 8.2-RELEASE
15
 
no CIFS or iSCSI


FreeBSD 8-STABLE / 9-CURRENT
28
 
no CIFS or iSCSI


Linux FUSE 0.7.0
23
 
low efficiency


Native Linux port (LLNL)
28
 
no stable POSIX layer, release candidate has basic POSIX layer


Native Linux port (KQ Infotech)
28
 
includes POSIX layer


Belenix 0.8b1
14
b111
 


Schillix 0.7.2
28
b147
 


StormOS "hail"
 
 
based on Nexenta


Jaris
 
 
Japanese


MilaX 0.5
20
b128a
small size


FreeNAS 8.0.2
15
 
 


Korona 4.5.0
22
b134
KDE


EON NAS
22
b130
embedded NAS


Mac OS X 10.6 (kernel extension / module)
8
 
Somewhat stable with installable packages for those who wish to use it and test, 1 reported crash. Project Page


Mac OS X 10.6/10.7 (Z-410)
 
 
Commercial/nonfree port. Currently (November 2011) in beta. [1]



zfsadm 發表在 痞客邦 留言(0) 人氣()

error message
使用pietty無法登入OpenIndiana,理由是pietty不支援度DES加密,所以會出現類似下圖:
 
 至於解決方法,就是改用putty即可

zfsadm 發表在 痞客邦 留言(1) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。