advice for testing fileserver

Caleb O''Connell
Tue, 11 Sep 2012 17:19:47 -0000

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?



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html