Question: How to Disable /var/crash Auto Generated Partition and /var/crash

John L. Males jlmales at gmail.com
Sat Dec 14 04:52:17 UTC 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello All,

I just discovered by pure chance a few hours ago that the DOM
has a EXT4 partition I never created on the DOM.  The by chance
was during course of writing some scripts that are to do
certain tasks automatically lead to this discovery.


This extra large partition of about 5.6GB is an EXT4 partition
with crash dump files on it and is mounted to /var/crash/.  I
suspect his has been going on for a number of past Ubuntu Live
Image releases.

I need to know how to completely disable the need for
a /var/crash mount point.  I need to know how to disable Ubuntu
Live image from automatically creating any partition and
prevent any file system being created on the flash device the
Live Image is on.


John L. Males
Toronto, Ontario
Canada
13 December 2019 23:52 -0500 EST


================================================================

2019-12-14 04:44:19+0000-UTC Time: 1576298659 PC/System time

14 Dec 04:44:19 ntpdate[77256]: ntpdate 4.2.8p12-a (1)

14 Dec 04:44:34 ntpdate[78801]: step time server 206.108.0.133
offset 0.002077 sec

FreeBSD 11.3-STABLE FreeBSD 11.3-STABLE #0 r349903: Thu Jul 11
16:13:47 UTC 2019
root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC 

(Work in progress alternative to Linux Kernel of its own right,
 Debian, and
 other Linux based Kernel distributions determined.)

Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz
Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz (1396.86-MHz K8-class
CPU) Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz (1396.86-MHz
K8-class CPU) Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz
(1396.86-MHz K8-class CPU) Intel(R) Core(TM) i3-2367M CPU @
1.40GHz (1396.86-MHz K8-class CPU) Intel(R) Core(TM) i3-2367M
CPU @ 1.40GHz (1396.86-MHz K8-class CPU)

dev.cpu.0.temperature: 71.0C
dev.cpu.1.temperature: 71.0C
dev.cpu.2.temperature: 67.0C
dev.cpu.3.temperature: 67.0C
hw.acpi.thermal.tz0.temperature: 70.1C

vmstat -s:

658359938 cpu context switches
 24314169 device interrupts
  4729080 software interrupts
 38860153 traps
1843269796 system calls
       27 kernel threads created
     7748  fork() calls
     5286 vfork() calls
        0 rfork() calls
      277 swap pager pageins
     1333 swap pager pages paged in
     6442 swap pager pageouts
    32752 swap pager pages paged out
    12256 vnode pager pageins
   103194 vnode pager pages paged in
      133 vnode pager pageouts
     2940 vnode pager pages paged out
      295 page daemon wakeups
 88143806 pages examined by the page daemon
        0 clean page reclamation shortfalls
  2163653 pages reactivated by the page daemon
   509264 copy-on-write faults
     2298 copy-on-write optimized faults
 23897445 zero fill pages zeroed
    11353 zero fill pages prezeroed
      508 intransit blocking page faults
 45575186 total VM faults taken
    14414 page faults requiring I/O
        0 pages affected by kernel thread creation
   382945 pages affected by  fork()
   183982 pages affected by vfork()
        0 pages affected by rfork()
 51788859 pages freed
 17074157 pages freed by daemon
  8041106 pages freed by exiting processes
   309355 pages active
  2528982 pages inactive
   506408 pages in the laundry queue
   522916 pages wired down
   185105 pages free
     4096 bytes per page
 37346536 total name lookups
          cache hits (83% pos + 0% neg) system 0% per-directory
          deletions 0%, falsehits 0%, toolong 0%

Boot time : 1576105289

procs     memory        page                    disks
faults        cpu0     cpu1     cpu2     cpu3 r b w     avm
fre  flt  re  pi  po    fr   sr ad0 pa0   in    sy    cs us sy
id us sy id us sy id us sy id 0 0 0 29340836  740360  236  11
0   0   268  456   0   0  126  9532  3404  7  3 90  7  2 90  7
2 91  7  2 90

memory info:

real memory  = 17179869184 (16384 MB)
avail memory = 16495013888 (15730 MB)

last pid: 87956;  load averages:  0.56,  0.52,  0.58  up
2+05:43:06    04:44:35 58 processes:  2 running, 56 sleeping

Mem: 1209M Active, 9879M Inact, 1978M Laundry, 2043M Wired,
1067M Buf, 722M Free Swap: 48G Total, 126M Used, 48G Free

hw.physmem: 17053859840
hw.usermem: 14911836160
hw.realmem: 17179869184

             total       used       free     shared
buffers     cached Mem:      16210872    5354624
10856248          0          0          0 Swap:
50331644     128900   50202744

swapinfo:

Device          1K-blocks     Used    Avail Capacity
/dev/ada0s1b     50331644   128900 50202744     0%

vmstat:

procs     memory        page                    disks
faults         cpu r b w     avm     fre  flt  re  pi  po
fr   sr ad0 pa0   in    sy    cs us sy id 1 0 0 29340836
740360  236  11   0   0   268  456   0   0  126  9532  3404  7
2 90

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQxRId2q5JPHFiozTr5X9dS0HpoEAUCXfRqgQAKCRD5X9dS0Hpo
EEyRAJ9ThoEGsA93uEG6gnqFyaYWIozxagCfZyqI+lWDN4bo0dnGDgTex4Ri1BI=
=PGUf
-----END PGP SIGNATURE-----



More information about the Ubuntu-release mailing list