Thread (4 messages) flat view 4 messages, 3 authors, 2012-02-23

Mkfs option to choose where metadata will be stored

From: Roberto Ragusa <hidden>
Date: 2012-02-22 13:31:16

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help