Date: Thu, 06 Nov 2003 06:17:17 -0600 From: Kevin Day <toasty@dragondata.com> To: Greg 'groggy' Lehey <grog@FreeBSD.org> Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/47452: df(1) reports filesystem empty when it isn't Message-ID: <6.0.0.12.2.20031106055417.01c23950@mail.dragondata.com> In-Reply-To: <20031106015444.GB88647@wantadilla.lemis.com> References: <200311021600.hA2G0fAD045791@freefall.freebsd.org> <200311021600.hA2G0fAD045791@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 07:54 PM 11/5/2003, Greg 'groggy' Lehey wrote: >On Sunday, 2 November 2003 at 8:00:41 -0800, Kevin Day wrote: > > server6# du -xch /bay0 | tail -n 1 > > 2.5G total > > server6# df /bay0 > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/vinum/bay0 58379160 -22584 53731416 -0% /bay0 > >On the face of it, this should be a file system problem, not a Vinum >problem, but it's interesting that these problems are only reported >from Vinum volumes. How about some details of the geometry? server6# df -i /dev/vinum/bay0 Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/vinum/bay0 58379160 -41424 53750256 -0% -2843 1907481 -0% /bay0 vinum -> printconfig # Vinum configuration of server6.stileproject.com, saved at Thu Nov 6 05:54:03 2003 drive d2 device /dev/ad2s1e drive d1 device /dev/ad1s1e volume bay0 plex name bay0.p0 org striped 1241s vol bay0 sd name bay0.p0.s0 drive d1 plex bay0.p0 len 58619876s driveoffset 265s plexoffset 0s sd name bay0.p0.s1 drive d2 plex bay0.p0 len 58619876s driveoffset 265s plexoffset 1241s vinum -> l 2 drives: D d2 State: up /dev/ad2s1e A: 0/28623 MB (0%) D d1 State: up /dev/ad1s1e A: 0/28623 MB (0%) 1 volumes: V bay0 State: up Plexes: 1 Size: 55 GB 1 plexes: P bay0.p0 S State: up Subdisks: 2 Size: 55 GB 2 subdisks: S bay0.p0.s0 State: up D: d1 Size: 27 GB S bay0.p0.s1 State: up D: d2 Size: 27 GB ad1: 28629MB <QUANTUM FIREBALLP AS30.0> [58168/16/63] at ata0-slave UDMA33 ad2: 28629MB <QUANTUM FIREBALLP AS30.0> [58168/16/63] at ata1-master UDMA33 What statfs() says about this: $1 = {f_spare2 = 0, f_bsize = 8192, f_iosize = 65536, f_blocks = 7297395, f_bfree = 7302581, f_bavail = 6718790, f_files = 1904638, f_ffree = 1907481, f_fsid = {val = { 1043976519, 648351916}}, f_owner = 0, f_type = 4, f_flags = 268439616, f_syncwrites = 547, f_asyncwrites = 4160653, f_fstypename = "ufs", '\0' <repeats 12 times>, f_mntonname = "/bay0", '\0' <repeats 74 times>, f_syncreads = 197971, f_asyncreads = 179629, f_spares1 = 0, f_mntfromname = "/dev/vinum/bay0", '\0' <repeats 64 times>, f_spares2 = 0, f_spare = {0, 0}} Anything more specific you'd like?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.12.2.20031106055417.01c23950>