RE: [gentoo-user] LVM and moving things around

2022-04-05 Thread Laurence Perkins
> -Original Message- > From: Rich Freeman > Sent: Tuesday, April 5, 2022 11:59 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] LVM and moving things around > > On Tue, Apr 5, 2022 at 11:10 AM Wols Lists wrote: > > > > I

Re: [gentoo-user] LVM and moving things around

2022-04-05 Thread Rich Freeman
On Tue, Apr 5, 2022 at 11:10 AM Wols Lists wrote: > > I don't know how you take advantage of it, but linux by default caches > disk i/o. You can tell it to "don't cache" and apparently it makes a > major difference. Given that rsync reads once and then never uses it > again, you don't want it

Re: [gentoo-user] LVM and moving things around

2022-04-05 Thread Wols Lists
On 05/04/2022 14:58, Laurence Perkins wrote: -Original Message- From: Dale Sent: Monday, April 4, 2022 4:37 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] LVM and moving things around One thing that annoys me, it trying to use swap. I don't want to disable

RE: [gentoo-user] LVM and moving things around

2022-04-05 Thread Laurence Perkins
>-Original Message- >From: Dale >Sent: Monday, April 4, 2022 4:37 PM >To: gentoo-user@lists.gentoo.org >Subject: Re: [gentoo-user] LVM and moving things around > > >One thing that annoys me, it trying to use swap. I don't want to disable it >because on

Re: [gentoo-user] LVM and moving things around

2022-04-04 Thread Dale
Laurence Perkins wrote: >> -Original Message- >> From: Dale >> Sent: Monday, April 4, 2022 5:42 AM >> To: gentoo-user@lists.gentoo.org >> Subject: Re: [gentoo-user] LVM and moving things around >> >> Bill Kenworthy wrote: >>> Rsync has a

RE: [gentoo-user] LVM and moving things around

2022-04-04 Thread Laurence Perkins
> -Original Message- > From: Dale > Sent: Monday, April 4, 2022 5:42 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] LVM and moving things around > > Bill Kenworthy wrote: > > Rsync has a bwlimit argument which helps here. Note that rsync

Re: [gentoo-user] LVM and moving things around

2022-04-04 Thread Dale
Bill Kenworthy wrote: > Rsync has a bwlimit argument which helps here. Note that rsync copies > the whole file on what it considers local storage (which can be > mounted network shares) ... this can cause a real slowdown. > BillK > > I ended up just letting it do its thing.  I didn't want to slow

Re: [gentoo-user] LVM and moving things around

2022-04-03 Thread Wol
On 03/04/2022 19:37, Frank Steinmetzger wrote: Am Sun, Apr 03, 2022 at 05:05:07PM +0100 schrieb Wol: Rsync has a bwlimit argument which helps here. Note that rsync copies the whole file on what it considers local storage (which can be mounted network shares) ... this can cause a real slowdown.

Re: [gentoo-user] LVM and moving things around

2022-04-03 Thread Frank Steinmetzger
Am Sun, Apr 03, 2022 at 05:05:07PM +0100 schrieb Wol: > > > > Rsync has a bwlimit argument which helps here. Note that rsync copies > > > > the whole file on what it considers local storage (which can be mounted > > > > network shares) ... this can cause a real slowdown. > > > It won't help on

Re: [gentoo-user] LVM and moving things around

2022-04-03 Thread Wol
On 03/04/2022 16:29, Frank Steinmetzger wrote: Am Sun, Apr 03, 2022 at 09:59:22AM +0100 schrieb Wols Lists: On 03/04/2022 02:15, Bill Kenworthy wrote: Rsync has a bwlimit argument which helps here. Note that rsync copies the whole file on what it considers local storage (which can be mounted

Re: [gentoo-user] LVM and moving things around

2022-04-03 Thread Frank Steinmetzger
Am Sun, Apr 03, 2022 at 09:59:22AM +0100 schrieb Wols Lists: > On 03/04/2022 02:15, Bill Kenworthy wrote: > > Rsync has a bwlimit argument which helps here. Note that rsync copies > > the whole file on what it considers local storage (which can be mounted > > network shares) ... this can cause a

Re: [gentoo-user] LVM and moving things around

2022-04-03 Thread Rich Freeman
On Sun, Apr 3, 2022 at 4:59 AM Wols Lists wrote: > > On 03/04/2022 02:15, Bill Kenworthy wrote: > > Rsync has a bwlimit argument which helps here. Note that rsync copies > > the whole file on what it considers local storage (which can be mounted > > network shares) ... this can cause a real

Re: [gentoo-user] LVM and moving things around

2022-04-03 Thread Wols Lists
On 03/04/2022 02:15, Bill Kenworthy wrote: Rsync has a bwlimit argument which helps here. Note that rsync copies the whole file on what it considers local storage (which can be mounted network shares) ... this can cause a real slowdown. It won't help on the initial copy, but look at the - I

Re: [gentoo-user] LVM and moving things around

2022-04-02 Thread Bill Kenworthy
Rsync has a bwlimit argument which helps here. Note that rsync copies the whole file on what it considers local storage (which can be mounted network shares) ... this can cause a real slowdown. BillK On 3 April 2022 3:51:22 am AWST, Dale wrote: >Dale wrote: >> Howdy, >> >> I sort of started

Re: [gentoo-user] LVM and moving things around

2022-04-02 Thread Dale
Rich Freeman wrote: > On Mon, Mar 28, 2022 at 9:32 AM Dale wrote: >> Time for plan B. I expect a drive purchase soon. $$$ Heck, it would >> be faster to do backups, redo the whole thing and copy it all back. I >> could copy it in chunks. First chunk gets me running and then copy >> remaining

Re: [gentoo-user] LVM and moving things around

2022-04-02 Thread Dale
Dale wrote: > Howdy, > > I sort of started this on another thread but wanted to nail a few things > down first.  I'm wanting to encrypt some parts of my data on /home.  > <<< SNIP >>> > OK.  I looked into another hard drive but budget right now says no.  So, I went back to plan A.  I managed to

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Rich Freeman
On Mon, Mar 28, 2022 at 9:32 AM Dale wrote: > > Time for plan B. I expect a drive purchase soon. $$$ Heck, it would > be faster to do backups, redo the whole thing and copy it all back. I > could copy it in chunks. First chunk gets me running and then copy > remaining stuff. Hm. If you

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Rich Freeman
On Sun, Mar 27, 2022 at 8:32 PM Miles Rout wrote: > > To be clear, cryptsetup is just a userspace command line tool for > manipulating dm-crypt/LUKS stuff. dm-crypt is the kernel part. Lots of > tools are structured this way. LVM is a thing in the kernel, and the > lvcreate/pvcreate/etc.

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Dale
Wols Lists wrote: > On 28/03/2022 13:52, Dale wrote: >> I googled and was trying to find info on how long it will take to shrink >> from 20TB to around 12TBs or so.  It didn't lead to much except for >> someone with some seriously large drives and it taking about a week to >> shrink.  That's a

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Wols Lists
On 28/03/2022 13:52, Dale wrote: I googled and was trying to find info on how long it will take to shrink from 20TB to around 12TBs or so.  It didn't lead to much except for someone with some seriously large drives and it taking about a week to shrink.  That's a problem.  If it will even take a

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Dale
Michael wrote: > On Monday, 28 March 2022 04:59:04 BST Dale wrote: >> Michael wrote: >>> On Sunday, 27 March 2022 22:04:45 BST Dale wrote: That's sort of what I'm going to do. I'm going to divide things into sections with some encrypted and some not. >>> I wonder if all you want to do

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Michael
On Monday, 28 March 2022 04:59:04 BST Dale wrote: > Michael wrote: > > On Sunday, 27 March 2022 22:04:45 BST Dale wrote: > >> That's sort of what I'm going to do. I'm going to divide things into > >> sections with some encrypted and some not. > > > > I wonder if all you want to do is to encrypt

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Wols Lists
On 28/03/2022 07:53, Dale wrote: I looked into setting up a local mail server, it is just way over my head.  When I have time to deal with it, I'll look into it again.  I'm sure I can do it but at the moment, got to much else going on.  It's the season for catching catfish anyway.;-) If you

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Dale
Wols Lists wrote: > On 27/03/2022 22:34, Dale wrote: >> I don't have RAID at all.  Just three drives being used as /home on >> LVM.  I should use RAID but I have a backup that gets done each week.  I >> wouldn't lose much even if it crashed and burned badly.  The biggest >> loss might would be

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Wols Lists
On 27/03/2022 22:34, Dale wrote: I don't have RAID at all.  Just three drives being used as /home on LVM.  I should use RAID but I have a backup that gets done each week.  I wouldn't lose much even if it crashed and burned badly.  The biggest loss might would be emails.  I think I have gmail set

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Dale
Michael wrote: > On Sunday, 27 March 2022 22:04:45 BST Dale wrote: >> >> That's sort of what I'm going to do. I'm going to divide things into >> sections with some encrypted and some not. > I wonder if all you want to do is to encrypt some directories on your /home, > then a different level of

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Miles Rout
On Sun, Mar 27, 2022 at 04:04:45PM -0500, Dale wrote: > Based on the reply from Rich, thanks for the info, cryptsetup is just a > upper level of dm-crypt.  Basically, cryptsetup just has some user > friendly bits added on top of it.  Security wise, should be secure > either way.  To be clear,

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Michael
On Sunday, 27 March 2022 22:04:45 BST Dale wrote: > Wol wrote: > > My three 3TB partitions are raided, and /dev/md/home is my PV. I've > > only allocated the space to LVs that they need, so I could probably > > shrink the PV and remove a drive without needing to mess about with my > > LVs at all.

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Dale
Wol wrote: > On 27/03/2022 21:36, Wol wrote: >> I don't know either. I'm just far more familiar with the dm/md layer >> because I run md-raid over dm-integrity. Hence dm-crypt. >> >> Is cryptsetup a layer in its own right, or part of lvm? I prefer the >> Unix "use several tools each of which does

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Wol
On 27/03/2022 21:36, Wol wrote: I don't know either. I'm just far more familiar with the dm/md layer because I run md-raid over dm-integrity. Hence dm-crypt. Is cryptsetup a layer in its own right, or part of lvm? I prefer the Unix "use several tools each of which does one thing well", other

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Dale
Wol wrote: > On 27/03/2022 21:13, Dale wrote: >> Wol wrote: >>> On 27/03/2022 20:17, Dale wrote: Howdy, I sort of started this on another thread but wanted to nail a few things down first.  I'm wanting to encrypt some parts of my data on /home. This is what I got hard

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Wol
On 27/03/2022 21:13, Dale wrote: Wol wrote: On 27/03/2022 20:17, Dale wrote: Howdy, I sort of started this on another thread but wanted to nail a few things down first.  I'm wanting to encrypt some parts of my data on /home. This is what I got hard drive wise. root@fireball / # pvs    PV   

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Rich Freeman
On Sun, Mar 27, 2022 at 4:13 PM Dale wrote: > > What is the advantage of dm-crypt over cryptsetup? I've learned how to > use cryptsetup with my external drive so was hoping to stick with what I > already know. Unless there is a advantage to dm-crypt. So, I suspect that terms are being used

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Dale
Wol wrote: > On 27/03/2022 20:17, Dale wrote: >> Howdy, >> >> I sort of started this on another thread but wanted to nail a few things >> down first.  I'm wanting to encrypt some parts of my data on /home. >> This is what I got hard drive wise. >> >> >> root@fireball / # pvs >>    PV VG

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Wol
On 27/03/2022 20:17, Dale wrote: Howdy, I sort of started this on another thread but wanted to nail a few things down first.  I'm wanting to encrypt some parts of my data on /home. This is what I got hard drive wise. root@fireball / # pvs   PV VG Fmt  Attr PSize    PFree  

[gentoo-user] LVM and moving things around

2022-03-27 Thread Dale
Howdy, I sort of started this on another thread but wanted to nail a few things down first.  I'm wanting to encrypt some parts of my data on /home.  This is what I got hard drive wise. root@fireball / # pvs   PV VG Fmt  Attr PSize    PFree   /dev/sda7  OS lvm2 a--  <124.46g