Re: [foxboro] lost+found clutter removal

  • From: "Gunter, Matt" <matt.gunter@xxxxxxxxxxxxxx>
  • To: "'foxboro@xxxxxxxxxxxxx'" <foxboro@xxxxxxxxxxxxx>
  • Date: Wed, 22 Jul 2015 13:35:52 +0000

William, thanks for the words of wisdom. Yes, we continue to experience
depleted swap space and occasionally get an AW crash. We haven't been able to
identify the cause, but try to select the best times to reboot the AW. When
the crash occurs, that should create all kinds of files that are properly
closed and fsck would create loads of entries in the lost+found directory. I
just learned that if I use the file command on a core file, it would tell me
what application caused the crash. I don't know if that will help, but it
might be a clue.

Stan, thanks for the further direction. I ran rm -r on all of the directories
within the lost+found subdirectory, but left lost+found itself intact. There
were so many files and directories I had to do it in "relatively" small chunks
because the command could not handle them all in one pass. I'll take the box
down and mount to the SBAR and run fsck on it as a test.

Kind regards to all...

Matt

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of William C Ricker
Sent: Tuesday, July 21, 2015 2:00 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] lost+found clutter removal

Be aware, though, that lost+found entries were once files or folders somewhere
in the file system and those files aren't where they belong any more. You
aren't likely to see a difference in the operation of the system just because
the lost+found entries are deleted but you may well see a difference because
they were put there in the first place.

There are methods to figure out what they were and even partially or fully
restore them, but I can honestly say I haven't seen anybody do it since the
AP50s came out.

If you have some substantial number of entries here, it says bad stuff may have
happened to the file system. If they continue to be generated, you may need
that backup you have so judiciously kept.

WCR

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of Gunter, Matt
Sent: Tuesday, July 21, 2015 3:44 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] lost+found clutter removal

Thanks Joe! From my reading, I know that files and/or directories in there can
be salvaged if you are persistent and have time to work with it. The entries
are stuck in the lost+found directory by fsck when processes are not shut down
properly, e.g. system crash, and particularly when the message "file system
modified" is displayed - which pretty much happens anytime you run fsck on a
mounted file system.

I've cleaned out the lots+found directory on our lab system and if that
presents no problems, I follow suit on the live system.

Matt

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of Currano, Joe
Sent: Tuesday, July 21, 2015 9:21 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] lost+found clutter removal

I'm no expert but I think we've removed lost+found items a few times. My
understanding is the lost+found files may help for troubleshooting after a
crash if you know what to look for, but if you are not having any problems with
the machine, you don't need them. So if they're older than yesterday's crash,
you'll probably never look at them anyway.

-Joe

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of Gunter, Matt
Sent: Tuesday, July 21, 2015 10:50 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] lost+found clutter removal

Esteemed list,
I have a question for those who can recall administration of Solaris boxes.

When I issue the df command on our server I get a disk usage of 36% on the /opt
partition. The du command indicates that there are 212666 kilobytes worth of
directories and files in the lost+found subdirectory. Since the stuff in these
directories is placed there by fsck and it is not used for the running of the
system, I can't see any reason to retain this information. Has anybody gone to
the effort or made a practice of cleaning out this subdirectory and were there
any adverse consequences as a result?

Thanks!

Matt



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

Notice: This e-mail is intended solely for use of the individual or entity to
which it is addressed and may contain information that is proprietary,
privileged and exempt from disclosure under applicable law. If the reader is
not the intended recipient or agent responsible for delivering the message to
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. This
communication may also contain data subject to U.S. export laws. If so, that
data subject to the International Traffic in Arms Regulation cannot be
disseminated, distributed or copied to foreign nationals, residing in the U.S.
or abroad, absent the express prior approval of the U.S. Department of State.
If you have received this communication in error, please notify the sender by
reply e-mail and destroy the e-mail message and any physical copies made of the
communication. Thank you.
********** **********



_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company). Use the info you obtain here at your own
risks. See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list: //www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave




_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company). Use the info you obtain here at your own
risks. See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list: //www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave




_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company). Use the info you obtain here at your own
risks. See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list: //www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave



---
This email is free from viruses and malware because avast! Antivirus protection
is active.
https://www.avast.com/antivirus



_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company). Use the info you obtain here at your own
risks. See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list: //www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave




_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company). Use the info you obtain here at your own
risks. See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list: //www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave


Other related posts: