Tổng hợp các bài viết về dòng NAS chuyên nghiệp Buffalo

nhnam100

New Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

Bạn cài smartctl (smart control) nhé
Cài Smartmontools trong đó có smart control
ipkg install smartmontools
Nhưng rất đáng tiếc hình như là LS-GL tôi thử không hỗ trợ thì phải

root@BAK-NV5:~# smartctl --all /dev/sda
smartctl 5.39 2009-01-14 02:39 [arm-none-linux-gnueabi] (local build)
Copyright (C) 2002-8 by Bruce Allen, http://smartmontools.sourceforge.net

Device: Seagate ST3250318AS Version: CC44
Device type: disk
Local Time is: Tue Nov 17 15:17:25 2009 ICT
Device does not support SMART

Error Counter logging not supported
Device does not support Self Test logging
 
Chỉnh sửa lần cuối:

TNTANH

Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

giờ đánh lệnh gì để coi nhiệt độ đây mấy bro (LS-XHL)
root@TNTANH-NAS:~# smartctl --all /dev/sda
smartctl 5.39 2009-01-14 02:39 [arm-none-linux-gnueabi] (local build)
Copyright (C) 2002-8 by Bruce Allen, http://smartmontools.sourceforge.net


Probable ATA device behind a SAT layer
Try an additional '-d ata' or '-d sat' argument.
root@TNTANH-NAS:~#
 

yaiba

New Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

Cài Smartmontools trong đó có smart control
ipkg install smartmontools
Nhưng rất đáng tiếc hình như là LS-GL tôi thử không hỗ trợ thì phải

giờ đánh lệnh gì để coi nhiệt độ đây mấy bro (LS-XHL)
Mã:
smartctl -a -d marvell /dev/sda
nó ra cả đống thông tin, em xem ko hiểu lắm
 

dunghnvn

Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

Các Bro cho hỏi Tôi cài đặt toàn bộ như hướng dẫn đều ok hết nhưng có điều trong quá trình chạy rTorrent thường báo lỗi erro đỏ sau đó lại xanh thỉnh thoảng lại đỏ sau lại xanh. Có ai bị như vậy ko ? đó có lỗi thiếu bộ nhớ ko vậy (giống Mtorrent cài ở máy PC). thỉnh thoảng ko vào đc rutorrent đến khi khởi dộng lai LS-XHL thì rtorrent check lại. Nản quá ko biết lỗi ở đâu. Xin hướng dẫn
 
Chỉnh sửa lần cuối:

Meg2k

New Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

Hình như smartmontools này không hỗ trợ LS-CHL/XHL :) để mò mẫm thử xem sao...

@dunghnvn: thường ruTorrent báo xanh hoặc đỏ thì bạn có thể double click lên torrent đó trong ruTorrent để xem chi tiết lỗi, nằm trong phần thông tin ngay bên dưới. Nếu torrent chuyển từ trạng thái đỏ sang xanh rồi lại đỏ rồi lại xanh thì thường không phải lỗi bộ nhớ (lỗi bộ nhớ thường là can not allocate memory và lúc này là stuck luôn, trừ phi bạn remove bớt torrent và khởi động lại rTorrent). Mình cũng gặp tình trạng này với private tracker của mình khi mình được cung cấp có 4 slots nhưng add torrent vào đến gần 15 cái một lúc ==> lỗi sẽ thấy là torrent limited ! Cái này do tracker của mình nó giới hạn một lần mình download được 4 torrent thôi :).

Muốn chắc chắn nữa thì bạn cài đặt htop vào để xem bộ nhớ có bị tràn hay không..
ipkg install htop

sau đó gõ lệnh htop để thấy thông tin bộ nhớ và swap của hệ thống...
 

TNTANH

Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

htop của mình

htop.png
 

Đính kèm

  • htop.jpg
    htop.jpg
    18.9 KB · Xem: 57
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

Chắc phải lụm con XHL chỗ bác Sonicn quá.... Con DHGL yếu quá. Hôm nay phải up lại ROM lần nữa.
Nó ko load dc lên luôn.
Mình kéo thường thì ko sao, nhưng cứ cắm HD là chết thôi.
Mình nghĩ do RAM nó ít quá, default nó load lên đã toi gần hết RAM rồi.
Mà sao con CHL cũng 128M mà mí bro chạy dc hả? kỳ nhở?

Update: Sau khi chạy htop thì thấy nó ngốn khá ít ram. mới có 32M sau khi chạy bittorrent gốc + trans.
Vậy tại sao em chết :))

@Meg2k: Bác thử cài lên LS-GL xem. Con này rẻ mà cấu hình thì y như DHGL. Fw có thể update qua lại dc.
 
Chỉnh sửa lần cuối:
Ðề: Hướng dẫn cấu hình chi tiết cho Buffalo Linkstation có thể down torrent

ngay cái login = root mình gõ pass gì cũng ko được , chỉ log = admin với pass vào web thui bạn, lục đó install ipkg có lúc hiện access denied , sao bây giờ
 

yaiba

New Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

Bác Meg2k,
Bác xem htop của bác TNTANH, sau khi chạy script của bác, nó load ra 1 đống php-fcgi, có cách nào bỏ bớt đi ko bác, chứ thế phí ram lắm :D
 
Ðề: Hướng dẫn cấu hình chi tiết cho Buffalo Linkstation có thể down torrent

Reset pass của nas:
Tải file acp_commander.jar.
Chạy lệnh bên dưới (trên máy phải có jdk hoặc jre rùi nha).
java -jar <đường dẫn đến file acp_commander.jar> -t <ip_của cái NAS> -o
 

arryo

Active Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

Mã:
smartctl -a -d marvell /dev/sda
nó ra cả đống thông tin, em xem ko hiểu lắm

tùy máy thì câu lệnh nhiệt độ hơi khác tí:

Ubuntu : sudo smartctl -a /dev/sda | grep Temperature_Celsius

MBWE; sudo smartctl -a /dev/sda | grep Temp
 

nhnam100

New Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

Mã:
smartctl -a -d marvell /dev/sda
nó ra cả đống thông tin, em xem ko hiểu lắm

Cám ơn nhé ok rồi
Mã:
root@NAS:~# smartctl -a -d marvell /dev/sda
smartctl 5.39 2009-01-14 02:39 [arm-none-linux-gnueabi] (local build)
Copyright (C) 2002-8 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.10 family
Device Model:     ST3250310AS
Serial Number:    6RYF7FPV
Firmware Version: 4.AAA
User Capacity:    250,059,350,016 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Wed Nov 18 06:17:07 2009 ICT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                 ( 430) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  64) minutes.
SCT capabilities:              (0x0001) SCT Status supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   253   006    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0003   098   098   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1182
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   071   060   030    Pre-fail  Always       -       12603684
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       376
 10 Spin_Retry_Count        0x0013   100   099   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1207
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   063   050   045    Old_age   Always       -       37 (Lifetime Min/Max 26/50)
194 Temperature_Celsius     0x0022   037   050   000    Old_age   Always       -       37 (0 26 0 0)
195 Hardware_ECC_Recovered  0x001a   076   064   000    Old_age   Always       -       175933082
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Đưa ra tất cả các thông tin trong đó có cả nhiệt độ đó ID 190 và 194

Muốn đưa thông tin vào trình duyệt cần phải sử dụng rrdtool và một số đồ chơi nữa, sẽ nghiên cứu và thông báo sau, module rrdtool đã cài rồi nhưng còn thiếu một số món nữa.
 

TNTANH

Member
Ðề: Hướng dẫn cấu hình chi tiết cho Buffalo Linkstation có thể down torrent

ngay cái login = root mình gõ pass gì cũng ko được , chỉ log = admin với pass vào web thui bạn, lục đó install ipkg có lúc hiện access denied , sao bây giờ

mặc định là root ko có password
 

puma07

Member
Ðề: Hướng dẫn cấu hình chi tiết cho Buffalo Linkstation có thể down torrent

mình telnet vào NAS thì được
còn SSH thì lại ko được :-<
user nào cũng ko được :-<
 

puma07

Member
Ðề: Hướng dẫn cấu hình chi tiết cho Buffalo Linkstation có thể down torrent

mình đã mở sshd rồi, nhưng đăng nhập viết đúng pass nhưng nó báo Access deny :-<
 

puma07

Member
Ðề: Hướng dẫn cấu hình chi tiết cho Buffalo Linkstation có thể down torrent

đã thử luôn, vẫn bó tay :))
 

yaiba

New Member
Ðề: [Buffalo LS-CHL/XHL Automated Script] - Cài đặt rTorrent + ruTorrent WebUI và một số thứ khác

tùy máy thì câu lệnh nhiệt độ hơi khác tí:

Ubuntu : sudo smartctl -a /dev/sda | grep Temperature_Celsius

MBWE; sudo smartctl -a /dev/sda | grep Temp

Với LS thì chip điều khiển SATA là Marvell nên phải thêm thông số "-d marvell" mới chạy đc, nếu ko thì ko nhận diện đc HDD
 
Bên trên