Skip to contentSkip to conversation

Subvolume level allocation policy

DISCUSSION Phillip Susi 3 participants 3 messages Oct 23, 2011 – Oct 24, 2011 Btrfs file system

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is it ( yet? ) possible to manipulate the allocation policy on a subvolume level instead of the fs level? For example, to make / use raid1, and /home use raid0? Or to have / allocated from an ssd and /home allocated from the giant 2tb hd.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6kYgYACgkQJ4UciIs+XuISPQCglUtPmg4GMrrY53Fkafk2fkcA E84AoMAZXBha/fDrk6moMKPzbMYEtLci
=BIdX
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 7 lines · Phillip Susi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is it ( yet? ) possible to manipulate the allocation policy on a subvolume level instead of the fs level? For example, to make / use raid1, and /home use raid0? Or to have / allocated from an ssd and /home allocated from the giant 2tb hd.

Not yet, sorry. It's planned, but nobody's got around to
implementing it.

Hugo.

Signature · 3 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
         --- I'm on a 30-day diet. So far I've lost 18 days. ---         
#2 lore raw
In reply to Phillip Susi
Quoted 4 lines · Phillip Susi

Is it ( yet? ) possible to manipulate the allocation policy on a subvolume level instead of the fs level? For example, to make / use raid1, and /home use raid0? Or to have / allocated from an ssd and /home allocated from the giant 2tb hd.

At least the latter can be achieved with speed profiles. I worked on those together with Arne Jansen who sent patches in January 2011, subject "[PATCH] Btrfs: introducing speed profiles and dedicated log devices".

I don't assume they apply nowadays without a major rework, though. We should get those patches merged sometime.

-Jan