IPマスカレードなどのNAT環境下にいる場合、もしくはそのようなホストへ接続する場合に、TCPセッションがNATテーブルから消えることによりセッションがリセットされる場合があります。これを防止する場合は PuTTY の場合「接続の設定」で下記設定を60秒などに設定します。
Keepalive の間隔 (0秒でオフ)
これにより、 PuTTY が定期的にダミーパケットを送出するため TCP セッション切れを防止できます。
# # $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $ # # Sample auto.master file # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # For details of the format look at autofs(5). #/misc /etc/auto.misc --timeout=60 #/smb /etc/auto.smb #/misc /etc/auto.misc #/net /etc/auto.net /export /etc/auto.export /dvd /etc/auto.dvd --timeout=60
#!/usr/bin/perl
($key) = @ARGV;
$dvd = sprintf('/export/archives/ISO/%s.ISO', $key);
if (-e $dvd) {
print " -fstype=auto,ro,loop :$dvd\n";
}
'
' スクリーンセーバを auslogics disk defrag に設定する
'
SS_DEFRAG = "C:\WINDOWS\system32\MYDEFR~1.SCR"
HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Control Panel\Desktop"
objReg.CreateKey HKEY_CURRENT_USER, strKeyPath
objReg.SetStringValue HKEY_CURRENT_USER, strKeyPath, "SCRNSAVE.EXE", SS_DEFRAG
' すでに別のスクリーンセーバ(logon.scr)が動作していたら、そのスクリーンセーバーを
' ストップさせる。
Set objShell = CreateObject("Wscript.Shell")
r = objShell.Run("taskkill /F /IM logon.scr", 1, True)
'
' スクリーンセーバを auslogics disk defrag に設定する
'
SS_DEFRAG = "C:\Windows\aus_ddss.scr"
HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Control Panel\Desktop"
objReg.CreateKey HKEY_CURRENT_USER, strKeyPath
objReg.SetStringValue HKEY_CURRENT_USER, strKeyPath, "SCRNSAVE.EXE", SS_DEFRAG
'
' スクリーンセーバを login.scr に設定する
'
SS_DEFRAG = "C:\Windows\SYSTEM32\logon.scr"
HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Control Panel\Desktop"
objReg.CreateKey HKEY_CURRENT_USER, strKeyPath
objReg.SetStringValue HKEY_CURRENT_USER, strKeyPath, "SCRNSAVE.EXE", SS_DEFRAG
root@opensolaris:~# zpool import pool: array1 id: 12644204788362156509 state: DEGRADED status: The pool was last accessed by another system. action: The pool can be imported despite missing or damaged devices. The fault tolerance of the pool may be compromised if imported. see: http://www.sun.com/msg/ZFS-8000-EY config: array1 DEGRADED raidz1 DEGRADED c5t0d0p1 ONLINE c5t1d0p1 FAULTED corrupted data c4t1d0p1 ONLINE
root@opensolaris:~# zpool import pool: array1 id: 12644204788362156509 state: FAULTED status: The pool was last accessed by another system. action: The pool cannot be imported due to damaged devices or data. The pool may be active on another system, but can be imported using the '-f' flag. see: http://www.sun.com/msg/ZFS-8000-EY config: array1 FAULTED corrupted data raidz1-0 FAULTED corrupted data c5t0d0p1 ONLINE c5t1d0p1 FAULTED corrupted data c4t1d0p1 ONLINE
root@opensolaris:~# zpool import -Ff array1 cannot share 'array1/timemachine': iscsitgtd failed request to share cannot share 'array1/iscsi/elena4': iscsitgtd failed request to share
root@opensolaris:~# zpool import -f array1 cannot import 'array1': one or more devices is currently unavailable Destroy and re-create the pool from a backup source.
1556 /* 1557 * zpool import [-d dir] [-D] 1558 * import [-o mntopts] [-o prop=value] ... [-R root] [-D] 1559 * [-d dir | -c cachefile] [-f] -a 1560 * import [-o mntopts] [-o prop=value] ... [-R root] [-D] 1561 * [-d dir | -c cachefile] [-f] [-n] [-F] <pool | id> [newpool] (..snip..) 1582 * -f Force import, even if it appears that the pool is active. 1583 * 1584 * -F Attempt rewind if necessary. 1585 *