The goal is to build a file server. I already have an LVM that was automatically created in the installation of Centos, including partitions below (sda1): /Dev/mapper/centos-root /Dev/mapper/centos-swap I added a second disk on the server, which was identified as sdb. If you need to configure the shadow copy only on an LVM, for my case, what do you advise: - Create a new LVM only to the SDB; - Include the SDB in the same SDA LVM. Thank you!
if I understand what you're asking, it's a good idea to keep your data partitions separate from your boot and application partitions. this applies to any server on pretty much any OS, and also applies to /home. so make a VG for sdb, and in case that guide isn't clear, don't make your logical volume take 100% of the VG or you won't have room for the shadows, which are actually LVM snapshots. On Mon, Aug 22, 2016 at 12:56 PM Ricardo Pardim Claus via samba < samba at lists.samba.org> wrote:> The goal is to build a file server. > I already have an LVM that was automatically created in the installation > of Centos, including partitions below (sda1): > > /Dev/mapper/centos-root > /Dev/mapper/centos-swap > > I added a second disk on the server, which was identified as sdb. > If you need to configure the shadow copy only on an LVM, for my case, what > do you advise: > > - Create a new LVM only to the SDB; > - Include the SDB in the same SDA LVM. > > Thank you! > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Dear Chris, I appreciate the initial contact. See if I understand your explanation. Example: I will create an SDB drive with 1 TB. When I create LVM, I create two partitions, one with 900GB and 100GB with another. This 100GB partition I'll use to store the snapshots? Or I create an SDB with 1TB, and when you create the LVM with lvcreate, I put only 900GB? Soon after setting the shadow copy, I will set quota for AD group. Thank you! ________________________________> De: Chris Weiss > Assunto: Re: [Samba] Configure File System for Shadow Copy> if I understand what you're asking, it's a good idea to keep your data partitions separate from your boot and application partitions. this applies to any server on pretty much any OS, and also applies to /home.> so make a VG for sdb, and in case that guide isn't clear, don't make your logical volume take 100% of the VG or you won't have room for the shadows, which are actually LVM snapshots.