Lacie 5bign_v2 support

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 9:16 pm

:scratch this seems a big job.
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 9:18 pm

Jocko wrote:Yes can manually start it by this command
Code: Select all
/usr/bin/fanctld -l 45 -u 50 /dev/sda /dev/sdb


every time that the nas starting? or it save the config command?
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 9:20 pm

Done :)
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Jocko » Tue May 14, 2013 9:23 pm

and the ps output :tapfoot

if it runs just we must only add a line in the boot script...

if not use this command
Code: Select all
/usr/bin/fanctld -l 45 -u 50 -d on /dev/sda /dev/sdb
(note "-d on")

and post the output
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 9:27 pm

the first command don't give an Output. se second yes:

Code: Select all
login as: root
root@192.168.1.189's password:
root@fvdwsl-base:/ # /usr/bin/fanctld -l 45 -u 50 /dev/sda /dev/sdb
root@fvdwsl-base:/ #
root@fvdwsl-base:/ # /usr/bin/fanctld -l 45 -u 50 -d on /dev/sda /dev/sdb
fanctld: get_uboot_thresholds(): buf=console=ttyS0,115200 root=/dev/sda7 ro reset=0 productType=BIG5_KW cap=gpt,lba64

fanctld: get_uboot_thresholds(): failed !

FANCTLD: check_disk Fri Jul 20 17:34:05 2012

FANCTLD: getting disk status for device on
FANCTLD: unable to open device on
FANCTLD: getting disk status for device /dev/sda
FANCTLD: turning fan onFANCTLD: SCSI_IOCTL_SEND_COMMAND, returned nonzero

FANCTLD: exiting after signal 15root@fvdwsl-base:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Jocko » Tue May 14, 2013 9:28 pm

:whistle and the output of the command "ps axf"
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 9:30 pm

oh, that code:

Code: Select all
login as: root
root@192.168.1.189's password:
root@fvdwsl-base:/ # ps axf
  PID TTY      STAT   TIME COMMAND
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00  \_ [ksoftirqd/0]
    4 ?        S      0:00  \_ [kworker/0:0]
    5 ?        S      0:00  \_ [kworker/u:0]
    6 ?        S<     0:00  \_ [khelper]
    7 ?        S      0:00  \_ [kworker/u:1]
  194 ?        S      0:00  \_ [sync_supers]
  196 ?        S      0:00  \_ [bdi-default]
  197 ?        S<     0:00  \_ [kblockd]
  202 ?        S<     0:00  \_ [ata_sff]
  213 ?        S      0:00  \_ [khubd]
  220 ?        S<     0:00  \_ [md]
  240 ?        S<     0:00  \_ [rpciod]
  242 ?        S      0:00  \_ [kworker/0:1]
  248 ?        S      0:00  \_ [kswapd0]
  296 ?        S      0:00  \_ [fsnotify_mark]
  310 ?        S<     0:00  \_ [unionfs_siod]
  311 ?        S<     0:00  \_ [nfsiod]
  326 ?        S      0:00  \_ [jfsIO]
  327 ?        S      0:00  \_ [jfsCommit]
  328 ?        S      0:00  \_ [jfsSync]
  336 ?        S<     0:00  \_ [xfs_mru_cache]
  337 ?        S<     0:00  \_ [xfslogd]
  338 ?        S<     0:00  \_ [xfsdatad]
  339 ?        S<     0:00  \_ [xfsconvertd]
  340 ?        S<     0:00  \_ [crypto]
  419 ?        S      0:00  \_ [scsi_eh_0]
  422 ?        S      0:00  \_ [scsi_eh_1]
  425 ?        S      0:00  \_ [kworker/u:2]
  426 ?        S      0:00  \_ [kworker/u:3]
  432 ?        S<     0:00  \_ [smflush]
  438 ?        S<     0:00  \_ [orion_spi]
  443 ?        S      0:00  \_ [mtdblock0]
  448 ?        S      0:00  \_ [mtdblock1]
  519 ?        S      0:00  \_ [mv_crypto]
  571 ?        S      0:00  \_ [kworker/u:4]
  576 ?        S      0:00  \_ [kworker/u:5]
  623 ?        S      0:00  \_ [kjournald]
  648 ?        S      0:00  \_ [kjournald]
  696 ?        S<     0:00  \_ [iscsi_eh]
  798 ?        S      0:00  \_ [flush-8:16]
  814 ?        S      0:00  \_ [kjournald]
  817 ?        S      0:00  \_ [kjournald]
  818 ?        S      0:00  \_ [flush-8:0]
    1 ?        Ss     0:00 init
  636 ?        Ss     0:00 /usr/sbin/buttons-nwsp2
  807 ?        Ss     0:00 /usr/sbin/noflushd -n 5 /dev/sda
  849 ?        Ss     0:00 /sbin/udhcpc -b -i eth0 -s /etc/api/api_dhcpc.php dhc
  858 ?        S<s    0:00 /sbin/udevd
  867 ?        Ss     0:01 /usr/bin/httpd -f httpd.conf -d /etc
  874 ?        S      0:00  \_ /usr/bin/httpd -f httpd.conf -d /etc
  881 ?        Ss     0:00 /usr/sbin/nmbd -D -l /var/log/samba
  884 ?        Ss     0:00 /usr/sbin/smbd -D -l /var/log/samba
  891 ?        S      0:00  \_ /usr/sbin/smbd -D -l /var/log/samba
  894 ?        S<s    0:00 /usr/sbin/syncawayd -n 3
  896 ?        Ss     0:00 /usr/sbin/portmap
  908 ?        Ss     0:00 dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_ho
  957 ?        Ss     0:00  \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rs
  973 ttyp0    Ss+    0:00  |   \_ -sh
 1001 ?        Ss     0:00  \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rs
 1002 ttyp1    Ss     0:00      \_ -sh
 1010 ttyp1    R+     0:00          \_ ps axf
  922 ?        Ss     0:00 /usr/sbin/hostd 7200
  967 ?        Ss     0:00 /bin/sh
root@fvdwsl-base:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 9:31 pm

was it did all in sequence maybe??....
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Jocko » Tue May 14, 2013 9:34 pm

so it seems the daemon fails to start (do you have close the putty window after running the fan and open again the putty window to make the ps output ?)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 9:39 pm

yes because i hadn't understand the right sequence. And for reply over internet i've do disable the lan, so the putty gone offline every time :) here the 2 actions with output:

Code: Select all
login as: root
root@192.168.1.189's password:
root@fvdwsl-base:/ # /usr/bin/fanctld -l 45 -u 50 /dev/sda /dev/sdb
root@fvdwsl-base:/ # ps axf
  PID TTY      STAT   TIME COMMAND
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00  \_ [ksoftirqd/0]
    6 ?        S<     0:00  \_ [khelper]
    7 ?        S      0:00  \_ [kworker/u:1]
  194 ?        S      0:00  \_ [sync_supers]
  196 ?        S      0:00  \_ [bdi-default]
  197 ?        S<     0:00  \_ [kblockd]
  202 ?        S<     0:00  \_ [ata_sff]
  213 ?        S      0:00  \_ [khubd]
  220 ?        S<     0:00  \_ [md]
  240 ?        S<     0:00  \_ [rpciod]
  242 ?        S      0:00  \_ [kworker/0:1]
  248 ?        S      0:00  \_ [kswapd0]
  296 ?        S      0:00  \_ [fsnotify_mark]
  310 ?        S<     0:00  \_ [unionfs_siod]
  311 ?        S<     0:00  \_ [nfsiod]
  326 ?        S      0:00  \_ [jfsIO]
  327 ?        S      0:00  \_ [jfsCommit]
  328 ?        S      0:00  \_ [jfsSync]
  336 ?        S<     0:00  \_ [xfs_mru_cache]
  337 ?        S<     0:00  \_ [xfslogd]
  338 ?        S<     0:00  \_ [xfsdatad]
  339 ?        S<     0:00  \_ [xfsconvertd]
  340 ?        S<     0:00  \_ [crypto]
  419 ?        S      0:00  \_ [scsi_eh_0]
  422 ?        S      0:00  \_ [scsi_eh_1]
  426 ?        S      0:00  \_ [kworker/u:3]
  432 ?        S<     0:00  \_ [smflush]
  438 ?        S<     0:00  \_ [orion_spi]
  443 ?        S      0:00  \_ [mtdblock0]
  448 ?        S      0:00  \_ [mtdblock1]
  519 ?        S      0:00  \_ [mv_crypto]
  623 ?        S      0:00  \_ [kjournald]
  648 ?        S      0:00  \_ [kjournald]
  696 ?        S<     0:00  \_ [iscsi_eh]
  814 ?        S      0:00  \_ [kjournald]
  817 ?        S      0:00  \_ [kjournald]
 1014 ?        S      0:00  \_ [kworker/0:2]
 1015 ?        S      0:00  \_ [flush-8:16]
 1016 ?        S      0:00  \_ [flush-8:0]
    1 ?        Ss     0:00 init
  636 ?        Ss     0:00 /usr/sbin/buttons-nwsp2
  807 ?        Ss     0:00 /usr/sbin/noflushd -n 5 /dev/sda
  849 ?        Ss     0:00 /sbin/udhcpc -b -i eth0 -s /etc/api/api_dhcpc.php dhcpdCbS
  858 ?        S<s    0:00 /sbin/udevd
  867 ?        Ss     0:01 /usr/bin/httpd -f httpd.conf -d /etc
  874 ?        S      0:00  \_ /usr/bin/httpd -f httpd.conf -d /etc
  881 ?        Ss     0:00 /usr/sbin/nmbd -D -l /var/log/samba
  884 ?        Ss     0:00 /usr/sbin/smbd -D -l /var/log/samba
  891 ?        S      0:00  \_ /usr/sbin/smbd -D -l /var/log/samba
  894 ?        S<s    0:00 /usr/sbin/syncawayd -n 3
  896 ?        Ss     0:00 /usr/sbin/portmap
  908 ?        Ss     0:00 dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_host_ke
  957 ?        Ss     0:00  \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_hos
  973 ttyp0    Ss+    0:00  |   \_ -sh
 1001 ?        Ss     0:00  \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_hos
 1002 ttyp1    Ss+    0:00  |   \_ -sh
 1017 ?        Ss     0:00  \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_hos
 1018 ttyp2    Ss     0:00      \_ -sh
 1035 ttyp2    R+     0:00          \_ ps axf
  922 ?        Ss     0:00 /usr/sbin/hostd 7200
  967 ?        Ss     0:00 /bin/sh
root@fvdwsl-base:/ #



Code: Select all
root@fvdwsl-base:/ # /usr/bin/fanctld -l 45 -u 50 -d on /dev/sda /dev/sdb
fanctld: get_uboot_thresholds(): buf=console=ttyS0,115200 root=/dev/sda7 ro reset=0 productType=BIG5_KW cap=gpt,lba64

fanctld: get_uboot_thresholds(): failed !

FANCTLD: check_disk Fri Jul 20 17:44:50 2012

FANCTLD: getting disk status for device on
FANCTLD: unable to open device on
FANCTLD: getting disk status for device /dev/sda
FANCTLD: turning fan onFANCTLD: SCSI_IOCTL_SEND_COMMAND, returned nonzero

FANCTLD: exiting after signal 15root@fvdwsl-base:/ # ps axf
  PID TTY      STAT   TIME COMMAND
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00  \_ [ksoftirqd/0]
    6 ?        S<     0:00  \_ [khelper]
    7 ?        S      0:00  \_ [kworker/u:1]
  194 ?        S      0:00  \_ [sync_supers]
  196 ?        S      0:00  \_ [bdi-default]
  197 ?        S<     0:00  \_ [kblockd]
  202 ?        S<     0:00  \_ [ata_sff]
  213 ?        S      0:00  \_ [khubd]
  220 ?        S<     0:00  \_ [md]
  240 ?        S<     0:00  \_ [rpciod]
  242 ?        S      0:00  \_ [kworker/0:1]
  248 ?        S      0:00  \_ [kswapd0]
  296 ?        S      0:00  \_ [fsnotify_mark]
  310 ?        S<     0:00  \_ [unionfs_siod]
  311 ?        S<     0:00  \_ [nfsiod]
  326 ?        S      0:00  \_ [jfsIO]
  327 ?        S      0:00  \_ [jfsCommit]
  328 ?        S      0:00  \_ [jfsSync]
  336 ?        S<     0:00  \_ [xfs_mru_cache]
  337 ?        S<     0:00  \_ [xfslogd]
  338 ?        S<     0:00  \_ [xfsdatad]
  339 ?        S<     0:00  \_ [xfsconvertd]
  340 ?        S<     0:00  \_ [crypto]
  419 ?        S      0:00  \_ [scsi_eh_0]
  422 ?        S      0:00  \_ [scsi_eh_1]
  426 ?        S      0:00  \_ [kworker/u:3]
  432 ?        S<     0:00  \_ [smflush]
  438 ?        S<     0:00  \_ [orion_spi]
  443 ?        S      0:00  \_ [mtdblock0]
  448 ?        S      0:00  \_ [mtdblock1]
  519 ?        S      0:00  \_ [mv_crypto]
  623 ?        S      0:00  \_ [kjournald]
  648 ?        S      0:00  \_ [kjournald]
  696 ?        S<     0:00  \_ [iscsi_eh]
  814 ?        S      0:00  \_ [kjournald]
  817 ?        S      0:00  \_ [kjournald]
 1014 ?        S      0:00  \_ [kworker/0:2]
 1015 ?        S      0:00  \_ [flush-8:16]
 1016 ?        S      0:00  \_ [flush-8:0]
    1 ?        Ss     0:00 init
  636 ?        Ss     0:00 /usr/sbin/buttons-nwsp2
  807 ?        Ss     0:00 /usr/sbin/noflushd -n 5 /dev/sda
  849 ?        Ss     0:00 /sbin/udhcpc -b -i eth0 -s /etc/api/api_dhcpc.php dhcpdCbS
  858 ?        S<s    0:00 /sbin/udevd
  867 ?        Ss     0:01 /usr/bin/httpd -f httpd.conf -d /etc
  874 ?        S      0:00  \_ /usr/bin/httpd -f httpd.conf -d /etc
  881 ?        Ss     0:00 /usr/sbin/nmbd -D -l /var/log/samba
  884 ?        Ss     0:00 /usr/sbin/smbd -D -l /var/log/samba
  891 ?        S      0:00  \_ /usr/sbin/smbd -D -l /var/log/samba
  894 ?        S<s    0:00 /usr/sbin/syncawayd -n 3
  896 ?        Ss     0:00 /usr/sbin/portmap
  908 ?        Ss     0:00 dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_host_ke
  957 ?        Ss     0:00  \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_hos
  973 ttyp0    Ss+    0:00  |   \_ -sh
 1001 ?        Ss     0:00  \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_hos
 1002 ttyp1    Ss+    0:00  |   \_ -sh
 1017 ?        Ss     0:00  \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_hos
 1018 ttyp2    Ss     0:00      \_ -sh
 1068 ttyp2    R+     0:00          \_ ps axf
  922 ?        Ss     0:00 /usr/sbin/hostd 7200
  967 ?        Ss     0:00 /bin/sh
root@fvdwsl-base:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 4 guests