All of lore.kernel.org
 help / color / mirror / Atom feed
* Mkfs option to choose where metadata will be stored
@ 2012-02-22 13:20 Roberto Ragusa
  2012-02-22 16:54 ` Andreas Dilger
  0 siblings, 1 reply; 4+ messages in thread
From: Roberto Ragusa @ 2012-02-22 13:20 UTC (permalink / raw)
  To: linux-ext4

Hi, [please CC me, I'm not subscribed]

is there any way to force allocation of metadata to a different device
or to a specific part (e.g. the begin) of the partition?

I see there is -O journal_dev to redirect the journal.
Can I do something different for metadata?

My idea is to have metadata on SSD and data on HDD.
With a linear RAID mapping, I would get a device which is a few GB of
SSD followed by a lot of HDD space.

Alternatively, I'm going to experiment with an approach where a volume group
is done on two PV: one HDD and one SSD. The idea is to create the LV on
the HDD and then move some extents (for example 0,1,64,65,128,129,...) to
the SSD, so that metadata happens to be on the SSD.
>From what I found about the on-disk format, this is highly approximate
and surely inelegant, so I wonder if a simpler solution exists.

Thanks.

-- 
   Roberto Ragusa    mail at robertoragusa.it

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

end of thread, other threads:[~2012-02-23  4:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-22 13:20 Mkfs option to choose where metadata will be stored Roberto Ragusa
2012-02-22 16:54 ` Andreas Dilger
2012-02-22 22:13   ` Roberto Ragusa
2012-02-23  4:46     ` Andreas Dilger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.