Greetings all;
I have bought 5, 2T gigastone SSD's, made in Taiwan
I have 2 extra sata cards in this machine, a 6 port cheap
and a twice as expensive on with 16 port, all rated at 6G speeds.
The cheaper one has my home raid10 on it consisting of 4, 1T samsung 870 SSD's first assembled back in buster days. The newwer 16 port card has 4, 2T gigastone's on it, unused for anything yet, intending to either make me a new, bigger raid10 for /home, or maybe an 8T lvm for amanda's vtapes. And a 5th gigastone that I have now had its data cable plugg into all 3 choices of sata ports,
1, built into an Asus PRIME-Z370-A II motherboard
2, the bargain no name 6 port sata card
3. the more expensive 16 port sata card.
Two of the 4 Samsung drive that make the raid10 I mount as home are reporting trouble to smartctl, some of that has been posted in the previous thread. The 5th gigastone SSD has now been plugged into all three choices via its data cable mounted to /mnt/homevol by its unique LABEL= in the mount command, and attempted copy of /home made using this syntax:

$>sudo rsync -av /home/ /mnt/homevol

There is about 350Gb of data to copy. OpenSCAD and 3d printer slicer can blow up a 200 line plain text module into several gigabytes of gcode.

Problem:

Regardless of the sata port/card this 5th SSD is plugged into, it appears to me that rsync is overpowering the SSD's write bandwidth and somewhere between 13.5Gb of data to around 45Gb of data copied, I wind up with a machine that begins to stutter a bit, and finally htop says rsync is down to zero cpu, and maybe one more file locks everything but the mouse up, it still moves but the clock and the rest of the machine has stopped. This may take 5 minutes, maybe 15 but its the same story 5 times now. by the time I've rebooted, smartctl give the SSD a clean bill of health. or did til this last try, now it says, for that drive:

ene@coyote:~/src/klipper-docs$ sudo smartctl -a /dev/sde
[sudo] password for gene:
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     Gigastone SSD
Serial Number:    GST02TBG221146
Firmware Version: T0917A0
User Capacity:    2,048,408,248,320 bytes [2.04 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        Not in smartctl database 7.3/5319
ATA Version is:   ACS-3 T13/2161-D revision 4
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Jan 14 16:42:48 2024 EST
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:  (0x00) Offline data collection activity
                                        was never started.
Auto Offline Data Collection: Disabled. 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:                (  120) seconds.
Offline data collection
capabilities:                    (0x11) SMART execute Offline immediate.
No Auto Offline data collection support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        No Selective Self-test supported.
SMART capabilities:            (0x0002) Does not save 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:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  10) minutes.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x0032 100 100 050 Old_age Always - 0 5 Reallocated_Sector_Ct 0x0032 100 100 050 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 050 Old_age Always - 912 12 Power_Cycle_Count 0x0032 100 100 050 Old_age Always - 7 160 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 0 161 Unknown_Attribute 0x0033 100 100 050 Pre-fail Always - 100 163 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 10 164 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 231 165 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 2 166 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 0 167 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 0 168 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 1500 169 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 100 175 Program_Fail_Count_Chip 0x0032 100 100 050 Old_age Always - 0 176 Erase_Fail_Count_Chip 0x0032 100 100 050 Old_age Always - 0 177 Wear_Leveling_Count 0x0032 100 100 050 Old_age Always - 0 178 Used_Rsvd_Blk_Cnt_Chip 0x0032 100 100 050 Old_age Always - 0 181 Program_Fail_Cnt_Total 0x0032 100 100 050 Old_age Always - 0 182 Erase_Fail_Count_Total 0x0032 100 100 050 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 050 Old_age Always - 6 194 Temperature_Celsius 0x0022 100 100 050 Old_age Always - 40 195 Hardware_ECC_Recovered 0x0032 100 100 050 Old_age Always - 0 196 Reallocated_Event_Count 0x0032 100 100 050 Old_age Always - 0 197 Current_Pending_Sector 0x0032 100 100 050 Old_age Always - 0 198 Offline_Uncorrectable 0x0032 100 100 050 Old_age Always - 0 199 UDMA_CRC_Error_Count 0x0032 100 100 050 Old_age Always - 2 232 Available_Reservd_Space 0x0032 100 100 050 Old_age Always - 100 241 Total_LBAs_Written 0x0030 100 100 050 Old_age Offline - 5318 242 Total_LBAs_Read 0x0030 100 100 050 Old_age Offline - 87 245 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 0

SMART Error Log Version: 1
ATA Error Count: 2
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error -2 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  00 00 00 00 00 00 00

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  b0 d0 01 00 4f c2 00 08      00:00:00.000  SMART READ DATA
b0 d1 01 01 4f c2 00 08 00:00:00.000 SMART READ ATTRIBUTE THRESHOLDS [OBS-4]
  b0 da 00 00 4f c2 00 08      00:00:00.000  SMART RETURN STATUS
  b0 d5 01 00 4f c2 00 08      00:00:00.000  SMART READ LOG
  b0 d5 01 01 4f c2 00 08      00:00:00.000  SMART READ LOG

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 901 -

Selective Self-tests/Logging not supported

gene@coyote:~/src/klipper-docs$

Is there a way to throttle rsync to the write bandwidth of these SSD's?
Or do I have a pile of duff SSD's?

Thank you.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis

Reply via email to