jaysoncena

From a Freelancer's Viewpoint

Samba Shadow Copy Module

Posted by jaysoncena on August 9, 2011

[shadowshare1]
	path = /mnt/storage/shadowshare
	vfs objects = shadow_copy2
	shadow: snapdir = /mnt/storage/shadowshare-snapcollection
	shadow: basedir = /mnt/storage/shadowshare
	available = yes
	browseable = yes
	writeable = yes
	force user = nobody
	valid users = op_jayson,kenneth,dino

------------------------------------------------------
/dev/mapper/storage-shadowshare on /mnt/storage/shadowshare type xfs (rw)
/dev/mapper/storage-shadowshare_snap1 on /mnt/storage/shadowshare-snapcollection/@GMT-2011.08.09-03.28.53 type xfs (ro,nouuid)
/dev/mapper/storage-shadowshare_snap2 on /mnt/storage/shadowshare-snapcollection/@GMT-2011.08.09-03.31.42 type xfs (ro,nouuid)
------------------------------------------------------
root@fileserver0 ~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/turnkey-root
                       17G  2.4G   14G  15% /
none                  499M  232K  499M   1% /dev
none                  502M     0  502M   0% /dev/shm
none                  502M   18M  484M   4% /var/run
none                  502M     0  502M   0% /var/lock
none                  502M     0  502M   0% /lib/init/rw
/dev/sda1             473M   17M  432M   4% /boot
/dev/mapper/storage-projects
                      262G  133G  130G  51% /mnt/storage/projects
/dev/mapper/storage-units
                      130G  120G   11G  93% /mnt/storage/units
/dev/mapper/storage-installers
                       10G  5.1G  5.0G  51% /mnt/storage/installers
/dev/mapper/storage-shadowshare
                      5.0G  4.2M  5.0G   1% /mnt/storage/shadowshare
/dev/mapper/storage-shadowshare_snap1
                      5.0G  4.2M  5.0G   1% /mnt/storage/shadowshare-snapcollection/@GMT-2011.08.09-03.28.53
/dev/mapper/storage-shadowshare_snap2
                      5.0G  4.2M  5.0G   1% /mnt/storage/shadowshare-snapcollection/@GMT-2011.08.09-03.31.42
------------------------------------------------------
  --- Logical volume ---
  LV Name                /dev/storage/shadowshare
  VG Name                storage
  LV UUID                eXONzU-lV03-Ilao-engz-L5Jj-er3g-wrUlp2
  LV Write Access        read/write
  LV snapshot status     source of
                         /dev/storage/shadowshare_snap1 [active]
                         /dev/storage/shadowshare_snap2 [active]
  LV Status              available
  # open                 1
  LV Size                5.00 GiB
  Current LE             1280
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:7

  --- Logical volume ---
  LV Name                /dev/storage/shadowshare_snap1
  VG Name                storage
  LV UUID                AhEOAF-G0UT-8igr-NUw0-X7Sc-G1cJ-87mypZ
  LV Write Access        read/write
  LV snapshot status     active destination for /dev/storage/shadowshare
  LV Status              available
  # open                 1
  LV Size                5.00 GiB
  Current LE             1280
  COW-table size         5.00 GiB
  COW-table LE           1280
  Allocated to snapshot  0.04%
  Snapshot chunk size    4.00 KiB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:8

  --- Logical volume ---
  LV Name                /dev/storage/shadowshare_snap2
  VG Name                storage
  LV UUID                4NDVmg-vBDi-0UgN-woQ8-GCuI-mXWE-fyR383
  LV Write Access        read/write
  LV snapshot status     active destination for /dev/storage/shadowshare
  LV Status              available
  # open                 1
  LV Size                5.00 GiB
  Current LE             1280
  COW-table size         5.00 GiB
  COW-table LE           1280
  Allocated to snapshot  0.04%
  Snapshot chunk size    4.00 KiB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:11
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: