linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stride / stripe alignment on LVM ?
@ 2007-11-01  9:10 Janek Kozicki
  2007-11-01 23:27 ` Neil Brown
  2007-11-02 12:10 ` Michal Soltys
  0 siblings, 2 replies; 11+ messages in thread
From: Janek Kozicki @ 2007-11-01  9:10 UTC (permalink / raw)
  To: linux-raid

Hello,

I have raid5 /dev/md1, --chunk=128 --metadata=1.1. On it I have
created LVM volume called 'raid5', and finally a logical volume
'backup'.

Then I formatted it with command:

   mkfs.ext3 -b 4096 -E stride=32 -E resize=550292480 /dev/raid5/backup

And because LVM is putting its own metadata on /dev/md1, the ext3
partition is shifted by some (unknown for me) amount of bytes from
the beginning of /dev/md1.

I was wondering, how big is the shift, and would it hurt the
performance/safety if the `ext3 stride=32` didn't align perfectly
with the physical stripes on HDD?

PS: the resize option is to make sure that I can grow this fs
in the future.

PSS: I looked in the archive but didn't find this question asked
before. I'm sorry if it really was asked.

-- 
Janek Kozicki                                                         |

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-11-11 23:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01  9:10 stride / stripe alignment on LVM ? Janek Kozicki
2007-11-01 23:27 ` Neil Brown
2007-11-02 13:01   ` Bill Davidsen
2007-11-02 22:16     ` Janek Kozicki
2007-11-03 18:40       ` Doug Ledford
2007-11-03 20:21         ` Janek Kozicki
2007-11-04  1:02           ` Doug Ledford
2007-11-07  9:00           ` Goswin von Brederlow
2007-11-11 23:53             ` Alasdair G Kergon
2007-11-07  9:04   ` Goswin von Brederlow
2007-11-02 12:10 ` Michal Soltys

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).