You are not logged in.
Hello btw!
I've been using dual boot setup for 4 months and have some problems with buffer storage. I have tried using WinBtrfs for dual boot and it's been good for a while, but now he started working slow and often crashes to BSOD.
For experiment, I created one more partition, but now NTFS. On Windows it's been good ofc, but on Linux ntfs3 kernel driver suffers from "dirtiness" of partition.
ntfs3: nvme0n1p2: volume is dirty and "force" flag is not set!Even when Fast Boot and hibernation are disabled, it still becomes dirty. To fix this error, I need to boot again to Windows, run chkdsk /f and reboot again to Linux and this exhausting.
Now I'm trying to use ntfs-3g driver, but sometimes he can catch segmentation fault.
Can you give me any tips to make my dual boot experience less painful?
Offline
If this happens repeatedly with all of these different options this starts to sound like an issue with the disk, rather than file system related.
What output do you get from
smartctl -a /dev/nvme0n1from the smartmontools package?
Also when "catching a segmentation fault" what's in your dmesg/kernel log/journal, can you post the output/the stack trace?
Last edited by V1del (2022-12-07 12:05:52)
Offline
Stack trace of ntfs-3g in journalctl:
дек 07 12:51:09 archbtw-df ntfs-3g[466]: Failed to read full index block at 1474560
дек 07 12:51:09 archbtw-df audit[466]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=466 comm="mount.ntfs-3g" exe="/usr/bin/ntfs-3g" sig=11 res=1
дек 07 12:51:09 archbtw-df kernel: mount.ntfs-3g[466]: segfault at 10 ip 00007f07290ed251 sp 00007fffbc69e630 error 4 in libntfs-3g.so.89.0.0[7f07290cf000+39000]
дек 07 12:51:09 archbtw-df kernel: audit: type=1701 audit(1670406669.652:254): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=466 comm="mount.ntfs-3g" exe="/usr/bin/ntfs-3g" sig=11 res=1
дек 07 12:51:09 archbtw-df systemd-coredump[4490]: Process 466 (mount.ntfs-3g) of user 0 dumped core.
#0 0x00007f07290ed251 n/a (libntfs-3g.so.89 + 0x27251)
#1 0x00007f07290ed324 n/a (libntfs-3g.so.89 + 0x27324)
#2 0x00007f07290ed33d ntfs_index_ctx_put (libntfs-3g.so.89 + 0x2733d)
#3 0x00007f07290fabc2 ntfs_delete_reparse_index (libntfs-3g.so.89 + 0x34bc2)
#4 0x00007f07290e9e52 ntfs_delete (libntfs-3g.so.89 + 0x23e52)
#5 0x000056311746a2cb n/a (ntfs-3g + 0xb2cb)
#6 0x000056311746a3c9 n/a (ntfs-3g + 0xb3c9)
#10 0x0000563117463e25 n/a (ntfs-3g + 0x4e25)
#13 0x0000563117464e85 n/a (ntfs-3g + 0x5e85)
I have two smarts 'cause file systems were on two separate devices, NTFS for SSD and BTRFS for HDD
S.M.A.R.T for NTFS drive (ssd):
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.0.11-arch1-1] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: Samsung SSD 970 EVO Plus 1TB
Serial Number: S4EWNX0R557083A
Firmware Version: 2B2QEXM7
PCI Vendor/Subsystem ID: 0x144d
IEEE OUI Identifier: 0x002538
Total NVM Capacity: 1,000,204,886,016 [1.00 TB]
Unallocated NVM Capacity: 0
Controller ID: 4
NVMe Version: 1.3
Number of Namespaces: 1
Namespace 1 Size/Capacity: 1,000,204,886,016 [1.00 TB]
Namespace 1 Utilization: 939,279,527,936 [939 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 002538 5511b281fc
Local Time is: Wed Dec 7 15:16:39 2022 +03
Firmware Updates (0x16): 3 Slots, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x03): S/H_per_NS Cmd_Eff_Lg
Maximum Data Transfer Size: 512 Pages
Warning Comp. Temp. Threshold: 85 Celsius
Critical Comp. Temp. Threshold: 85 Celsius
Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 7.80W - - 0 0 0 0 0 0
1 + 6.00W - - 1 1 1 1 0 0
2 + 3.40W - - 2 2 2 2 0 0
3 - 0.0700W - - 3 3 3 3 210 1200
4 - 0.0100W - - 4 4 4 4 2000 8000
Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 0
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 52 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 3%
Data Units Read: 208,858,815 [106 TB]
Data Units Written: 123,196,244 [63.0 TB]
Host Read Commands: 1,832,267,460
Host Write Commands: 752,888,665
Controller Busy Time: 4,282
Power Cycles: 169
Power On Hours: 7,925
Unsafe Shutdowns: 27
Media and Data Integrity Errors: 0
Error Information Log Entries: 6,259
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 52 Celsius
Temperature Sensor 2: 68 Celsius
Error Information (NVMe Log 0x01, 16 of 64 entries)
Num ErrCount SQId CmdId Status PELoc LBA NSID VS
0 6259 0 0x0004 0x4004 - 0 0 -S.M.A.R.T for BTRFS drive (hdd):
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.0.11-arch1-1] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.14 (AF)
Device Model: ST2000DM001-1CH164
Serial Number: Z1E226J1
LU WWN Device Id: 5 000c50 04ef9449e
Firmware Version: CC24
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: Wed Dec 7 15:17:33 2022 +03
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: ( 575) seconds.
Offline data collection
capabilities: (0x73) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
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: ( 216) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x3085) SCT Status 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 116 099 006 Pre-fail Always - 101176816
3 Spin_Up_Time 0x0003 098 096 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 095 095 020 Old_age Always - 5380
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 066 059 030 Pre-fail Always - 619018558630
9 Power_On_Hours 0x0032 059 059 000 Old_age Always - 36561
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 096 096 020 Old_age Always - 4112
183 Runtime_Bad_Block 0x0032 099 099 000 Old_age Always - 1
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 099 000 Old_age Always - 0 0 6
189 High_Fly_Writes 0x003a 084 084 000 Old_age Always - 16
190 Airflow_Temperature_Cel 0x0022 062 053 045 Old_age Always - 38 (Min/Max 27/40)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 339
193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 259643
194 Temperature_Celsius 0x0022 038 047 000 Old_age Always - 38 (0 12 0 0 0)
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 29528h+51m+08.290s
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 301898986337
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 462523540432
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.Offline