From: Spelic <spelic@shiftmail.org>
To: xfs@oss.sgi.com
Subject: Is xfs defrag *reliably* aligned to stripes?
Date: Mon, 22 Nov 2010 20:18:27 +0100 [thread overview]
Message-ID: <4CEAC203.9040800@shiftmail.org> (raw)
Hello xfs people,
does the xfs defrag (xfs_fsr, I think) reliably aligns files to stripes?
There is one scenario which requires this: if you make raw disk images
for virtual machines, you want such files to be reliably aligned to
stripes.
Even if a complete defrag for one file is not possible because there is
no contiguous free space (you remain e.g. with 2 trunks for one of such
files you still need to ensure that every trunk begins exactly at the
beginning of a stripe and ends exactly at the end of a stripe.
This is the only way to be able to align the guest filesystems to the
RAID, inside the virtual machine.
(obviously this also requires some work by the system administrator
because he needs to ensure that partitions inside the guest also are
offsetted by multiples of the stripe size, ok, but it's still anyway
needed that xfs_fsr guarantees total alignment to the stripes like I
described)
Does it do that? Will it do that in the future?
Thank you
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2010-11-22 19:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 19:18 Spelic [this message]
2010-11-22 23:07 ` Is xfs defrag *reliably* aligned to stripes? Dave Chinner
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=4CEAC203.9040800@shiftmail.org \
--to=spelic@shiftmail.org \
--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