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


Groups > linux.debian.user > #226288

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

From Urs Thuermann <urs@isnogud.escape.de>
Newsgroups linux.debian.user
Subject Re: Disks renamed after update to 'testing'...?
Date 2020-08-19 09:00 +0200
Message-ID <AFqeK-83i-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>
Organization linux.* mail to news gateway

Show all headers | View raw


Urs Thuermann <urs@isnogud.escape.de> writes:

> IMO the best solution is to use LVM.  I use it since 2001 on most
> drives and I don't have partitions.  And I prefer to use device names
> over using the *UUID or *LABEL prefixes.  With LVM, device names are
> predictable /dev/mapper/<vg-name>-<lv-name> with symlinks
> /dev/<vg-name>/<lv-name>.

Following up myself: The reason I prefer stable device names instead
of UUIDs or LABELs is that device names show up in some places even if
you use UUID or LABEL in /etc/fstab or in your command line:

On my laptop I have UUID in /etc/fstab but df still shows the device
name:

$ grep -w / /etc/fstab
# / was on /dev/nvme0n1p2 during installation
UUID=c73ff331-0ff5-44fb-8aef-228e64a96175 /               ext4    errors=remount-ro 0       1
$ df | grep -w /
/dev/nvme0n1p2  237470384 107725172 117659352  48% /

On my server with LVM I get:

$ grep -w / /etc/fstab
/dev/mapper/vg0-root   /               ext4    errors=remount-ro 0       1
$ df | grep -w /
/dev/mapper/vg0-root              2031440     659132   1261556  35% /


urs

Back to linux.debian.user | Previous | Next — Previous 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