Hallo zusammen.
Mein Problem ist folgendes: Ich möchte an einem System auf dem Ubuntu Server 18.04 läuft eine Seagate Backup Plus Hub 8TB betreiben. Die Platte soll als reine Datenpartition dienen und wird im Schnitt jeden Tag nur wenige Stunden benötigt. Deswegen wollte ich mittels hdparm die Standby Zeit der Platte auf 10 Minuten setzen.
Die Eingabe von
1 | sudo hdparm -S 120 /dev/sda |
liefert aber
1 2 3 | /dev/sda: setting standby to 120 (10 minutes) SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
Die selbe Platte funktioniert an einer WDmyCloud jedoch problemlos, bzw. lässt sich an dieser mit hdparm einwandfrei ansprechen.
Zum Vergleich die Ausgaben der WDmyCloud
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | root@WDMyCloud root # sudo hdparm -I /dev/sdb /dev/sdb: ATA device, with non-removable media Model Number: ST8000DM004-2CX188 Serial Number: ******** Firmware Revision: 0001 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 Standards: Used: unknown (minor revision code 0x006d) Supported: 10 9 8 7 6 5 Likely used: 10 Configuration: Logical max current cylinders 16383 16383 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 16514064 LBA user addressable sectors: 268435455 LBA48 user addressable sectors:15628053168 Logical Sector size: 512 bytes Physical Sector size: 4096 bytes Logical Sector-0 offset: 0 bytes device size with M = 1024*1024: 7630885 MBytes device size with M = 1000*1000: 8001563 MBytes (8001 GB) cache/buffer size = unknown Nominal Media Rotation Rate: 5425 Capabilities: LBA, IORDY(can be disabled) Queue depth: 32 Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 16 Current = ? Recommended acoustic management value: 208, current value: 208 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: * SMART feature set Security Mode feature set * Power Management feature set * Write cache * Look-ahead * Host Protected Area feature set * WRITE_BUFFER command * READ_BUFFER command * DOWNLOAD_MICROCODE Power-Up In Standby feature set * SET_FEATURES required to spinup after power up SET_MAX security extension * 48-bit Address feature set * Device Configuration Overlay feature set * Mandatory FLUSH_CACHE * FLUSH_CACHE_EXT * SMART error logging * SMART self-test * General Purpose Logging feature set * WRITE_{DMA|MULTIPLE}_FUA_EXT * 64-bit World wide name * WRITE_UNCORRECTABLE_EXT command * {READ,WRITE}_DMA_EXT_GPL commands * Segmented DOWNLOAD_MICROCODE unknown 119[6] * unknown 119[7] * Gen1 signaling speed (1.5Gb/s) * Gen2 signaling speed (3.0Gb/s) * Gen3 signaling speed (6.0Gb/s) * Native Command Queueing (NCQ) * Phy event counters * unknown 76[15] DMA Setup Auto-Activate optimization Device-initiated interface power management * Software settings preservation unknown 78[7] * SMART Command Transport (SCT) feature set * SCT LBA Segment Access (AC2) * SCT Data Tables (AC5) unknown 206[7] unknown 206[12] (vendor specific) unknown 206[13] (vendor specific) Security: Master password revision code = ***** supported not enabled not locked not frozen not expired: security count supported: enhanced erase Logical Unit WWN Device Identifier: 5000c500a51bbd1d NAA : 5 IEEE OUI : 000c50 Unique ID : 0a51bbd1d Checksum: correct |
Unter Ubuntu sieht das ganze wie folgt aus:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | user@test:~$ sudo hdparm -I /dev/sda /dev/sda: SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ATA device, with non-removable media Standards: Likely used: 1 Configuration: Logical max current cylinders 0 0 heads 0 0 sectors/track 0 0 -- Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 0 MBytes device size with M = 1000*1000: 0 MBytes cache/buffer size = unknown Capabilities: IORDY not likely Cannot perform double-word IO R/W multiple sector transfer: not supported DMA: not supported PIO: pio0 user@test:~$ sudo hdparm -S 120 /dev/sda /dev/sda: setting standby to 120 (10 minutes) SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
lsusb zeigt mir unter Ubuntu
1 2 3 4 5 6 7 8 | user@test:~$ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 0c40:8000 Bus 001 Device 005: ID 8087:0a2a Intel Corp. Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 004: ID 0bc2:ab38 Seagate RSS LLC Bus 001 Device 002: ID 0bc2:ab44 Seagate RSS LLC Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
und mit smartctl:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | sudo smartctl -d auto -i /dev/sda2 smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-54-generic] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: Seagate Product: Backup+ Hub BK Revision: D781 Compliance: SPC-4 User Capacity: 8.001.563.221.504 bytes [8,00 TB] Logical block size: 512 bytes Physical block size: 4096 bytes Logical Unit id: 0x5000000000000001 Serial number: NA9QHHJ5 Device type: disk Local Time is: Fri Jul 19 14:28:18 2019 UTC SMART support is: Available - device has SMART capability. SMART support is: Disabled Temperature Warning: Disabled or Not Supported |
Welche Möglichkeiten habe ich, die Platte unter Ubuntu schlafen zu schicken, bzw. wie erreiche ich es, dass hdparm genauso funktioniert wie auf der WDmyCloud.
Vielen Dank schon einmal im Voraus für Vorschläge und Anregungen.