LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2021, 10:08 AM   #31
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48

Deja or Timeshift are your friends
 
Old 05-24-2021, 10:08 AM   #32
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
And unless you bother to read and understand what you're doing, you will just keep blindly doing things. And somehow, pressing a single key and typing in two words didn't seem like it was that complicated or 'wordy'. You asked how to get to a CLI to diagnose things, and you were told how, without using any USB keys, etc. Not much point in asking people things if you don't want to listen.

You don't have 'bad linux software', or a virus; since you don't like 'wordy' things that 'make you tire', you can go look up why PID's change for yourself.
I never said i don't bother to read and understand. But i rather put the most complicated instruct to try to the most end. Why do i bother to explain myself .. forget it.
 
Old 05-24-2021, 10:10 AM   #33
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Bonzoo View Post
Deja or Timeshift are your friends
Yes, but right now is where is the bug.. need to catch it before make a backup.. else backup also useless if it keeps prompting errors.
 
Old 05-24-2021, 10:30 AM   #34
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
configuration file not writable - each time a program is opened.

Quote:
Originally Posted by hazel View Post
If it's described as harmless, best to take no action. You're in enough trouble already!
The "configuration file not writable" prompt is weird.
I restarted pc after did the "url instruction on single user mode rescue mode":
when i started terminal, it didn't prompts the error anymore..
but half way into using vim, i realized my data file in vim changed to "readonly".
By then i tried to run another instance of terminal, this time it prompted "configuration file not writable" again.

So weird.. what's went wrong..
 
Old 05-24-2021, 12:05 PM   #35
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48
sudo ?file manager of choice
Permissions
Set accordingly
 
Old 05-24-2021, 12:16 PM   #36
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
If your using a swap file instead of a swap partition, disable the swap file and see if that has anything to do with it.
 
Old 05-24-2021, 07:03 PM   #37
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
smartmontools scan result

Quote:
Originally Posted by Bonzoo View Post
sudo ?file manager of choice
Permissions
Set accordingly
I don't know what to do.
I did a smartmontools scan on my hdd sdb.
The result shows this caught my eyes:
Code:
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       2599
Does that means it is failing ?

Code:
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   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       2599
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       6334
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   069   069   000    Old_age   Always       -       12722
 10 Spin_Retry_Count        0x0033   225   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       4097
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       27
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       105
193 Load_Cycle_Count        0x0032   091   091   000    Old_age   Always       -       99997
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       45 (Min/Max 7/53)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       392
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       1
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   093   093   000    Old_age   Always       -       3056
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       272
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0
Is this montool is properly used ? i did the same on my sda, it also indicated spin up time prefail 1458times... But the hdd is fine.. is the result legit ? or maybe use the cmd wrongly ?

Last edited by andrewysk; 05-24-2021 at 07:14 PM.
 
Old 05-25-2021, 05:42 PM   #38
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
If you can get back to the point in post 34, before using vim,
open a terminal run the commands
Code:
free
df -h
use vim
rerun the commands and see if anything changes.
 
Old 05-26-2021, 10:40 AM   #39
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,989
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
andrewysk,

Sorry to report that your hard drive is failing.

The current pending sector count is 392 instead of zero.

You need to carefully copy the personal data from that drive to an external drive.

One way is to use a live Linux DVD (USB drive) to retrieve personal data:
https://www.linuxquestions.org/quest...al-data-38094/
 
1 members found this post helpful.
Old 05-27-2021, 05:02 PM   #40
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
andrewysk,

Sorry to report that your hard drive is failing.

The current pending sector count is 392 instead of zero.

You need to carefully copy the personal data from that drive to an external drive.

One way is to use a live Linux DVD (USB drive) to retrieve personal data:
https://www.linuxquestions.org/quest...al-data-38094/
So,
Code:
current pending sector count
is the part that indicating failing harddisk ? not the
Code:
 Spin_Up_Time
?

I have my original endea linux live usb.. i can copy without problem.. as long as i can get it mounted..
 
Old 05-27-2021, 05:18 PM   #41
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Which 2.5form factor hdd should i get ? i think 2T hdd is best price now.. 4T costs 100euro over.. while 2T costs 65euro. I choose 2T, because maybe before i have used up 2T, the hdd would be starting to fail .. so no point for 4T i think.

Is WD hdd is ok quality ? Don't wish to get one lousy hdd and die off soon again. Because the failing hdd was i think around 4 years old.. my other hdd , i have used for data storage for over 8 years.. still no issue noticed..

Seagate is extremely expensive..


WD Blue Mobile 2TB HDD 7mm 5400Rpm SATA 6Gb/s serial ATA 128MB cache 6,4cm 2,5
68,00€
https://www.amazon.de/Western-Digita...153762&sr=8-15
**this one got 128MB hdd cache

WD WD20EZAZ Festplatte (2 TB, 5400 U/min, SATA, 6 GB/s, 256 MB Cache, 8,9 cm (3,5 Zoll), Blau
56,68 €
https://www.amazon.de/WD20EZAZ-Festp...AOD6NZ8T40S4_2
**this one got 256MB hdd cache..
Does this tiny amount of cache make any different ? one of the hdd has got drawing on it: desktop icon vs laptop icon.. What's the issue here ? ..oh ya.. form factor is not the same.. i missed that one out.
Which

Seagate Festplatte 6.3cm (2,5') 2TB SATA ST2000LM015 intern Bulk HDD
95,00€
** this hdd is crazy expensive.. even only 2TB.. why is that ?

Western Digital Blue 2,5' 4TB (WD40NPZZ) SATA-600 8MB Interne Festplatte HDD
130,95€

Last edited by andrewysk; 05-27-2021 at 05:32 PM.
 
Old 05-27-2021, 07:56 PM   #42
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48
Those are all good names. Those companies are out to compete. Not selling junk.
I run Kingston and Crucial.
 
Old 05-27-2021, 10:18 PM   #43
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
I can't read the spec sheets in german. But please check the specs.
Most of the sellers (Seagate, WD, and others) have two different technologies used for the disks.

I consider the ones using SMR are trash for long term use due to the way the data is "shingled" on the disk and while they work well for a short time as the disk gets more than ~25% full the write speed slows way down. Drives using the CMR writing do not have that problem. I have mostly gone to buying the enterprise drives since a lot of the home use drives use the SMR tech. Enterprise drives cost more but they almost exclusively use the CMR recording technology.

Here are a couple links to data sheets that show how to tell which tech is used here in the US.

This is the data sheet links for seagate 2.5 in form factor and as you can see all of the Barracuda 2.5 drives use SMR recording technology.

Here is the data sheet for the WD Blue 2.5 drives and you can see your chosen model is also SMR while the 500G and smaller drives still use CMR.
According to this guide the second one you linked is also SMR tech.

In my opinion SMR is most useful in a write-once-read-mostly scenario.

While SSDs cost more they do not suffer from the physical limitations of the drive recording tech currently used for the less expensive hard drives. Unfortunately I cannot find any information on HDD drives for laptops that are definitely CMR tech except the smaller ones 500G and less.
 
Old 05-27-2021, 10:50 PM   #44
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
This is strangely similar to this:
https://www.linuxquestions.org/quest...ly-4175695546/
Funny OP should have a broken USB stick and broken internal hard drive at the same time.
 
1 members found this post helpful.
Old 05-28-2021, 12:07 AM   #45
kev392
Member
 
Registered: Apr 2021
Distribution: Linux Mint, Bodhi Linux
Posts: 44

Rep: Reputation: 28
Here is a user benchmark website for HDD. They also benchmark SSD CPU GPU and others.

https://hdd.userbenchmark.com/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Antergos – Best Arch based distro for beginners, whoever want to taste arch, give a try LXer Syndicated Linux News 1 05-24-2021 08:13 AM
LXer: Serious Sam HD & Serious Sam HD: The Second Encounter Will Come To Linux LXer Syndicated Linux News 0 04-05-2014 09:25 PM
LXer: Do you want a serious—I mean serious—developer laptop? Then Dell and Ubuntu have the system fo LXer Syndicated Linux News 0 11-29-2012 03:30 PM
LXer: Build A Serious Multimedia Production Workstation With Arch Linux LXer Syndicated Linux News 0 07-20-2012 11:03 PM
No longer able to boot Linux. Passive Linux - General 2 09-26-2002 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration