DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-07-08 10:44:27

csab
Member
Registered: 2008-07-07
Posts: 7

rsync from suse to dns232 - HDD hang on problem...

hello,

im from german, and my english is not so good. sry for that...

i have a problem with the rsync from suse 10.1 to the nas.
rsync runs in the night and on morning both LEDs are red and the nas are not reachable over the the network. looks like samba crashed...
over telnet the nas are reachable. restart samba with smb restart dosnt work...

on dns323 installed:
firmware version: 1.05
kernek: 2.6.12.6-arm1
funplug version: 0.4
rsync version:  2.6.9

on server installed:
suse: 10.1
kernel: 2.6.16.21-0.25-smp
rsync  version 2.6.6

have every one a idea, why the dns323 hang on when i rsync the server?

thx and have a nice day

best regards csab

Offline

 

#2 2008-07-08 11:09:36

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: rsync from suse to dns232 - HDD hang on problem...

csab wrote:

i have a problem with the rsync from suse 10.1 to the nas.
rsync runs in the night and on morning both LEDs are red and the nas are not reachable over the the network. looks like samba crashed...
over telnet the nas are reachable. restart samba with smb restart dosnt work...

I suppose, you're using rsync to copy to a smb/cifs-mounted directory. If samba dies, it's a firmware problem and you should report that to dlink. To work around the problem, you might want to try using an rsync- or nfs-server on your nas. That way, samba won't be involved.

Offline

 

#3 2008-07-09 14:46:26

csab
Member
Registered: 2008-07-07
Posts: 7

Re: rsync from suse to dns232 - HDD hang on problem...

hi,

ist doch auf nas installiert:

on dns323 installed:
firmware version: 1.05
kernek: 2.6.12.6-arm1
funplug version: 0.4
rsync version:  2.6.9

on server installed:
suse: 10.1
kernel: 2.6.16.21-0.25-smp
rsync  version 2.6.6


sollte ich zurück auf die 1.04 gehen ?

grüße

Offline

 

#4 2008-07-09 14:54:34

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: rsync from suse to dns232 - HDD hang on problem...

Installing rsync on the DNS-323 doesn't help anything if you don't use it. Please show the exact commands you use.

Offline

 

#5 2008-07-09 15:35:57

csab
Member
Registered: 2008-07-07
Posts: 7

Re: rsync from suse to dns232 - HDD hang on problem...

hi,

i use rsync. the rsync is working. dayli @ 22, 23 and 0h - 3 servers are running rsync to the nas.
but in the morning @ 9:00h both led's lighting and the nas are not reachable over the network. (netzlaufwerk)

in console `# ps`:

this are not running in the morning:
1493 root     /usr/sbin/samba/smbd -D
1497 root     /usr/sbin/samba/nmbd -D
1501 root     /usr/sbin/samba/smbd -D



commands:

on server:
----
/usr/bin/rsync -az $BACKUPDIRPARAMETER 172.16.1.104::NAS2_Pluto/$WOCHENTAG/
----

in cfg on nas:
----
uid = root
gid = root

read only = false
use chroot = true
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log

[NAS2_Pluto]
    path = /mnt/HD_a2/Backups/pluto
    read only = no

----

thx m8

grüße

ps: pm bekommen? smile

Last edited by csab (2008-07-09 16:12:10)

Offline

 

#6 2008-07-09 16:42:11

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: rsync from suse to dns232 - HDD hang on problem...

I don't see how this might kill samba, except maybe through the OOM-killer. You might want to check output of dmesg or /var/log/messages for out-of-memory errors.

Offline

 

#7 2008-07-09 17:11:45

csab
Member
Registered: 2008-07-07
Posts: 7

Re: rsync from suse to dns232 - HDD hang on problem...

mhhh...

i can find nothing in messages...
in attatchmend i have uploadet the message file. maybee u can see more smile

thx

regards csab


Attachments:
Attachment Icon messages.txt, Size: 29,540 bytes, Downloads: 249

Offline

 

#8 2008-07-09 17:30:53

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: rsync from suse to dns232 - HDD hang on problem...

Of course, you need a log file that captures the 'crash' event. This one is from 15:49 to 15:50...

Offline

 

#9 2008-07-09 17:34:43

csab
Member
Registered: 2008-07-07
Posts: 7

Re: rsync from suse to dns232 - HDD hang on problem...

ohh, lol sry...
ok, so i'll check it tomorrow.
thx for today smile
regards csab

Offline

 

#10 2008-07-10 10:19:25

csab
Member
Registered: 2008-07-07
Posts: 7

Re: rsync from suse to dns232 - HDD hang on problem...

good morning smile

the first what i have see is, that the nas have send me many e-mail allerts:

the first are
Received: (qmail 26250 invoked from network); 10 Jul 2008 02:15:26 +0200

and the last
Received: (qmail 8583 invoked from network); 10 Jul 2008 08:44:43 +0200

---
Hello Administrator,

Left Hard Drive Has Failed
Right Hard Drive Has Failed

Sincerely,
Your DNS-323
---

in attatchments are the logfiles.

so the HDDs are failed? but why? i can find nothing... sad

mdadm says:

---
/ # mdadm -D /dev/md0
/dev/md0:
        Version : 00.90.01
  Creation Time : Tue Feb 26 20:28:06 2008
     Raid Level : raid1
     Array Size : 486544512 (464.01 GiB 498.22 GB)
    Device Size : 486544512 (464.01 GiB 498.22 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Jul 10 08:52:02 2008
          State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
  Spare Devices : 0

           UUID : e60dc8e6:79d928e3:d248fe50:d068f9d4
         Events : 0.715747

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2
/ #
---

and in the mdstat:

---
/ # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1]
md0 : active raid1 sda2[0] sdb2[1]
      486544512 blocks [2/2] [UU]

unused devices: <none>
---

both looks like ok to me.

many thx for ur help ... und grüße nach berlin wink

regards csab

Last edited by csab (2008-07-10 10:30:05)


Attachments:
Attachment Icon messages_dmesg.zip, Size: 9,741 bytes, Downloads: 234

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB