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


Groups > linux.debian.user > #172718

Re: Change of UUID?

From Felix Miata <mrmazda@earthlink.net>
Newsgroups linux.debian.user
Subject Re: Change of UUID?
Date 2016-09-23 19:40 +0200
Message-ID <skCC5-6Ov-1@gated-at.bofh.it> (permalink)
References <skATD-5G1-5@gated-at.bofh.it> <skBZn-6mq-3@gated-at.bofh.it> <skCiJ-6I7-5@gated-at.bofh.it>
Organization less than infinite

Show all headers | View raw


Hans composed on 2016-09-23 19:10 (UTC+0200):

>> > BUT - Now the problem: From time to time

>> Can you give an example of such time?

> Sure, from time-to-time means 2-3 times a week, but randomly.

>> The Debian installer reformats an existing swap, which means it gets a new
>> UUID, unless you go out of your way to prevent it from doing so.

> No, I did not install Debian, I am running this now for several years.

>> What do you mean by "starting a livefile"?

> I mean something like this:

> blkid /dev/mapper/swap
> /dev/maoper/swap  UUID="ba1b8eXXX-and-sop-on" TYPE="swap" PTTYPE="dos"
> PARTUUID="0007a381-05"

> # /etc/uswsusp.conf(5) -- Configuration file for s2disk/s2both
> resume device = /dev/disk/by-uuid/fd45123cf-and-so-on"
> compress = y
> early writeout = y
> image size = 1908094484
> RSA key file = /etc/uswsusp.key
> shutdown method = platform

> UUID's (anonymized by me) are different!

Possible workaround:

1-recreate swap using -L to give swap a volume label
2-adjust Grub config to direct resume to LABEL instead of UUID
3-adjust fstab to mount swap by LABEL instead of UUID

If this succeeds, file a bug, maybe against device-mapper or multipath-tools.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

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


Thread

Change of UUID? Hans <hans.ullrich@loop.de> - 2016-09-23 17:50 +0200
  Re: Change of UUID? Felix Miata <mrmazda@earthlink.net> - 2016-09-23 19:00 +0200
    Re: Change of UUID? Hans <hans.ullrich@loop.de> - 2016-09-23 19:20 +0200
      Re: Change of UUID? Felix Miata <mrmazda@earthlink.net> - 2016-09-23 19:40 +0200
    Installer trases UUID of swap - was [Re: Change of UUID?] Richard Owlett <rowlett@cloud85.net> - 2017-01-06 16:50 +0100
      Re: Installer trases UUID of swap - was [Re: Change of UUID?] Darac Marjal <mailinglist@darac.org.uk> - 2017-01-06 17:30 +0100
        Re: Installer trases UUID of swap - was [Re: Change of UUID?] David Wright <deblis@lionunicorn.co.uk> - 2017-01-06 17:50 +0100
          Re: Installer trases UUID of swap - was [Re: Change of UUID?] Richard Owlett <rowlett@cloud85.net> - 2017-01-06 19:00 +0100
            Re: Installer trases UUID of swap - was [Re: Change of UUID?] Felix Miata <mrmazda@earthlink.net> - 2017-01-06 20:20 +0100
              Re: Installer trases UUID of swap - was [Re: Change of UUID?] Richard Owlett <rowlett@cloud85.net> - 2017-01-07 11:10 +0100
            Re: Installer trases UUID of swap - was [Re: Change of UUID?] David Wright <deblis@lionunicorn.co.uk> - 2017-01-06 22:50 +0100
              Re: Installer trases UUID of swap - was [Re: Change of UUID?] Keith Bainbridge <keithrbaugroups@gmail.com> - 2017-01-06 23:20 +0100
              Re: Installer trases UUID of swap - was [Re: Change of UUID?] Richard Owlett <rowlett@cloud85.net> - 2017-01-07 11:10 +0100
        Re: Installer trases UUID of swap - was [Re: Change of UUID?] Jonathan Dowland <jmtd@debian.org> - 2017-01-06 18:20 +0100
        Re: Installer trases UUID of swap - was [Re: Change of UUID?] Richard Owlett <rowlett@cloud85.net> - 2017-01-06 19:00 +0100
        Re: Installer trases UUID of swap - was [Re: Change of UUID?] Felix Miata <mrmazda@earthlink.net> - 2017-01-06 20:20 +0100
      Re: Installer trases UUID of swap - was [Re: Change of UUID?] David Wright <deblis@lionunicorn.co.uk> - 2017-01-06 17:50 +0100
        Re: Installer trases UUID of swap - was [Re: Change of UUID?] Richard Owlett <rowlett@cloud85.net> - 2017-01-06 19:30 +0100

csiph-web