Re: Amanda vs lvm with 2, 1T SSD's
At Thu, 7 Apr 2022 09:27:47 -0600 Charles Curley wrote: > > On Thu, 07 Apr 2022 05:29:21 -0400 > gene heskett wrote: > > > Does anyone have any experience at useing more than 1 drive in a > > vtape setup? > > Yes. > > One problem with LVM by itself is that there is no redundancy. Loose a > hard drive, and any volume groups on it or partially on it are likely > toast. For redundancy, you need RAID. Right. LVM is great for breaking up a RAID array into separate file systems, either for VMs or just to segerate types of data (eg system files, user files, a SVN repo, "static" storage (eg ISO image files), etc.). > > I now have three 4TB hard drives in a RAID 5 array. This is purely for > data storage, vtapes among other things. All system and user files are > on a separate SSD. > > It works as follows: > > Three hard drives, each with one partition on it. > > On top of the three partitions, one RAID 5 array. > > On top of the RAID array, encryption. It uses the same passphrase as > the encrypted portions of the SSD, so I need only enter one passphrase > at boot. > > On top of the encrypted array, an LVM volume group, with one volume and > lots of spare room for expansion. > > On top of the logical volume, an ext4 file system. > > Everything works nicely. I've had one hard drive fail. RAID took up the > slack, and was able to chug along nicely for several weeks with only two > hard drives. Once I installed the replacement and added it to the > array, RAID went about propagating data to the new drive with no > complaints or problems. > > I also generate files of sha512sums and sha256sums, which I use to > check the data from time to time. Data integrity seems to be good. > > Vtapes are on the one logical volume that exists. > > Oh, and for the truly paranoid, I have three USB drives which I rotate > to off-site storage and take with me on trips. I use rsync to back up > portions of the logical volume to the off-site backups. > > For more information, > https://charlescurley.com/blog/posts/2019/Nov/02/backups-on-linux/ > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services
Re: Amanda vs lvm with 2, 1T SSD's
On Thu, 07 Apr 2022 05:29:21 -0400 gene heskett wrote: > Does anyone have any experience at useing more than 1 drive in a > vtape setup? Yes. One problem with LVM by itself is that there is no redundancy. Loose a hard drive, and any volume groups on it or partially on it are likely toast. For redundancy, you need RAID. I now have three 4TB hard drives in a RAID 5 array. This is purely for data storage, vtapes among other things. All system and user files are on a separate SSD. It works as follows: Three hard drives, each with one partition on it. On top of the three partitions, one RAID 5 array. On top of the RAID array, encryption. It uses the same passphrase as the encrypted portions of the SSD, so I need only enter one passphrase at boot. On top of the encrypted array, an LVM volume group, with one volume and lots of spare room for expansion. On top of the logical volume, an ext4 file system. Everything works nicely. I've had one hard drive fail. RAID took up the slack, and was able to chug along nicely for several weeks with only two hard drives. Once I installed the replacement and added it to the array, RAID went about propagating data to the new drive with no complaints or problems. I also generate files of sha512sums and sha256sums, which I use to check the data from time to time. Data integrity seems to be good. Vtapes are on the one logical volume that exists. Oh, and for the truly paranoid, I have three USB drives which I rotate to off-site storage and take with me on trips. I use rsync to back up portions of the logical volume to the off-site backups. For more information, https://charlescurley.com/blog/posts/2019/Nov/02/backups-on-linux/ -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Amanda vs lvm with 2, 1T SSD's
Hi, Albeit in a broader context: LVM works very well. Although in your case there is a significant drawback: if one SSD were to fail, the volume group would break. Maybe it's safer to spread the virtual tapes across both SSDs (having individual file systems), for example using symbolic links. Cheers, Kees On 07-04-2022 11:29, gene heskett wrote: Greetings all; In my quest to convert all my system, to SSD's since spinning rust above 1T has all failed rapidly, costing me all my history back into the 1990's I now have 2 more 1 terabyte Samsungs, and I'd like to hear of amanda users useing more than 1 drive for vtapes in an LVM setup to make the two drives look like 1 bigger drive to amanda. Up to now I've tended to stay away from lvm as it seems to be just another layer of complexity that can break. Does anyone have any experience at useing more than 1 drive in a vtape setup? Thank you all. Cheers, Gene Heskett.