NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54969 (Disk cache is no longer flushed on shutdown)



The following reply was made to PR kern/54969; it has been noted by GNATS.

From: "Greg A. Woods" <woods%planix.ca@localhost>
To: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
Subject: Re: kern/54969 (Disk cache is no longer flushed on shutdown)
Date: Mon, 03 May 2021 22:59:45 -0700

 --pgp-sign-Multipart_Mon_May__3_22:59:21_2021-1
 Content-Type: text/plain; charset=US-ASCII
 
 At Sun, 2 May 2021 18:32:14 +0200, "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost> wrote:
 Subject: Re: kern/54969 (Disk cache is no longer flushed on shutdown)
 >
 > [1  <text/plain; us-ascii (7bit)>]
 > > On 25. Mar 2021, at 19:14, Greg A. Woods <woods%planix.ca@localhost>
 > > wrote:
 > >  There's no excuse I can find for /build not unmounting though,
 > > and definitely no excuse for '/' not umounting either, though it
 > > later '/' is forcefully unmounted, and on reboot '/' appears to
 > > be clean.  However the forceful unmount of /build doesn't work,
 > > and it is NOT clean.
 >
 > Could you please attach more information:
 > - /etc/fstab wedge config lvm config
 
 #
 #	NetBSD /etc/fstab
 #
 NAME=/				/		ffs	rw,log		 1 1
 NAME=swap			none		swap	sw,dp		 0 0
 NAME=/var			/var		ffs	rw,log		 1 2
 NAME=/usr/pkg			/usr/pkg	ffs	rw,log		 1 2
 #
 tmpfs				/tmp		tmpfs	rw,-m=1777,-s=ram%25
 kernfs				/kern		kernfs	rw
 ptyfs				/dev/pts	ptyfs	rw
 procfs				/proc		procfs	rw
 tmpfs				/var/shm	tmpfs	rw,-m1777,-sram%25
 #
 /dev/cd0a			/cdrom		cd9660	ro,noauto
 #
 /dev/mapper/scratch-build	/build		ffs	rw,log		1 2
 #
 more.local:/archive		/more/archive	nfs	-b,-i,rw,nosuid,nodev
 more.local:/home		/more/home	nfs	-b,-i,rw,nosuid,nodev
 more.local:/work		/more/work	nfs	-b,-i,rw,nosuid,nodev
 more.local:/vcs			/more/vcs	nfs	-b,-i,rw,nosuid,nodev
 
 
 
 # dkctl /dev/rsd0 listwedges
 /dev/rsd0: 5 wedges:
 dk0: /, 62914560 blocks at 2048, type: ffs
 dk1: swap, 100663296 blocks at 62916608, type: swap
 dk2: /var, 8388608 blocks at 176166912, type: ffs
 dk3: /usr/pkg, 104857600 blocks at 184557568, type: ffs
 dk4: LVM-vg0, 686282719 blocks at 289417216, type: ffs
 
 
 # dkctl /dev/rsd1 listwedges
 /dev/rsd1: 1 wedge:
 dk5: scratchdisk0, 1141897216 blocks at 1024, type: ffs
 
 
 22:53 [1.1770] # lvm pvdisplay
   --- Physical volume ---
   PV Name               /dev/rdk5
   VG Name               scratch
   PV Size               544.50 GiB / not usable 3.00 MiB
   Allocatable           yes
   PE Size               4.00 MiB
   Total PE              139391
   Free PE               60031
   Allocated PE          79360
   PV UUID               xxf5PJ-HL26-PbyQ-rHic-3ptB-t56f-S5NqXD
 
   --- Physical volume ---
   PV Name               /dev/rdk4
   VG Name               vg0
   PV Size               327.25 GiB / not usable 2.98 MiB
   Allocatable           yes
   PE Size               4.00 MiB
   Total PE              83774
   Free PE               63805
   Allocated PE          19969
   PV UUID               kcMuoP-L3c0-EdZp-lOjP-OFyA-xc6d-NpQsez
 
 
 
 
 22:53 [1.1771] # lvm vgdisplay
   --- Volume group ---
   VG Name               scratch
   System ID
   Format                lvm2
   Metadata Areas        1
   Metadata Sequence No  4
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                3
   Open LV               0
   Max PV                0
   Cur PV                1
   Act PV                1
   VG Size               544.50 GiB
   PE Size               4.00 MiB
   Total PE              139391
   Alloc PE / Size       79360 / 310.00 GiB
   Free  PE / Size       60031 / 234.50 GiB
   VG UUID               jEdo7q-pkhv-dG83-C10z-FysR-UBNy-cr0Fzc
 
   --- Volume group ---
   VG Name               vg0
   System ID
   Format                lvm2
   Metadata Areas        1
   Metadata Sequence No  6
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                5
   Open LV               0
   Max PV                0
   Cur PV                1
   Act PV                1
   VG Size               327.24 GiB
   PE Size               4.00 MiB
   Total PE              83774
   Alloc PE / Size       19969 / 78.00 GiB
   Free  PE / Size       63805 / 249.24 GiB
   VG UUID               cM3M8T-x0nZ-uUJw-avMT-zgO9-Tbux-2LSDOa
 
 
 
 
 22:53 [1.1772] # lvm lvdisplay
   --- Logical volume ---
   LV Name                /dev/scratch/build
   VG Name                scratch
   LV UUID                myecD7-LUdo-x2m0-8jdg-gHHN-uQ0Y-lc76fS
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                250.00 GiB
   Current LE             64000
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     0
   Block device           169:1
 
   --- Logical volume ---
   LV Name                /dev/scratch/fbsd-test.0
   VG Name                scratch
   LV UUID                hZbvoM-maqc-dur3-TFoT-2p76-Ru0p-BW8qO2
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                30.00 GiB
   Current LE             7680
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     0
   Block device           169:2
 
   --- Logical volume ---
   LV Name                /dev/scratch/fbsd-test.1
   VG Name                scratch
   LV UUID                mx3cD7-fcJi-S8AF-w91y-c6gH-U4rW-zdRRzk
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                30.00 GiB
   Current LE             7680
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     0
   Block device           169:3
 
   --- Logical volume ---
   LV Name                /dev/vg0/nbtest.root
   VG Name                vg0
   LV UUID                DpA5NL-8jdj-M8tM-0qB9-1GFM-eokA-u2tjv9
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                30.00 GiB
   Current LE             7680
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     0
   Block device           169:4
 
   --- Logical volume ---
   LV Name                /dev/vg0/nbtest.swap
   VG Name                vg0
   LV UUID                XD9t0F-Cdca-EaN3-5NNi-lb6M-qwnK-syilBU
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                8.00 GiB
   Current LE             2048
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     0
   Block device           169:5
 
   --- Logical volume ---
   LV Name                /dev/vg0/nbtest.var
   VG Name                vg0
   LV UUID                qybtJ1-Rt90-e2sa-XXiL-avZh-A82D-xglF25
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                10.00 GiB
   Current LE             2560
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     0
   Block device           169:6
 
   --- Logical volume ---
   LV Name                /dev/vg0/nbtest.pkg
   VG Name                vg0
   LV UUID                5WrGfp-4042-pmH9-Hc3K-JgJQ-l7mE-zclcNL
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                30.00 GiB
   Current LE             7680
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     0
   Block device           169:7
 
   --- Logical volume ---
   LV Name                /dev/vg0/tinytest
   VG Name                vg0
   LV UUID                4BjVA5-rBIG-8dhJ-oMyZ-uj7g-ouNJ-G2Jolb
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                4.00 MiB
   Current LE             1
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     0
   Block device           169:8
 
 
 --
 					Greg A. Woods <gwoods%acm.org@localhost>
 
 Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
 Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>
 
 --pgp-sign-Multipart_Mon_May__3_22:59:21_2021-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 Content-Description: OpenPGP Digital Signature
 
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCYJDivwAKCRBmfXG3eL/0
 fzcAAKCsOMLzjI4vLegzg4GOhTgG7obWwQCdG1bB0CW2HEU3+RD3Prd9qeqKbnw=
 =I98G
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Mon_May__3_22:59:21_2021-1--
 


Home | Main Index | Thread Index | Old Index