Click here to Skip to main content
15,888,454 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Happy Belated April Fools! Pin
David O'Neil3-Apr-23 12:41
professionalDavid O'Neil3-Apr-23 12:41 
GeneralIdioms and metaphors are best learned Pin
PIEBALDconsult2-Apr-23 7:14
mvePIEBALDconsult2-Apr-23 7:14 
GeneralRe: Idioms and metaphors are best learned Pin
Mike Hankey2-Apr-23 8:26
mveMike Hankey2-Apr-23 8:26 
GeneralRe: Idioms and metaphors are best learned Pin
PIEBALDconsult2-Apr-23 8:43
mvePIEBALDconsult2-Apr-23 8:43 
GeneralRe: Idioms and metaphors are best learned Pin
Mike Hankey2-Apr-23 9:23
mveMike Hankey2-Apr-23 9:23 
GeneralRe: Idioms and metaphors are best learned Pin
jmaida2-Apr-23 18:25
jmaida2-Apr-23 18:25 
GeneralMessage Closed Pin
2-Apr-23 6:48
Member 149687712-Apr-23 6:48 
GeneralRe: run fsck manually...AGAIN.... Pin
k50542-Apr-23 7:56
mvek50542-Apr-23 7:56 
Having to fsck continually is a symptom of either failing hardware (disk or disk controller on MoBO), or poor admin practices. Older file systems (eg. ext[2-4]) do have filesystem attributes that tell the OS to run fsck on reboot every n mounts or if fsck has not been run for n days. If you are using and ext based file system, then you can check and modify those values with dumpe2fs and tune2fs. You're going to hate me for saying so, but check the man pages for those commands to see how they work. I'm don't know if xfs or btrfs have similar attributes.

You can check what filesystems are in use by examining /etc/fstab e.g:
# cat /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/u                /u                      ext3    defaults        1 2
/dev/sda2               swap                    swap    defaults        0 0 

If you have xfs or btrfs or other file system, then google for the filesystem type and maintenance. That should hopefully lead you to the correct incantations to manage the fs.

I have many Linux systems under my care. My main day-to-day system is currently running Fedora-37, but I help manage various boxes all over the place running various CentOS flavors, and Raspberry PIs running Rasbian. There are only 2 cases that an fsck needs to be run manually. 1) there's disk corruption, likely due to hardware malfunction. 2) an improper shutdown - normally due to a power outage. If you're continually having to run fsck, then its almost certainly due to one of those 2 issues. If you do a normal shutdown (eg either poweroff or shutdown -h as root) and wait for the system to power itself off, then you're almost certainly looking at failing hardware. See what smartctl (again RTFM!) can tell you, and try running some of the disk self tests.

Good luck!
Keep Calm and Carry On


modified 2-Apr-23 19:49pm.

GeneralWordle 652 Pin
StarNamer@work1-Apr-23 13:47
professionalStarNamer@work1-Apr-23 13:47 
GeneralRe: Wordle 652 Pin
Amarnath S1-Apr-23 14:00
professionalAmarnath S1-Apr-23 14:00 
GeneralRe: Wordle 652 Pin
Sandeep Mewara1-Apr-23 15:40
mveSandeep Mewara1-Apr-23 15:40 
GeneralRe: Wordle 652 Pin
OriginalGriff1-Apr-23 20:04
mveOriginalGriff1-Apr-23 20:04 
GeneralRe: Wordle 652 - 4 4 me Pin
pkfox1-Apr-23 22:52
professionalpkfox1-Apr-23 22:52 
GeneralRe: Wordle 652 Pin
Cp-Coder2-Apr-23 3:55
Cp-Coder2-Apr-23 3:55 
GeneralRe: Wordle 652 4/6 Pin
jmaida2-Apr-23 13:53
jmaida2-Apr-23 13:53 
Generalworldle 435 3/6 Pin
jmaida1-Apr-23 9:54
jmaida1-Apr-23 9:54 
Generalmy TP-Link ER7206 Router emits some smells Pin
Southmountain1-Apr-23 9:00
Southmountain1-Apr-23 9:00 
GeneralRe: my TP-Link ER7206 Router emits some smells Pin
RickZeeland1-Apr-23 9:14
mveRickZeeland1-Apr-23 9:14 
GeneralRe: my TP-Link ER7206 Router emits some smells PinPopular
OriginalGriff1-Apr-23 9:17
mveOriginalGriff1-Apr-23 9:17 
GeneralRe: my TP-Link ER7206 Router emits some smells Pin
Southmountain1-Apr-23 9:28
Southmountain1-Apr-23 9:28 
GeneralRe: my TP-Link ER7206 Router emits some smells Pin
David Crow2-Apr-23 4:00
David Crow2-Apr-23 4:00 
GeneralRe: my TP-Link ER7206 Router emits some smells Pin
Roger Wright3-Apr-23 7:39
professionalRoger Wright3-Apr-23 7:39 
GeneralRe: my TP-Link ER7206 Router emits some smells Pin
Mike Hankey1-Apr-23 9:42
mveMike Hankey1-Apr-23 9:42 
GeneralRe: my TP-Link ER7206 Router emits some smells Pin
Southmountain1-Apr-23 9:55
Southmountain1-Apr-23 9:55 
GeneralRe: my TP-Link ER7206 Router emits some smells Pin
Mike Hankey1-Apr-23 10:02
mveMike Hankey1-Apr-23 10:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.