linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* can subvolumes be specified as compressed?
@ 2010-07-29  7:50 Wang Shaoyan
  2010-07-29  8:21 ` Miao Xie
  0 siblings, 1 reply; 8+ messages in thread
From: Wang Shaoyan @ 2010-07-29  7:50 UTC (permalink / raw)
  To: linux-btrfs

Hi.
I want a subvolume in root to be compressed, I try to do this:
# mkfs.btrfs /dev/sda8
# mount /dev/sda8 /home/usr/btrfs
# cd /home/usr/btrfs
# btrfs subvolume create mysubvolume
# mount -o compress,subvol=mysubvolume /dev/sda8 some_dir_in_root
but when I create a file in some_dir_in_root, the file isn't
compressed at all. why? How can I specify some subvolumes to be
compressed, and the others Not to be compressed in a single btrfs?

--
Wang Shaoyan

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

end of thread, other threads:[~2010-07-30  3:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29  7:50 can subvolumes be specified as compressed? Wang Shaoyan
2010-07-29  8:21 ` Miao Xie
2010-07-29  8:55   ` Wang Shaoyan
2010-07-29 10:04     ` Miao Xie
2010-07-30  1:29     ` Wang Shaoyan
2010-07-30  2:09       ` Chris Ball
2010-07-30  3:21         ` Wang Shaoyan
2010-07-30  3:50           ` Chris Ball

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).