From: Roberto Ragusa <mail@robertoragusa.it>
To: linux-ext4@vger.kernel.org
Subject: Mkfs option to choose where metadata will be stored
Date: Wed, 22 Feb 2012 14:20:32 +0100 [thread overview]
Message-ID: <4F44EBA0.5090606@robertoragusa.it> (raw)
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
next reply other threads:[~2012-02-22 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-22 13:20 Roberto Ragusa [this message]
2012-02-22 16:54 ` Mkfs option to choose where metadata will be stored Andreas Dilger
2012-02-22 22:13 ` Roberto Ragusa
2012-02-23 4:46 ` Andreas Dilger
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=4F44EBA0.5090606@robertoragusa.it \
--to=mail@robertoragusa.it \
--cc=linux-ext4@vger.kernel.org \
/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