Page 1 of 1

Server is acting strange after power outage - slow and ssh disconnects

Posted: 23 Feb 2015 20:15
by pup26
Hi

Hope I am using the correct message template, if I am wrong please notify me.

After having a long power outage the server behaves very strange.
after starting the system, it takes ssh a lot of time to answer.
when opening a ssh connection it disconnects after a few seconds. after a few minutes I can start a new ssh connection but i get a shut in my face again after a few seconds.
Also the web interface behaves similiar...
I don't jave ping during the network outage.
as you understand its quite hard to debug this, but I tried to look at CPU usage and see no issue here.

/dev and /proc are 100%, don't understand why.

Thanks for any help/debugging leads

Re: Server is acting strange after power outage - slow and ssh disconnects

Posted: 23 Feb 2015 21:14
by pup26
Seem to be the network issue, I don't see anything in the logs. network keep switching up/down (via ping)

Re: Server is acting strange after power outage - slow and ssh disconnects

Posted: 23 Feb 2015 21:15
by b0ssman
what version of nas4free are you running? embedded or full?

are you running zfs? soft raid?
what kind? how many disks.

post the dmesg output

Re: Server is acting strange after power outage - slow and ssh disconnects

Posted: 23 Feb 2015 21:18
by pup26
Version 0.7.2 Sabanda (revision 8191)
Built on Sun Oct 9 19:21:38 JST 2011
OS Version FreeBSD 7.3-RELEASE-p7 (revision 199506)
Platform i386-full on AMD Sempron(tm) Processor LE-1250
.no raid is running. I have 2 disks

Re: Server is acting strange after power outage - slow and ssh disconnects

Posted: 23 Feb 2015 21:26
by b0ssman
again please post the dmesg output.

also post the smart values of your drives.

Re: Server is acting strange after power outage - slow and ssh disconnects

Posted: 23 Feb 2015 21:47
by pup26
dmesg:

sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2210082872 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to accept, logging limited to 5 packets/entry by default
acd0: DVDR <HL-DT-STDVD-RAM GSA-H55L/1.05> at ata0-master UDMA66
ad3: DMA limited to UDMA33, device found non-ATA66 cable
ad3: 476938MB <WDC WD5000AAKS-07YGA0 12.01C02> at ata1-slave UDMA33
ad6: 1907729MB <SAMSUNG HD204UI 1AQ10001> at ata3-master SATA300
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SanDisk Cruzer 6.01> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 1924MB (3942399 512 byte sectors: 255H 63S/T 245C)
Trying to mount root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
/: mount pending error: blocks 40 files 2
WARNING: /mnt/disk2 was not properly dismounted
WARNING: /mnt/disk1 was not properly dismounted
re0: link state changed to UP



smart:
how do i get smart results?

Re: Server is acting strange after power outage - slow and ssh disconnects

Posted: 24 Feb 2015 07:24
by b0ssman
first of all you have file system errors.

see
http://wiki.nas4free.org/doku.php?id=faq:0001

i never used the old freenas version, so i dont know if there is a gui for it .

from the command line its

smartctl --all <device>
replace device with each device

Re: Server is acting strange after power outage - slow and ssh disconnects

Posted: 24 Feb 2015 21:42
by pup26
Stil haven't run the SMART test, but tried disconnecting the hard drive to see what happens. so the large hard drive is the one that failing the system. I will try to unmount and remount it.

Re: Server is acting strange after power outage - slow and ssh disconnects

Posted: 25 Feb 2015 07:16
by pup26
quite strange. after deleting the Hard Drive from the machine via the web interface, I can't even ping the machine anymore....