From: Eric Sandeen <sandeen@sandeen.net>
To: Michael Moody <michael@gsc.cc>
Cc: "xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: mkfs.xfs created filesystem larger than underlying device
Date: Wed, 24 Jun 2009 18:02:31 -0500 [thread overview]
Message-ID: <4A42B087.5050205@sandeen.net> (raw)
In-Reply-To: <98D6DBD179F61A46AF5C064829A832A0185042D264@erebus.totalmanaged.com>
Michael Moody wrote:
> It still looks wrong:
>
> [root@filer5 /]# xfs_info /mnt/Volume1/
> meta-data=/dev/Volume1-Rep-Store/Volume1-Replicated isize=256 agcount=32, agsize=146716768 blks
> = sectsz=512 attr=0
> data = bsize=4096 blocks=4694936576, imaxpct=25
> = sunit=0 swidth=0 blks, unwritten=1
> naming =version 2 bsize=4096
> log =internal bsize=4096 blocks=32768, version=1
> = sectsz=512 sunit=0 blks, lazy-count=0
> realtime =none extsz=4096 blocks=0, rtextents=0
4694936576*4096 = 19230460215296
> [root@filer5 /]# df
> Filesystem 1K-blocks Used Available Use% Mounted on
...
> /dev/mapper/Volume1--Rep--Store-Volume1--Replicated
> 18779615232 1056 18779614176 1% /mnt/Volume1
18779615232*1024 = 19230325997568
> [root@filer5 /]# cat /proc/partitions
> major minor #blocks name
>
...
> 253 5 18779746304 dm-5
18779746304*1024 = 19230460215296
so in bytes,
xfs_info says: 19230460215296
/proc/partitions says: 19230460215296 (same as above)
df says: 19230325997568 (a little smaller, but ok)
So, I don't see a problem here.
<later....>
> I experienced significant corruption. I had only about 3 files on the
> XFS filesystem, which was then exported via nfs. I ran nfs_stress.sh
> against it, and my files ended up corrupt, and the machine locked up.
> Ideas?
No, not really, not on a kernel this old, and without details about what
was corrupt, what xfs_repair said, what dmesg said, what sysrq-t said, etc.
-Eric
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-06-24 23:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 20:48 mkfs.xfs created filesystem larger than underlying device Michael Moody
2009-06-24 22:24 ` Eric Sandeen
2009-06-24 22:26 ` Michael Moody
2009-06-24 23:02 ` Eric Sandeen [this message]
2009-06-24 23:05 ` Michael Moody
2009-06-24 23:06 ` Eric Sandeen
2009-06-24 22:33 ` Michael Moody
2009-06-27 11:33 ` Peter Grandi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A42B087.5050205@sandeen.net \
--to=sandeen@sandeen.net \
--cc=michael@gsc.cc \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox