Monday, July 31, 2023

Models are not shown in Stable Diffusion list

Check path to models and symlinks, if you have any.

/home/user/folder/stable-diffusion-webui/models/Stable-diffusion/

Saturday, July 15, 2023

Toshiba DT01ACA200 SMART

smartctl --all /dev/sda                    (Prints all SMART information)

smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.19.0-46-generic] (local build)

Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org


=== START OF INFORMATION SECTION ===

Model Family:     Toshiba 3.5" DT01ACA... Desktop HDD

Device Model:     TOSHIBA DT01ACA200

Serial Number:    #########

LU WWN Device Id: 5 000039 ff3e0f0aa

Firmware Version: MX4OABB0

User Capacity:    2,000,398,934,016 bytes [2.00 TB]

Sector Sizes:     512 bytes logical, 4096 bytes physical

Rotation Rate:    7200 rpm

Form Factor:      3.5 inches

Device is:        In smartctl database 7.3/5319

ATA Version is:   ATA8-ACS T13/1699-D revision 4

SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)

Local Time is:    Sat Jul 15 22:29:35 2023 EEST

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: FAILED!

Drive failure expected in less than 24 hours. SAVE ALL DATA.

See vendor-specific Attribute list for failed Attributes.


General SMART Values:

Offline data collection status:  (0x84) Offline data collection activity

                                        was suspended by an interrupting command from host.

                                        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:                (14822) 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:        ( 247) minutes.

SCT capabilities:              (0x003d) SCT Status supported.

                                        SCT Error Recovery Control supported.

                                        SCT Feature Control supported.

                                        SCT Data Table supported.


SMART Attributes Data Structure revision number: 16

Vendor Specific SMART Attributes with Thresholds:

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE

  1 Raw_Read_Error_Rate     0x000b   070   070   016    Pre-fail  Always       -       181274516

  2 Throughput_Performance  0x0005   139   139   054    Pre-fail  Offline      -       72

  3 Spin_Up_Time            0x0007   127   127   024    Pre-fail  Always       -       296 (Average 299)

  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       3238

  5 Reallocated_Sector_Ct   0x0033   001   001   005    Pre-fail  Always   FAILING_NOW 2005

  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0

  8 Seek_Time_Performance   0x0005   124   124   020    Pre-fail  Offline      -       33

  9 Power_On_Hours          0x0012   096   096   000    Old_age   Always       -       32025

 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0

 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       2840

192 Power-Off_Retract_Count 0x0032   097   097   000    Old_age   Always       -       4030

193 Load_Cycle_Count        0x0012   097   097   000    Old_age   Always       -       4030

194 Temperature_Celsius     0x0002   240   240   000    Old_age   Always       -       25 (Min/Max 14/52)

196 Reallocated_Event_Count 0x0032   001   001   000    Old_age   Always       -       2598

197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0

198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0

199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0


SMART Error Log Version: 1

ATA Error Count: 4

        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 4 occurred at disk power-on lifetime: 32022 hours (1334 days + 6 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

  -- -- -- -- -- -- --

  40 51 50 30 cd 73 08  Error: UNC at LBA = 0x0873cd30 = 141806896


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  60 50 28 30 cd 73 40 08      00:01:48.986  READ FPDMA QUEUED

  60 08 20 08 cd 73 40 08      00:01:45.998  READ FPDMA QUEUED

  60 08 68 00 cd 73 40 08      00:01:42.921  READ FPDMA QUEUED

  60 08 60 00 54 5a 40 08      00:01:42.861  READ FPDMA QUEUED

  60 08 58 f8 cc 73 40 08      00:01:39.840  READ FPDMA QUEUED


Error 3 occurred at disk power-on lifetime: 32022 hours (1334 days + 6 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

  -- -- -- -- -- -- --

  40 51 08 f0 cc 73 08  Error: UNC at LBA = 0x0873ccf0 = 141806832


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  60 08 68 f0 cc 73 40 08      00:01:32.621  READ FPDMA QUEUED

  ef 10 02 00 00 00 a0 08      00:01:32.600  SET FEATURES [Enable SATA feature]

  27 00 00 00 00 00 e0 08      00:01:32.600  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

  ec 00 00 00 00 00 a0 08      00:01:32.597  IDENTIFY DEVICE

  ef 03 46 00 00 00 a0 08      00:01:32.597  SET FEATURES [Set transfer mode]


Error 2 occurred at disk power-on lifetime: 32022 hours (1334 days + 6 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

  -- -- -- -- -- -- --

  40 51 08 f0 cc 73 08  Error: UNC at LBA = 0x0873ccf0 = 141806832


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  60 08 a8 f0 cc 73 40 08      00:01:28.814  READ FPDMA QUEUED

  ef 10 02 00 00 00 a0 08      00:01:28.814  SET FEATURES [Enable SATA feature]

  27 00 00 00 00 00 e0 08      00:01:28.814  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

  ec 00 00 00 00 00 a0 08      00:01:28.812  IDENTIFY DEVICE

  ef 03 46 00 00 00 a0 08      00:01:28.812  SET FEATURES [Set transfer mode]


Error 1 occurred at disk power-on lifetime: 32022 hours (1334 days + 6 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

  -- -- -- -- -- -- --

  40 51 30 00 cd 73 08  Error: UNC at LBA = 0x0873cd00 = 141806848


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  60 40 48 f0 cc 73 40 08      00:01:18.230  READ FPDMA QUEUED

  60 08 20 68 f1 ad 40 08      00:01:18.216  READ FPDMA QUEUED

  60 00 18 18 5f bd 40 08      00:01:17.959  READ FPDMA QUEUED

  60 00 10 18 5e bd 40 08      00:01:17.958  READ FPDMA QUEUED

  60 00 08 18 5d bd 40 08      00:01:17.958  READ FPDMA QUEUED


SMART Self-test log structure revision number 1

No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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.

Friday, February 17, 2023

Create symlink to file or folder contents on Linux

Create symlink to all contents of a folder or everything in folder:

ln -s /media/user/HDD/folder/another/* /home/user/Downloads/another/

Create symlink to certain file in folder:

ln -s /media/user/HDD/folder/another/file.txt /home/user/Downloads/another/

Create symlink to certain folder in folder:

ln -s /media/user/HDD/folder/another/folderName /home/user/Downloads/another/

Thursday, February 16, 2023

Render Stable Diffusion images on CPU

./webui.sh --use-cpu all --precision full --no-half // Very long. Not worth it.

Wednesday, January 11, 2023

Seagate ST980813ASG SMART

smartctl --all /dev/sda                    (Prints all SMART information)


smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.19.0-15-generic] (local build)

Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org


=== START OF INFORMATION SECTION ===

Model Family:     Seagate Momentus 7200.2

Device Model:     ST980813ASG

Serial Number:    ########

Firmware Version: 3.ADD

User Capacity:    80,026,361,856 bytes [80.0 GB]

Sector Size:      512 bytes logical/physical

Device is:        In smartctl database 7.3/5319

ATA Version is:   ATA/ATAPI-7 (minor revision not indicated)

Local Time is:    Wed Jan 11 17:43:23 2023 UTC

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: FAILED!

Drive failure expected in less than 24 hours. SAVE ALL DATA.

See vendor-specific Attribute list for failed Attributes.


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:      ( 119) The previous self-test completed having

the read element of the test failed.

Total time to complete Offline 

data collection: (  426) 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: (   2) minutes.

Extended self-test routine

recommended polling time: (  84) minutes.

SCT capabilities:        (0x0035) SCT Status supported.

SCT Feature Control supported.

SCT Data Table 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   099   099   085    Pre-fail  Always       -       0

  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1480

  5 Reallocated_Sector_Ct   0x0033   001   001   036    Pre-fail  Always   FAILING_NOW 31952

  7 Seek_Error_Rate         0x000f   081   060   030    Pre-fail  Always       -       8853334264

  9 Power_On_Hours          0x0032   081   081   000    Old_age   Always       -       17405

 10 Spin_Retry_Count        0x0013   100   100   034    Pre-fail  Always       -       0

 12 Power_Cycle_Count       0x0032   098   098   020    Old_age   Always       -       2079

187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       5259

189 High_Fly_Writes         0x003a   098   098   000    Old_age   Always       -       2

190 Airflow_Temperature_Cel 0x0022   060   031   045    Old_age   Always   In_the_past 40 (Min/Max 24/43)

191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       10

192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1844

193 Load_Cycle_Count        0x0022   001   001   000    Old_age   Always       -       234936

194 Temperature_Celsius     0x001a   040   069   000    Old_age   Always       -       40 (0 12 0 0 0)

195 Hardware_ECC_Recovered  0x0012   073   061   000    Old_age   Always       -       137350076

197 Current_Pending_Sector  0x0010   100   097   000    Old_age   Offline      -       11

198 Offline_Uncorrectable   0x003e   100   097   000    Old_age   Always       -       11

199 UDMA_CRC_Error_Count    0x0000   200   200   000    Old_age   Offline      -       1

200 Multi_Zone_Error_Rate   0x0032   100   253   000    Old_age   Always       -       0

202 Data_Address_Mark_Errs  0x0000   100   253   000    Old_age   Offline      -       0

240 Head_Flying_Hours       0x0000   000   000   000    Old_age   Offline      -       17217 (111 247 0)

241 Total_LBAs_Written      0x0000   000   000   000    Old_age   Offline      -       11734329995

242 Total_LBAs_Read         0x0000   000   000   000    Old_age   Offline      -       170874401

254 Free_Fall_Sensor        0x0000   001   001   000    Old_age   Offline      -       513


SMART Error Log Version: 1

ATA Error Count: 6887 (device log contains only the most recent five errors)

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 6887 occurred at disk power-on lifetime: 17395 hours (724 days + 19 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

  -- -- -- -- -- -- --

  40 51 01 f5 d0 4f e0  Error: UNC at LBA = 0x004fd0f5 = 5230837


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  42 00 01 f5 d0 4f e0 00      00:43:10.020  READ VERIFY SECTOR(S) EXT

  42 00 01 f4 d0 4f e0 00      00:43:10.005  READ VERIFY SECTOR(S) EXT

  42 00 02 f4 d0 4f e0 00      00:43:09.596  READ VERIFY SECTOR(S) EXT

  42 00 04 f4 d0 4f e0 00      00:43:09.194  READ VERIFY SECTOR(S) EXT

  42 00 04 f0 d0 4f e0 00      00:43:09.179  READ VERIFY SECTOR(S) EXT


Error 6886 occurred at disk power-on lifetime: 17395 hours (724 days + 19 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

  -- -- -- -- -- -- --

  40 51 01 f4 d0 4f e0  Error: UNC at LBA = 0x004fd0f4 = 5230836


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  42 00 01 f4 d0 4f e0 00      00:43:10.020  READ VERIFY SECTOR(S) EXT

  42 00 02 f4 d0 4f e0 00      00:43:10.005  READ VERIFY SECTOR(S) EXT

  42 00 04 f4 d0 4f e0 00      00:43:09.596  READ VERIFY SECTOR(S) EXT

  42 00 04 f0 d0 4f e0 00      00:43:09.194  READ VERIFY SECTOR(S) EXT

  42 00 08 f0 d0 4f e0 00      00:43:09.179  READ VERIFY SECTOR(S) EXT


Error 6885 occurred at disk power-on lifetime: 17395 hours (724 days + 19 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

  -- -- -- -- -- -- --

  40 51 02 f4 d0 4f e0  Error: UNC at LBA = 0x004fd0f4 = 5230836


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  42 00 02 f4 d0 4f e0 00      00:43:10.020  READ VERIFY SECTOR(S) EXT

  42 00 04 f4 d0 4f e0 00      00:43:10.005  READ VERIFY SECTOR(S) EXT

  42 00 04 f0 d0 4f e0 00      00:43:09.596  READ VERIFY SECTOR(S) EXT

  42 00 08 f0 d0 4f e0 00      00:43:09.194  READ VERIFY SECTOR(S) EXT

  42 00 10 f0 d0 4f e0 00      00:43:09.179  READ VERIFY SECTOR(S) EXT


Error 6884 occurred at disk power-on lifetime: 17395 hours (724 days + 19 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

  -- -- -- -- -- -- --

  40 51 04 f4 d0 4f e0  Error: UNC at LBA = 0x004fd0f4 = 5230836


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  42 00 04 f4 d0 4f e0 00      00:43:10.020  READ VERIFY SECTOR(S) EXT

  42 00 04 f0 d0 4f e0 00      00:43:10.005  READ VERIFY SECTOR(S) EXT

  42 00 08 f0 d0 4f e0 00      00:43:09.596  READ VERIFY SECTOR(S) EXT

  42 00 10 f0 d0 4f e0 00      00:43:09.194  READ VERIFY SECTOR(S) EXT

  42 00 10 e0 d0 4f e0 00      00:43:09.179  READ VERIFY SECTOR(S) EXT


Error 6883 occurred at disk power-on lifetime: 17395 hours (724 days + 19 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

  -- -- -- -- -- -- --

  40 51 04 f4 d0 4f e0  Error: UNC at LBA = 0x004fd0f4 = 5230836


  Commands leading to the command that caused the error were:

  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name

  -- -- -- -- -- -- -- --  ----------------  --------------------

  42 00 08 f0 d0 4f e0 00      00:43:07.134  READ VERIFY SECTOR(S) EXT

  42 00 10 f0 d0 4f e0 00      00:43:07.129  READ VERIFY SECTOR(S) EXT

  42 00 10 e0 d0 4f e0 00      00:43:09.596  READ VERIFY SECTOR(S) EXT

  42 00 20 e0 d0 4f e0 00      00:43:09.194  READ VERIFY SECTOR(S) EXT

  42 00 20 c0 d0 4f e0 00      00:43:09.179  READ VERIFY SECTOR(S) EXT


SMART Self-test log structure revision number 1

Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error

# 1  Short offline       Completed: read failure       70%     11805         116337475

# 2  Short offline       Interrupted (host reset)      10%       330         -

# 3  Short offline       Completed without error       00%         1         -

# 4  Short offline       Completed without error       00%         0         -


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.