Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #263105

Re: How to use dmsetuup?

From gene heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: How to use dmsetuup?
Date 2023-11-04 01:10 +0100
Message-ID <HwcoF-2WZ3-9@gated-at.bofh.it> (permalink)
References <Hw5dv-2SeA-1@gated-at.bofh.it> <HwaGd-2VUx-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/3/23 18:14, Andrew M.A. Cater wrote:
> On Fri, Nov 03, 2023 at 12:27:19PM -0400, gene heskett wrote:
>> Greetings all;
>> As usual, the man page may as well be written in swahili. The NDE syndrome,
>> meaning No D-----d Examples.
>>
>> I have those 2 2T SSD's with a gpt partition table on both, allocated as
>> sdc1 and sdk1, formatted to ext4, named and labeled as lvm1 and lvm2.
>> Temp mounted as sdc1 and sdk1 to /mnt/lvm1 and /mnt/lvm2
>>
> 
> How big is your /home - is it bigger than 2T?
ATM its 20% of 1.8T
> 
> Do you need both drives to provide redundant storage - or is it just
> a temporary storage place for /home while you get the rest of the RAID
> devices sorted out?
> 
> If I were you, I wouldn't start from here :)
> 
> Don't mount them as individual drives.
Don't intend to in the final config.
> 
> pvcreate to initialise each physical drive as a drive reserved for lvm
> 
> pvcreate /dev/sdc1
> pvcreate /dev/sdk1
> 
> vgcreate to create a logical volume
> 
> vgcreate HomeVolgroup /dev/sdc1 /dev/sdk1
> 
> Then use lvcreate to create the logical volume itself.
> 
This looks a lot closer to what I had in mind, Andy, I'll unmount them 
when I have both eyes open at the same time tomorrow and give it a shot.

> See also https://wiki.archlinux.org/title/LVM
> 
> Use lvm to do this: that's *exactly* what it's designed for - to allow you
> to add volumes and extend disk sizes.
> 
> This is exactly how partman does it when you install. (In fact, you could do
> this quite well by rebooting to recovery and using that method to reformat
> the drives).
> 
>> How do I create a single managed volume of labels lvm1 and lvm2 of these to
>> make a single volume that I can then rsynch /home to it, then switch fstab
> 
> See above:
> 
> All the very best, as ever,
> 
> Andy
> [amacater@debian.org]
>
Thank you Andy.

>> to mount it as /home on a reboot?
>>
>> If it works, I'll kill the raid10, reformat it and make it another lvm for
>> amanda to use.
>>
>> I am determined to remove the raid10 /home from the list of suspects causing
>> my system lockups anytime a program such as OpenSCAD or digiKam, even
>> firefox wants to write a new file to my /home partition.  This delay does
>> not lockup the whole shebang, already open files in other workspaces seem to
>> run at normal speeds, but opening a simple gui file requester to get where
>> to put the file, and possibly rename it, takes anywhere from 30 seconds
>> minimum to around 5 minutes just to draw the requester on screen. And while
>> you are waiting, wondering if you even pressed the mouse button, there is
>> ZERO acknowledgement the button has been pushed.  The mouse can be moved
>> normally, but until the requester is fully drawn on screen, no other button
>> clicks are registered.
>>
>> This software raid10 worked perfectly for buster and bullseye, but its been
>> nothing but a headache on bookworm.  And only one has tried to help,
>> suggesting strace, but its output is so copious it overflows the 32G of main
>> memory in this machine so I can't go back to the actual programs start with
>> the trace. I have used it in the past, decade or more back up the log, and
>> while it was noisy then, this is unusable.
>>
>> Thanks for help with dmsetup.
>>
>> Cheers, Gene Heskett.
>> -- 
>> "There are four boxes to be used in defense of liberty:
>>   soap, ballot, jury, and ammo. Please use in that order."
>> -Ed Howdershelt (Author, 1940)
>> If we desire respect for the law, we must first make the law respectable.
>>   - Louis D. Brandeis
>>
> 
> .

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-03 17:30 +0100
  Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-03 17:50 +0100
  Re: How to use dmsetuup? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-03 18:10 +0100
  Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-03 22:50 +0100
    Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-04 01:00 +0100
      Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-04 01:50 +0100
  Re: How to use dmsetuup? "Andrew M.A. Cater" <amacater@einval.com> - 2023-11-03 23:20 +0100
    Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-04 01:10 +0100
    Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-04 12:50 +0100
      Re: How to use dmsetuup? <tomas@tuxteam.de> - 2023-11-04 14:50 +0100
        Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-04 18:30 +0100
          Re: How to use dmsetuup? tomas@tuxteam.de - 2023-11-04 19:40 +0100
            Re: How to use dmsetuup? debian-user@howorth.org.uk - 2023-11-04 21:50 +0100
          Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-04 22:40 +0100
            Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-04 23:30 +0100
              Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-05 00:40 +0100
                Re: How to use dmsetuup? yxcv@vienna.at - 2023-11-05 01:10 +0100
                Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-05 02:00 +0100
                Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-05 04:20 +0100
                Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-05 05:10 +0100
                Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-05 07:50 +0100
                Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-05 10:50 +0100
                Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-05 11:30 +0100
                Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-05 16:30 +0100
                Re: How to use dmsetuup? "Thomas Schmitt" <scdbackup@gmx.net> - 2023-11-05 09:10 +0100
                Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-05 21:20 +0100
                Re: How to use dmsetuup? debian-user@howorth.org.uk - 2023-11-05 21:50 +0100
                Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-05 23:30 +0100
                Re: How to use dmsetuup? "Thomas Schmitt" <scdbackup@gmx.net> - 2023-11-05 23:20 +0100
                Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-05 23:50 +0100
                Re: How to use dmsetuup? "Thomas Schmitt" <scdbackup@gmx.net> - 2023-11-06 08:40 +0100
                xorriso and SIGTERM/SIGINT handler (was: Re: How to use dmsetuup?) Max Nikulin <manikulin@gmail.com> - 2023-11-06 05:30 +0100
                Re: xorriso and SIGTERM/SIGINT handler "Thomas Schmitt" <scdbackup@gmx.net> - 2023-11-06 09:00 +0100
        Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-04 23:10 +0100
  Re: How to use dmsetuup? Andy Smith <andy@strugglers.net> - 2023-11-04 10:40 +0100
    Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-04 13:30 +0100
  Re: How to use dmsetuup? Franco Martelli <martellif67@gmail.com> - 2023-11-06 16:50 +0100
    Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-06 17:30 +0100
    Re: How to use dmsetuup? Tom Dial <tddial@comcast.net> - 2023-11-08 00:50 +0100
      Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-08 01:30 +0100
        Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-08 06:10 +0100
        Re: How to use dmsetuup? <tomas@tuxteam.de> - 2023-11-08 06:40 +0100
          Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-08 11:30 +0100
            Re: How to use dmsetuup? "Andrew M.A. Cater" <amacater@einval.com> - 2023-11-08 19:10 +0100
              Re: How to use dmsetuup? jeremy ardley <jeremy.ardley@gmail.com> - 2023-11-08 23:00 +0100
            Re: How to use dmsetuup? Tom Dial <tddial@comcast.net> - 2023-11-09 02:10 +0100
            Re: How to use dmsetuup? David Christensen <dpchrist@holgerdanske.com> - 2023-11-11 01:50 +0100
              Re: How to use dmsetuup? gene heskett <gheskett@shentel.net> - 2023-11-11 04:30 +0100
                Hardware for a back up server? [WAS Re: How to use dmsetuup?] "Andrew M.A. Cater" <amacater@einval.com> - 2023-11-11 18:00 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-11 18:10 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Pocket <pocket@columbus.rr.com> - 2023-11-11 18:40 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-11 19:50 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Pocket <pocket@columbus.rr.com> - 2023-11-11 21:50 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] gene heskett <gheskett@shentel.net> - 2023-11-11 22:40 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Jeffrey Walton <noloader@gmail.com> - 2023-11-11 22:10 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Jeffrey Walton <noloader@gmail.com> - 2023-11-12 00:30 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Dan Ritter <dsr@randomstring.org> - 2023-11-12 00:40 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] fxkl47BF@protonmail.com - 2023-11-11 18:30 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] David Christensen <dpchrist@holgerdanske.com> - 2023-11-12 01:10 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-12 05:40 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-11-13 11:40 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-13 14:00 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Andy Smith <andy@strugglers.net> - 2023-11-12 14:20 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] David Christensen <dpchrist@holgerdanske.com> - 2023-11-12 19:40 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] "Andrew M.A. Cater" <amacater@einval.com> - 2023-11-12 18:20 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] David Christensen <dpchrist@holgerdanske.com> - 2023-11-12 20:30 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-12 21:20 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] <tomas@tuxteam.de> - 2023-11-13 06:40 +0100
                Linux supprt (was: Hardware for a back up server? [WAS Re: How to use dmsetuup?]) Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-13 13:50 +0100
                Re: Linux supprt (was: Hardware for a back up server? [WAS Re: How to  use dmsetuup?]) Larry Martell <larry.martell@gmail.com> - 2023-11-13 16:00 +0100
                Re: Linux supprt Stefan Monnier <monnier@iro.umontreal.ca> - 2023-11-13 16:40 +0100
                Re: Linux supprt Nicholas Geovanis <nickgeovanis@gmail.com> - 2023-11-13 22:50 +0100
                Re: Linux supprt John Hasler <john@sugarbit.com> - 2023-11-13 19:00 +0100
                Re: Linux supprt <tomas@tuxteam.de> - 2023-11-13 19:40 +0100
                Re: Linux supprt Nicholas Geovanis <nickgeovanis@gmail.com> - 2023-11-14 18:40 +0100
                Re: Linux supprt <tomas@tuxteam.de> - 2023-11-14 18:50 +0100
                Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?] Joe <joe@jretrading.com> - 2023-11-13 15:10 +0100
        Re: How to use dmsetuup? Tom Dial <tddial@comcast.net> - 2023-11-09 01:50 +0100
          Re: How to use dmsetuup? Andy Smith <andy@strugglers.net> - 2023-11-09 16:20 +0100
            Re: How to use dmsetuup? debian-user@howorth.org.uk - 2023-11-09 17:50 +0100

csiph-web