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-02-01 13:16:21

Tom0000
Member
Registered: 2008-01-31
Posts: 23

hdparam / smartctrl for this device ?

Short question . Is somewhere for find hdparam or smartctrl or other application , which will let to control the hard disc in dns323 ?
I want to have possibility for select efficiency or silence working mode. Is this possible in other way ?

Offline

 

#2 2008-02-01 18:02:52

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: hdparam / smartctrl for this device ?

hdparm is available with fonz's fun_plug  (the following is from fonz's v.03 fun_plug)

Code:

/mnt/HD_a2/fun_plug.d/bin # hdparm -v
hdparm: illegal option -- v
BusyBox v1.6.1 (2007-07-22 13:51:10 CEST) multi-call binary

Usage: hdparm [options] [device] ..

If no device name is specified try to read from stdin.

Options:
        -a      Get/set fs readahead
        -A      Set drive read-lookahead flag (0/1)
        -b      Get/set bus state (0 == off, 1 == on, 2 == tristate)
        -B      Set Advanced Power Management setting (1-255)
        -c      Get/set IDE 32-bit IO setting
        -C      Check IDE power mode status
        -d      Get/set using_dma flag
        -D      Enable/disable drive defect-mgmt
        -f      Flush buffer cache for device on exit
        -g      Display drive geometry
        -h      Display terse usage information
        -i      Display drive identification
        -I      Detailed/current information directly from drive
        -k      Get/set keep_settings_over_reset flag (0/1)
        -K      Set drive keep_features_over_reset flag (0/1)
        -L      Set drive doorlock (0/1) (removable harddisks only)
        -m      Get/set multiple sector count
        -n      Get/set ignore-write-errors flag (0/1)
        -p      Set PIO mode on IDE interface chipset (0,1,2,3,4,...)
        -P      Set drive prefetch count
        -q      Change next setting quietly
        -Q      Get/set DMA tagged-queuing depth (if supported)
        -r      Get/set readonly flag (DANGEROUS to set)
        -R      Register an IDE interface (DANGEROUS)
        -S      Set standby (spindown) timeout
        -t      Perform device read timings
        -T      Perform cache read timings
        -u      Get/set unmaskirq flag (0/1)
        -U      Un-register an IDE interface (DANGEROUS)
        -v      Defaults; same as -mcudkrag for IDE drives
        -V      Display program version and exit immediately
        -w      Perform device reset (DANGEROUS)
        -W      Set drive write-caching flag (0/1) (DANGEROUS)
        -x      Tristate device for hotswap (0/1) (DANGEROUS)
        -X      Set IDE xfer mode (DANGEROUS)
        -y      Put IDE drive in standby mode
        -Y      Put IDE drive to sleep
        -Z      Disable Seagate auto-powersaving mode
        -z      Re-read partition table

DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#3 2013-04-12 17:08:56

GailH
Member
Registered: 2010-12-13
Posts: 21

Re: hdparam / smartctrl for this device ?

hdparm on DNS-323, ffp 0.5, gives these errors:

/ # hdparm -C /dev/sda
/dev/sda: hdparm: HDIO_DRIVE_CMD: Invalid argument   drive state is:  unknown
/ # hdparm -I /dev/sda
/dev/sda: hdparm: HDIO_DRIVE_CMD: Invalid argument
/ # hdparm -I /dev/sdb
/dev/sdb: hdparm: HDIO_DRIVE_CMD: Invalid argument
/ # hdparm -I /dev/sda2
/dev/sda2: hdparm: HDIO_DRIVE_CMD: Invalid argument
/ #

What to do?

many TIA - GailH

Last edited by GailH (2013-04-12 17:09:55)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB