Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #226286
| From | Urs Thuermann <urs@isnogud.escape.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Disks renamed after update to 'testing'...? |
| Date | 2020-08-19 08:10 +0200 |
| Message-ID | <AFpsl-7Nw-1@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> |
| Organization | linux.* mail to news gateway |
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. If the OP had done that before he hadn't noticed the change from /dev/sdb1 to /dev/sda1 as he hadn't used that name. He could now change to LVM and never deal with changing physical device names again. Whether it's an internal or external drive doesn't matter. My backup drive is an external USB-3 hard drive with 1 partition containing the whole disk space of 4 TB. That partition contains volume vgroup "vg2" with currently one logical voulume "snap" of 2 TB and I mount /dev/vg2/snap to /var/snapshots for backups. Currently I don't need more than these 2 TB but I could easily extend the logical volume or create new ones for backups of my other machines or virtual machines. And I actually forget the physical device name of the vg2 volume group (I have just looked it up using vgdisplay(8), and it's currently /dev/sdf1). urs
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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