linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* advice for testing fileserver
@ 2012-09-11 17:19 Caleb O'Connell
  0 siblings, 0 replies; only message in thread
From: Caleb O'Connell @ 2012-09-11 17:19 UTC (permalink / raw)
  To: linux-btrfs

I'm building a test file server using samba 3.6 to see if BTRFS is a good 
fit.  I want to stress that this is a test setup for now.

I'm trying to get an idea of the sub-volume concept and how it relates to 
the LVM concept.  Trying to see what might be the best practice.

I was going to create one of two configs.
-----------------------------------------------------------------------------
##
option 1
sda1 -> /boot using ext4
sda2 is LV sysvg, this will include:
  lvroot -> / using ext4
  lvvar -> /var using ext4
  lvopt -> /opt using ext4
  lvhome -> /home using btrfs
  lvsrv -> /srv using btrfs

I could create sub-volumes in srv for each samba share.

##
option 2
sda1 -> /boot using ext4
sda2 is LV sysvg, this will include:
  lvroot -> / using ext4
  lvvar -> /var using ext4
  lvopt -> /opt using ext4
sda3 -> /home using btrfs
sda4 -> /srv using btrfs

both /home and /srv can create their own sub-volumes for each homedir and 
each share.
____________________________________________________________________________
Does BTRFS work fine within a LV?  Is there an advantage to keep BTRDS out 
or in a LV?  Does all this make no sense? and I really should just create 
one big BTRFS partition and only use sub-volumes?




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-11 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 17:19 advice for testing fileserver Caleb O'Connell

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