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


Groups > linux.debian.user > #226289

Re: Disks renamed after update to 'testing'...?

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Disks renamed after update to 'testing'...?
Date 2020-08-19 10:40 +0200
Message-ID <AFrNw-BE-9@gated-at.bofh.it> (permalink)
References <AEX33-7kr-1@gated-at.bofh.it> <AF5jY-3XP-9@gated-at.bofh.it> <AFeGC-17K-17@gated-at.bofh.it> <AFfW1-1N8-5@gated-at.bofh.it> <AFpsl-7Nw-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2020-08-18 23:00, Urs Thuermann wrote:
> David Christensen <dpchrist@holgerdanske.com> writes:
> 
>> AIUI the OP was mounting an (external?) drive partition for use as a
>> destination for backups.  Prior to upgrading to Testing, the root
>> partition was /dev/sda1 (no LVM?) and the backup partition was
>> /dev/sdb1 (no LVM?).  After upgrading to Testing, the root partition
>> is /dev/sdb1 and the backup partition device node is unknown.  The OP
>> was confused by the changed root partition device node.
>>
>>
>> Please describe how LVM would help in this situation.
> 
> Instead of using /dev/sdb1 directly for the backup file system, the OP
> could put LVM to /dev/sdb1 (or now /dev/sda1).  I.e. he would create a
> physical volume on /deb/sdb1, create a volume group e.g. named vgbkup,
> and would then create a logical volume, e.g. named lv1.  The device
> name for the backup file system would then always be /dev/vgbkup/lv1
> regardless of how the kernel will name underlying device (/dev/sda1 or
> /dev/sdb1 or whatever).
> 
> In addition, you get the flexibility of LVM of adding, deleting, and
> resizing volumes without re-partitioning.

Thanks for the explanation.  It seems that pvcreate(8) places an LVM 
disk label and an LVM metadata area onto disks or partitions when 
creating a PV; including a unique UUID:

https://www.man7.org/linux/man-pages/man8/pvcreate.8.html


When using a drive as backup media, are there likely use-cases that 
benefit from configuring the drive with no partition, a single PV, 
single VG, single LV, and single filesystem vs. configuring the drive 
with a single partition, single UUID fstab entry, and single filesystem?


David

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


Thread

Disks renamed after update to 'testing'...? "hobie of RMN" <hobie@rumormillnews.com> - 2020-08-18 01:50 +0200
  Re: Disks renamed after update to 'testing'...? David Christensen <dpchrist@holgerdanske.com> - 2020-08-18 03:30 +0200
    Re: Disks renamed after update to 'testing'...? "hobie of RMN" <hobie@rumormillnews.com> - 2020-08-18 06:10 +0200
      Re: Disks renamed after update to 'testing'...? john doe <johndoe65534@mail.com> - 2020-08-18 08:40 +0200
        Re: Disks renamed after update to 'testing'...? didier gaumet <didier.gaumet@gmail.com> - 2020-08-18 10:30 +0200
          Re: Disks renamed after update to 'testing'...? Nicolas George <george@nsup.org> - 2020-08-18 11:40 +0200
            Re: Disks renamed after update to 'testing'...? "Thomas Schmitt" <scdbackup@gmx.net> - 2020-08-18 12:20 +0200
          Re: Disks renamed after update to 'testing'...? "Thomas Schmitt" <scdbackup@gmx.net> - 2020-08-18 11:40 +0200
      Re: Disks renamed after update to 'testing'...? David Christensen <dpchrist@holgerdanske.com> - 2020-08-18 12:10 +0200
  Re: Disks renamed after update to 'testing'...? "Rick Thomas" <rick.thomas@pobox.com> - 2020-08-18 10:40 +0200
    Re: Disks renamed after update to 'testing'...? Urs Thuermann <urs@isnogud.escape.de> - 2020-08-18 20:40 +0200
      Re: Disks renamed after update to 'testing'...? David Christensen <dpchrist@holgerdanske.com> - 2020-08-18 22:00 +0200
        Re: Disks renamed after update to 'testing'...? Urs Thuermann <urs@isnogud.escape.de> - 2020-08-19 08:10 +0200
          Re: Disks renamed after update to 'testing'...? David Christensen <dpchrist@holgerdanske.com> - 2020-08-19 10:40 +0200
            Re: Disks renamed after update to 'testing'...? Urs Thuermann <urs@isnogud.escape.de> - 2020-08-19 12:10 +0200
              Re: Disks renamed after update to 'testing'...? David Christensen <dpchrist@holgerdanske.com> - 2020-08-19 23:50 +0200
                Re: Disks renamed after update to 'testing'...? <tomas@tuxteam.de> - 2020-08-20 09:50 +0200
                Re: Disks renamed after update to 'testing'...? Joe <joe@jretrading.com> - 2020-08-20 12:20 +0200
                Re: Disks renamed after update to 'testing'...? rhkramer@gmail.com - 2020-08-20 17:40 +0200
                Re: Disks renamed after update to 'testing'...? David Christensen <dpchrist@holgerdanske.com> - 2020-08-20 22:40 +0200
                Re: Disks renamed after update to 'testing'...? Dan Ritter <dsr@randomstring.org> - 2020-08-20 23:40 +0200
                Re: Disks renamed after update to 'testing'...? Andy Smith <andy@strugglers.net> - 2020-08-21 00:00 +0200
                Re: Disks renamed after update to 'testing'...? David Christensen <dpchrist@holgerdanske.com> - 2020-08-21 11:50 +0200
                Re: Disks renamed after update to 'testing'...? <tomas@tuxteam.de> - 2020-08-21 10:40 +0200
      Re: Disks renamed after update to 'testing'...? Urs Thuermann <urs@isnogud.escape.de> - 2020-08-19 09:00 +0200

csiph-web