Fuji X-T1 | XF14mm F2.8 R | XF23mm F1.4 R | XF35mm F1.4 R
Nikon D800 | AF-S 24-120/f4 VR2 | AF-S 50/f1.8G
Computer specs
Vraag
Alle reacties
in linus kan dat met dit als ik zo even zoek:
sudo dd if=/dev/zero of=/dev/sdX bs=1M
Dit is wel een vaag probleem.
Windows heb ik niet geprobeerd, want dat heb ik nergens in huis draaien. Maar meestal is Windows degene die moeite heeft met dit soort dingen en los je het dan op met Linux en niet andersom...
[ Voor 27% gewijzigd door afterburn op 12-02-2025 16:20 ]
Fuji X-T1 | XF14mm F2.8 R | XF23mm F1.4 R | XF35mm F1.4 R
Nikon D800 | AF-S 24-120/f4 VR2 | AF-S 50/f1.8G
Computer specs
Commandline FTW | Tweakt met mate
Geen verschil gemaakt...Hero of Time schreef op woensdag 12 februari 2025 @ 18:49:
En de status nu? Kan je anders eens de uitdraai van je stappen in de terminal met parted/fdisk posten? Gevolgd door het daarna printen van de partitietabel van dezelfde schijf.
shred:
1
| sudo shred -n 1 -vz /dev/sdf |
Partities zijn er nog steeds, nadat de computer 3 uur aan het schrijven is geweest
cfdisk:
1
| sudo cfdisk /dev/sdf |
<delete><delete> (2 partities), <write>, <quit>
Partities zijn er nog steeds
fdisk:
1
2
3
4
| sudo fdisk /dev/sdf d <enter> d <enter> w <enter> |
Partities zijn er nog steeds
Gparted:
Change partition label, GPT
<<warning this will erase the entire disk>>
Yes
<reload disks>
Partities zijn er nog steeds. Idem met partities verwijderen en commit in de GUI
Ik snap er echt geen drol van. Dit hoort gewoon te werken. Heb ook nog KDE partition manager en YaST Partition manager gebruikt, zelfde verhaal.
De CLI utilities op 2 verschillende machines met hetzelfde resultaat.
Schiet mij maar lek,,,
Fuji X-T1 | XF14mm F2.8 R | XF23mm F1.4 R | XF35mm F1.4 R
Nikon D800 | AF-S 24-120/f4 VR2 | AF-S 50/f1.8G
Computer specs
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
| ❯ fdisk /dev/sdf Welcome to fdisk (util-linux 2.40.4). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. The backup GPT table is corrupt, but the primary appears OK, so that will be used. Command (m for help): p Disk /dev/sdf: 231.02 GiB, 248058961920 bytes, 484490160 sectors Disk model: A SSD 3MG-P Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 9B8FB177-D6E2-472B-AB5B-6C9955CC1A26 Device Start End Sectors Size Type /dev/sdf1 2048 2203647 2201600 1G EFI System /dev/sdf2 2203648 484487167 482283520 230G Linux filesystem Command (m for help): d Partition number (1,2, default 2): Partition 2 has been deleted. Command (m for help): d Selected partition 1 Partition 1 has been deleted. Command (m for help): p Disk /dev/sdf: 231.02 GiB, 248058961920 bytes, 484490160 sectors Disk model: A SSD 3MG-P Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 9B8FB177-D6E2-472B-AB5B-6C9955CC1A26 Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. ❯ fdisk /dev/sdf Welcome to fdisk (util-linux 2.40.4). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/sdf: 231.02 GiB, 248058961920 bytes, 484490160 sectors Disk model: A SSD 3MG-P Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 9B8FB177-D6E2-472B-AB5B-6C9955CC1A26 Device Start End Sectors Size Type /dev/sdf1 2048 2203647 2201600 1G EFI System /dev/sdf2 2203648 484487167 482283520 230G Linux filesystem Command (m for help): q ╭─ (root@thor.sport-touring.eu)-[~] ╰─❯ |
Dit is dus nadat ik met shred de hele schijf al eens overschreven heb...
De linux partitie (#2) is corrupt en niet meer mountbaar. De EFI partitie daarintegen werkt prima, en de data is leesbaar.
[ Voor 3% gewijzigd door afterburn op 13-02-2025 18:54 ]
Fuji X-T1 | XF14mm F2.8 R | XF23mm F1.4 R | XF35mm F1.4 R
Nikon D800 | AF-S 24-120/f4 VR2 | AF-S 50/f1.8G
Computer specs
Anders misschien het ata secure-erase commando proberen?
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
97
| smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.13.1-1-default] (SUSE RPM) Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: 2.5" SATA SSD 3MG-P Serial Number: 20130916AA0000000014 Firmware Version: P130719 User Capacity: 248,058,961,920 bytes [248 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 2.5 inches TRIM Command: Unavailable Device is: Not in smartctl database 7.3/5528 ATA Version is: ATA8-ACS (minor revision not indicated) SATA Version is: SATA 3.0, 6.0 Gb/s (current: 1.5 Gb/s) Local Time is: Thu Feb 13 19:08:31 2025 CET 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: ( 32) 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: ( 1) minutes. SCT capabilities: (0x0039) 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 0x0000 000 000 000 Old_age Offline - 0 2 Throughput_Performance 0x0000 000 000 000 Old_age Offline - 0 3 Spin_Up_Time 0x0000 000 000 000 Old_age Offline - 0 5 Reallocated_Sector_Ct 0x0000 000 000 000 Old_age Offline - 0 7 Unknown_SSD_Attribute 0x0000 000 000 000 Old_age Offline - 0 8 Unknown_SSD_Attribute 0x0000 000 000 000 Old_age Offline - 0 9 Power_On_Hours 0x0000 000 000 000 Old_age Offline - 3400 10 Unknown_SSD_Attribute 0x0000 000 000 000 Old_age Offline - 0 12 Power_Cycle_Count 0x0000 000 000 000 Old_age Offline - 151 168 Unknown_Attribute 0x0000 000 000 000 Old_age Offline - 0 169 Unknown_Attribute 0x0000 000 000 000 Old_age Offline - 0 175 Program_Fail_Count_Chip 0x0000 000 000 000 Old_age Offline - 0 192 Power-Off_Retract_Count 0x0000 000 000 000 Old_age Offline - 1 194 Temperature_Celsius 0x0000 030 100 000 Old_age Offline - 0 (2 100 0 0 0) 197 Current_Pending_Sector 0x0000 000 000 000 Old_age Offline - 0 240 Unknown_SSD_Attribute 0x0000 000 000 000 Old_age Offline - 0 170 Unknown_Attribute 0x0003 100 100 --- Pre-fail Always - 3882735697920 173 Unknown_Attribute 0x0012 100 100 --- Old_age Always - 22610139 229 Unknown_Attribute 0x0002 100 100 --- Old_age Always - 4415368631704 236 Unknown_Attribute 0x0002 100 100 --- Old_age Always - 256 235 Unknown_Attribute 0x0002 100 003 --- Old_age Always - 8913800 SMART Error Log Version: 1 No Errors Logged 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. The above only provides legacy SMART information - try 'smartctl -x' for more |
Fuji X-T1 | XF14mm F2.8 R | XF23mm F1.4 R | XF35mm F1.4 R
Nikon D800 | AF-S 24-120/f4 VR2 | AF-S 50/f1.8G
Computer specs