通过SSH远程拷出日志-网页无法登陆
<ol>
<li>查看系统磁盘及系统信息信息
a. 通过diskshow –a 查看磁盘,sysinfoshow查看系统信息。</li>
</ol>
<p>sv3000G2:/> cd /home/release/
sv3000G2:/home/release> ./ucli
uit>diskshow -a</p>
<p>通过sysinfoshow 查看系统信息
uit>sysinfoshow
Information of Controller in Slot 1
Controller S/N : 500024ec50000100
Product S/N : 0196b373140000cb
UniCore FW : 1.0.1 Build 25876
OS version : 3.9
BIOS version : 5
Expander FW : B026
SAS Chip FW : 1.12.2.0
SES version : 1.1
Memory Size : 4096 MB
DiskCount : 16
JBOD Count : 0
Storage capacity : 32000 GB
SystemType : SV3000G2
SystemName : SV3000G2
Operation Time : 18 Hour
Up Time : 06:00
Nic Network Info
IP : 172.16.20.160
Netmask : 255.255.255.0
Gateway : 172.16.20.1
CPU Info
Cores : 2
Vendor Id : GenuineIntel
Model Name : Intel(R) Pentium(R) CPU G850 @ 2.90GHz
Interface Cards Info
Cards Count : 2
Cards Type : BACK SAS 1Port
FRONT GE1G 4Port</p>
<p>2.通过sv3000G2:/proc/SV3000G2/raid> cat raidsets
sv3000G2:/proc/SV3000G2/raid> cat raidsets
RAID number: 0 pending:0 waiting:0
version:0
len:576
update:2
raid_unique:0x336e4754,0x4d493931
device_num:0
n_spares:0
check_spares:0
block_to_go:0x0
row_start_stripes[0]:0x0
row_num_stripes[0]:0x745b6b
This raid has 15 data disks, 0 spare disks</p>
<ol>
<li>收集日志信息,在/var/log/目录下面的messages及uitlog信息</li>
</ol>
<p>sv3000G2:~> cd /var/log/
sv3000G2:/var/log> ls
NetworkManager boot.log firewall mail.err mail.warn messages.0 ntp spooler warn
acpid cron mail mail.info messages news snmpd.log uitlog wtmp</p>
<ol>
<li>收集debugtool信息
sv3000G2:/update> cd /home/
sv3000G2:/home> cd release/
sv3000G2:/home/release> ./debug
./debug_server ./debugmon ./debugtool_server.sh
sv3000G2:/home/release> ./debugtool_server.sh
Start to collect debug information, please wait!</li>
</ol>
<p>=========================/proc/SV5000/cache
=========================/proc/SV5000/cod
=========================/proc/SV5000/device
=========================/proc/SV5000/dm
=========================/proc/SV5000/dom
=========================/proc/SV5000/fct
=========cat /proc/SV5000/kbuf
./debugtool_server.sh: line 99: /update/proc_dump/proc/SV5000/kbuf: No such file or directory
=========================/proc/SV5000/lun
=========================/proc/SV5000/mmap
========cat /proc/SV5000/monarch
./debugtool_server.sh: line 109: /update/proc_dump/proc/SV5000/monarch: No such file or directory
=========================/proc/SV5000/platform
=========================/proc/SV5000/raid
=========================/proc/SV5000/service
=========================/proc/SV5000/snapshot
=========================/proc/SV5000/target
=========================/proc/SV5000/trace
=========================/proc/SV5000/vms</p>
<p>Completed debug information collection
32768+0 records in
32768+0 records out
cat: can't open '/proc/sys/kernel/hung_task_timeout_secs': No such file or directory
/home/release/core.ko
/home/release</p>
<ol>
<li>运行完成生成的文件保留在update目录下面。
sv3000G2:/home/release> cd /update/
sv3000G2:/update> ls
backup debug_iscsiiniadm debug_monitor debug_open debug_sinit dolog_debug lost+found sysinfo.txt
debug_fileout debug_linkin debug_nm debug_server debug_ucli etc metadata
debug_ha debug_log debug_notify debug_service debuginfo.tar.gz ftp monitor_debug</li>
</ol>
<p> </p>