Re: Partitioning problem

Stephen Quinney via linux-fai <[email protected]> Tue, 10 Jun 2025 10:33:23 +0100
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
--===============7092601444480669937==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die
eigentliche Nachricht steht dadurch in einem Anhang.

This message was wrapped to be DMARC compliant. The actual message
text is therefore in an attachment.
--===============7092601444480669937==
Content-Type: message/rfc822
MIME-Version: 1.0
Content-Disposition: inline

X-Mailman-Handler: $Id: mm-handler 2.1.10 2008-04-14 00:00:00 $
Received: from smtp-in.rrz.uni-koeln.de (smtp-in.rrz.uni-koeln.de [134.95.19.47])
	by mailman2-rh7.rrz.uni-koeln.de (8.14.7/8.14.7) with ESMTP id 55A9XaFI026919
	for <[email protected]>; Tue, 10 Jun 2025 11:33:36 +0200
Received: from uzk-mail-in-v1.rrz.uni-koeln.de (uzk-mail-in-v1.rrz.uni-koeln.de [134.95.63.200])
	by clotho.rrz.uni-koeln.de (8.14.7/8.14.7) with ESMTP id 55A9XZLr010937
	for <[email protected]>; Tue, 10 Jun 2025 11:33:36 +0200
X-CSE-ConnectionGUID: TxkQq5MESu6MXXFxMFhUUA==
X-CSE-MsgGUID: VtsFYM8vSkaDFI+MF5V+zw==
IronPort-SDR: 6847fbe6_ego54vQk0AaiMevoPiv/f95R4oR3ey0OSco8K0fUi4wa8vr
 Nfz9z5gapGdrakCCsfHcKtJtsGSFzpcYQontfSg==
IronPort-Data: A9a23:O/rQRqNa9OyFGx3vrR0Ak8FynXyQoLVcMsEvi/8bNLSZYAhSlGBDi
 yICGi3ZeK7dN3yhLoszP70CxjpQ6J/Rx99jTAE++yg1FXkR9ZvPX92QIk6hM3zIIJSZHRpus
 JkSO4OecZ9qRy6F/x2kObPo8yMk2K2CTbfwBL6ZUswdqXeIbQ944f40s7Rm39M06TTAPz6wh
 D/SnyH+EA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KWykXqZmB6KA4OHY3yN
 QvpsfOQu+l3qJl+BUIANdo7A65pfQbqSIo9VtjLrTLDJHKZslCDnbrAqRYP1y7CJUeZMejUu
 Jv6GwXMRBeztprXzdpfjZdAgx0PAFt5gsgyZkg4+eMquwulDWUDE/sRAa8GBr5QjCb28pPyP
 xPJU0cPFgT/Wm5iXSjnwdG+QDqaOPMCCu35KhMt4UmQTSW8X6GEIbl58xZf82VEQSTiwM6nO
 OMh1CXJZDbp+a5QRMEX+vCfqsVkzKmDxns3pGbMo/arCBMaWbg3xHhtGTRWbhP+EubPqV7qI
 FYkTmUVUWC5Tk/MSfxbQUB3Iy1Anj3TzGQPVxytkebv49DRiKUKzfDkIOj834ESdMlAdvZEW
 XrzQHDL+GyMnGAavawyod8ynKtoErSxE9OnKLP4Dxgn901qBr/L4+tZ9cbXcPwfxQ==
IronPort-HdrOrdr: A9a23:hlmz8a1PgDdO38KbgsuvsQqjBIwkLtp133Aq2lEZdPVwSL39qy
 nOpoV/6faaslossR0b9uxofZPwJk80lqQFg7X5X43DYOCOggLBR+sO0WKh+UyCJ8SUzI9gPM
 lbHZRWOZndAFh8htrg7gj9Kdwpx96K/cmT9IHj80s=
X-Talos-CUID: 9a23:UnuKnWCaBfz0erj6ExV393cNR+UISWCD6UfgDV+dJ2ZUdZTAHA==
X-Talos-MUID: 9a23:yB6AKwmuQ1G4ZIup5c+hdnpcKNxG0oH+FnsOmLkomoqhG3FOeCWC2WE=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="6.16,224,1744063200"; 
   d="scan'208";a="36769806"
X-Amp-Result: UNKNOWN
X-Amp-Original-Verdict: FILE UNKNOWN
X-Marked-By: $ACCEPTED
X-UzK-SPF-Result: none
X-MGA-submission: =?us-ascii?q?MDGhuxbVrMi5tUettnbyHSh+VX3srsMK9UjpdF?=
 =?us-ascii?q?pNMxSLCpjhRwBGFawQS7DFcJ2B14BOPOmKFGk+X9BEQAiwYM4lnN1ccs?=
 =?us-ascii?q?gQXexom6u9iaAGLm3uCGWOGnvoGbF7xhJ6V2mabaBGJ9Sm2OHviwlw25?=
 =?us-ascii?q?2uF29rzynxOoY0zwCIFy/iRw=3D=3D?=
Received: from seine.is.ed.ac.uk ([129.215.17.202])
  by uzk-mail-in-v1.rrz.uni-koeln.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jun 2025 11:33:26 +0200
Received: from flakey.inf.ed.ac.uk (flakey.inf.ed.ac.uk [129.215.202.88])
	by seine.is.ed.ac.uk (8.15.2/8.15.2) with ESMTPS id 55A9XO964053371
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)
	for <[email protected]>; Tue, 10 Jun 2025 10:33:24 +0100
Received: from beano.inf.ed.ac.uk (beano.inf.ed.ac.uk [129.215.33.132])
	by flakey.inf.ed.ac.uk (8.15.2/8.15.2) with ESMTP id 55A9XOr3035622
	for <[email protected]>; Tue, 10 Jun 2025 10:33:24 +0100
Received: from stromatolite.inf.ed.ac.uk (stromatolite.inf.ed.ac.uk [129.215.212.89])
	(authenticated bits=0)
	by beano.inf.ed.ac.uk (8.15.2/8.15.2) with ESMTPSA id 55A9XN7E306215
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO)
	for <[email protected]>; Tue, 10 Jun 2025 10:33:24 +0100
Date: Tue, 10 Jun 2025 10:33:23 +0100
From: Stephen Quinney <[email protected]>
To: fully automatic installation for Linux <[email protected]>
Subject: Re: Partitioning problem
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="tK0esfblv+BrCghW"
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Edinburgh-Scanned: at seine.is.ed.ac.uk


--tK0esfblv+BrCghW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I'm also attaching the full debug log from setup-storage which shows
the details of the current and desired layouts.

I've also now tried this with manually deleting all the existing
partitions so that the disk is totally empty, that doesn't help
either.



On Tue, Jun 10, 2025 at 09:48:32AM +0100, Stephen Quinney via linux-fai wrote:
> 
> I'm seeing a strange problem when partitioning disks for some new
> machines we recently purchased. We have previously not had any
> problems with machines of the same model, the only difference with the
> latest version is a different brand of SSD (older have SSSTC, new are
> Samsung), the disks are the same capacity.
> 
> Here's the error from parted:
> 
> Executing: parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B
> parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B had exit code 1
> (STDERR) Error: You requested a partition from 16.6GB to 46.6GB (sectors 32426136..91019880).
> (STDERR) The closest location we can manage is 16.6GB to 46.6GB (sectors 32426137..91019880).
> 
> Note that the first value of the range of sectors is off by 1.
> 
> I've tried changing the alignment (we normally use 4096 for SSDs),
> varying the order in which the partitions are specified and varying
> the sizes of the partitions, nothing helps. Attached is my
> setup-storage.conf file.
> 
> I was using FAI version 6.2.3 but this also happens with version
> 6.4.3. Can anyone suggest anything else I can try or where I should
> start poking to hunt for a bug?
> 
> 
> Thanks,
> 
> Stephen Quinney

> # LCFG managed configuration for setup-storage(8)
> 
> # Physical disk partitioning
> 
> # LCFG: primary
> disk_config /dev/nvme0n1 disklabel:gpt align-at:4096B bootable:1 fstabkey:uuid
> 
> primary /boot/efi 538 vfat defaults,umask=0077
> primary - 16037MB - -
> primary - 30GB - -
> primary - 400GB - -
> 
> # LVM Configuration
> 
> # LCFG: vg0
> disk_config lvm
> vg vg0 /dev/nvme0n1p4
> 
> vg0-root / 130GB ext4 defaults,acl
> vg0-var /var/cache/afs 8GB ext4 defaults,nosuid,noexec,nodev
> vg0-local /disk/scratch 100GB ext4 defaults,nosuid,nodev
> 
> # Encryption Configuration
> 
> disk_config cryptsetup
> 
> swap swap /dev/nvme0n1p2 swap defaults
> tmp /tmp /dev/nvme0n1p3 ext4 defaults,nosuid,nodev
> 
> # EOF
> 
> 



--tK0esfblv+BrCghW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="setup-storage.debug"

-- [debug] Running setup-storage -L /var/lib/lcfg/conf/fstab -f /var/lib/lcfg/conf/fstab/setup-storage.conf -X -d
   disklist: nvme0n1
   Using config file: /var/lib/lcfg/conf/fstab/setup-storage.conf
   Input was:
   # LCFG managed configuration for setup-storage(8)
   
   # Physical disk partitioning
   
   # LCFG: primary
   disk_config /dev/nvme0n1 disklabel:gpt align-at:4096B bootable:1 fstabkey:uuid
   
   primary /boot/efi 538 vfat defaults,umask=0077
   primary - 16037MB - -
   primary - 30GB - -
   primary - 400GB - -
   
   # LVM Configuration
   
   # LCFG: vg0
   disk_config lvm
   vg vg0 /dev/nvme0n1p4
   
   vg0-root / 130GB ext4 defaults,acl
   vg0-var /var/cache/afs 8GB ext4 defaults,nosuid,noexec,nodev
   vg0-local /disk/scratch 100GB ext4 defaults,nosuid,nodev
   
   # Encryption Configuration
   
   disk_config cryptsetup
   
   swap swap /dev/nvme0n1p2 swap defaults
   tmp /tmp /dev/nvme0n1p3 ext4 defaults,nosuid,nodev
   
   # EOF
   
   
   (CMD) parted -sm /dev/nvme0n1 unit B print 1> /tmp/Q2KntnQesw 2> /tmp/i46cVhXKek
   Executing: parted -sm /dev/nvme0n1 unit B print
   (STDOUT) BYT;
   (STDOUT) /dev/nvme0n1:512110190592B:nvme:512:512:gpt:SAMSUNG MZVL8512HELU-00BH1:;
   (STDOUT) 1:1048576B:565182463B:564133888B:: :boot, esp;
   (STDOUT) 2:565182464B:16602182655B:16037000192B:: :;
   (CMD) parted -s /dev/nvme0n1 unit chs print free 1> /tmp/b1aAgOBeJc 2> /tmp/F1HsrMMRkM
   Executing: parted -s /dev/nvme0n1 unit chs print free
   (STDOUT) Model: SAMSUNG MZVL8512HELU-00BH1 (nvme)
   (STDOUT) Disk /dev/nvme0n1: 1961206,77,1
   (STDOUT) Sector size (logical/physical): 512B/512B
   (STDOUT) BIOS cylinder,head,sector geometry: 1961206,255,2.  Each cylinder is 261kB.
   (STDOUT) Partition Table: gpt
   (STDOUT) Disk Flags: 
   (STDOUT) 
   (STDOUT) Number  Start        End           File system  Name  Flags
   (STDOUT)         0,17,0       4,3,1         Free Space
   (STDOUT)  1      4,4,0        2164,115,1                       boot, esp
   (STDOUT)  2      2164,116,0   63580,168,1
   (STDOUT)         63580,169,0  1961206,61,0  Free Space
   (STDOUT) 
   Current disk layout in %current_config
   $VAR1 = {
             '/dev/nvme0n1' => {
                                 'bios_sectors_per_track' => '2',
                                 'begin_byte' => 0,
                                 'bios_heads' => '255',
                                 'sector_size' => '512',
                                 'size' => '512110190592',
                                 'disklabel' => 'gpt',
                                 'bios_cylinders' => '1961206',
                                 'partitions' => {
                                                   '2' => {
                                                            'filesystem' => '',
                                                            'is_extended' => 0,
                                                            'begin_byte' => '565182464',
                                                            'count_byte' => '16037000192',
                                                            'ptlabel' => ' ',
                                                            'end_byte' => '16602182655',
                                                            'flags' => ''
                                                          },
                                                   '1' => {
                                                            'flags' => 'boot, esp',
                                                            'end_byte' => '565182463',
                                                            'ptlabel' => ' ',
                                                            'count_byte' => '564133888',
                                                            'is_extended' => 0,
                                                            'begin_byte' => '1048576',
                                                            'filesystem' => ''
                                                          }
                                                 },
                                 'end_byte' => '512110190591'
                               }
           };
   Current LVM layout in %current_lvm_config
   $VAR1 = {};
   Current RAID layout in %current_raid_config
   $VAR1 = {};
   Current device tree in %current_dev_children
   $VAR1 = {
             '/dev/nvme0n1' => [
                                 '/dev/nvme0n1p1',
                                 '/dev/nvme0n1p2'
                               ]
           };
   Desired disk layout in %FAI::configs
   $VAR1 = {
             'PHY_/dev/nvme0n1' => {
                                     'partitions' => {
                                                       '4' => {
                                                                'mount_options' => '-',
                                                                'mountpoint' => '-',
                                                                'size' => {
                                                                            'extended' => 0,
                                                                            'preserve' => 0,
                                                                            'always_format' => 0,
                                                                            'resize' => 0,
                                                                            'range' => '399999999999-399999999999',
                                                                            'eff_size' => '399999999999'
                                                                          },
                                                                'start_byte' => '46602178561',
                                                                'filesystem' => '-',
                                                                'encrypt' => 0,
                                                                'end_byte' => '446602178559'
                                                              },
                                                       '3' => {
                                                                'end_byte' => '46602178560',
                                                                'encrypt' => 0,
                                                                'filesystem' => '-',
                                                                'start_byte' => '16602181633',
                                                                'size' => {
                                                                            'always_format' => 0,
                                                                            'resize' => 0,
                                                                            'range' => '29999996928-29999996928',
                                                                            'eff_size' => '29999996928',
                                                                            'extended' => 0,
                                                                            'preserve' => 0
                                                                          },
                                                                'mountpoint' => '-',
                                                                'mount_options' => '-'
                                                              },
                                                       '2' => {
                                                                'mountpoint' => '-',
                                                                'mount_options' => '-',
                                                                'filesystem' => '-',
                                                                'start_byte' => 565182464,
                                                                'size' => {
                                                                            'always_format' => 0,
                                                                            'resize' => 0,
                                                                            'eff_size' => '16036999169',
                                                                            'range' => '16036999169-16036999169',
                                                                            'extended' => 0,
                                                                            'preserve' => 0
                                                                          },
                                                                'encrypt' => 0,
                                                                'end_byte' => '16602181632'
                                                              },
                                                       '1' => {
                                                                'mount_options' => 'defaults,umask=0077',
                                                                'mountpoint' => '/boot/efi',
                                                                'size' => {
                                                                            'extended' => 0,
                                                                            'preserve' => 0,
                                                                            'always_format' => 0,
                                                                            'resize' => 0,
                                                                            'range' => '564133888-564133888',
                                                                            'eff_size' => 564133888
                                                                          },
                                                                'start_byte' => 1048576,
                                                                'journal_dev' => undef,
                                                                'filesystem' => 'vfat',
                                                                'end_byte' => 565182463,
                                                                'encrypt' => 0
                                                              }
                                                     },
                                     'opts_all' => {},
                                     'bootable' => '1',
                                     'fstabkey' => 'uuid',
                                     'preserveparts' => 0,
                                     'disklabel' => 'gpt',
                                     'align_at' => 4096,
                                     'virtual' => 0
                                   },
             'VG_--ANY--' => {
                               'fstabkey' => 'device',
                               'opts_all' => {}
                             },
             'VG_vg0' => {
                           'devices' => {
                                          '/dev/nvme0n1p4' => {}
                                        },
                           'volumes' => {
                                          'local' => {
                                                       'encrypt' => 0,
                                                       'size' => {
                                                                   'range' => '95367.431640625-95367.431640625',
                                                                   'preserve' => 0,
                                                                   'eff_size' => '100000000000',
                                                                   'always_format' => 0,
                                                                   'resize' => 0
                                                                 },
                                                       'filesystem' => 'ext4',
                                                       'journal_dev' => undef,
                                                       'mount_options' => 'defaults,nosuid,nodev',
                                                       'mountpoint' => '/disk/scratch'
                                                     },
                                          'var' => {
                                                     'encrypt' => 0,
                                                     'size' => {
                                                                 'resize' => 0,
                                                                 'always_format' => 0,
                                                                 'preserve' => 0,
                                                                 'eff_size' => 8000000000,
                                                                 'range' => '7629.39453125-7629.39453125'
                                                               },
                                                     'filesystem' => 'ext4',
                                                     'journal_dev' => undef,
                                                     'mount_options' => 'defaults,nosuid,noexec,nodev',
                                                     'mountpoint' => '/var/cache/afs'
                                                   },
                                          'root' => {
                                                      'mountpoint' => '/',
                                                      'mount_options' => 'defaults,acl',
                                                      'journal_dev' => undef,
                                                      'filesystem' => 'ext4',
                                                      'size' => {
                                                                  'resize' => 0,
                                                                  'always_format' => 0,
                                                                  'preserve' => 0,
                                                                  'eff_size' => '129999999999.999',
                                                                  'range' => '123977.661132812-123977.661132812'
                                                                },
                                                      'encrypt' => 0
                                                    }
                                        },
                           'ordered_lv_list' => [
                                                  'root',
                                                  'var',
                                                  'local'
                                                ]
                         },
             'CRYPT' => {
                          'randinit' => 0,
                          'fstabkey' => 'device',
                          'volumes' => {
                                         '0' => {
                                                  'encrypt' => 0,
                                                  'mode' => 'swap',
                                                  'filesystem' => 'swap',
                                                  'preserve' => 0,
                                                  'mountpoint' => 'none',
                                                  'device' => '/dev/nvme0n1p2',
                                                  'mount_options' => 'defaults'
                                                },
                                         '1' => {
                                                  'device' => '/dev/nvme0n1p3',
                                                  'mount_options' => 'defaults,nosuid,nodev',
                                                  'mountpoint' => '/tmp',
                                                  'journal_dev' => undef,
                                                  'filesystem' => 'ext4',
                                                  'preserve' => 0,
                                                  'mode' => 'tmp',
                                                  'encrypt' => 0
                                                }
                                       }
                        }
           };
   Desired device tree in %FAI::dev_children
   $VAR1 = {
             '/dev/nvme0n1p3' => [
                                   'CRYPT1'
                                 ],
             '/dev/nvme0n1p2' => [
                                   'CRYPT0'
                                 ],
             'VG_vg0' => [
                           '/dev/vg0/root',
                           '/dev/vg0/var',
                           '/dev/vg0/local'
                         ],
             '/dev/nvme0n1' => [
                                 '/dev/nvme0n1p1',
                                 '/dev/nvme0n1p2',
                                 '/dev/nvme0n1p3',
                                 '/dev/nvme0n1p4'
                               ],
             '/dev/nvme0n1p4' => [
                                   'VG_vg0'
                                 ]
           };
   /dev/vg0/root LV create_options:  --yes
   /dev/vg0/var LV create_options:  --yes
   /dev/vg0/local LV create_options:  --yes
   Trying to add CMD: true
   PRE: 
   POST: exist_/dev/nvme0n1
   Trying to add CMD: wipefs -af /dev/nvme0n1p1
   PRE: exist_/dev/nvme0n1
   POST: wipefs_/dev/nvme0n1p1
   Trying to add CMD: wipefs -af /dev/nvme0n1p2
   PRE: exist_/dev/nvme0n1,wipefs_/dev/nvme0n1p1
   POST: wipefs_/dev/nvme0n1p2
   Trying to add CMD: true
   PRE: exist_/dev/nvme0n1,wipefs_/dev/nvme0n1p1,wipefs_/dev/nvme0n1p2
   POST: cleared1_/dev/nvme0n1
   Trying to add CMD: parted -s /dev/nvme0n1 mklabel gpt
   PRE: cleared1_/dev/nvme0n1
   POST: cleared2_/dev/nvme0n1
   Trying to add CMD: parted -s /dev/nvme0n1 mkpart '" "' "fat32" 1048576B 565182463B
   PRE: cleared2_/dev/nvme0n1
   POST: prep2_/dev/nvme0n1p1
   Trying to add CMD: true
   PRE: prep2_/dev/nvme0n1p1
   POST: exist_/dev/nvme0n1p1
   Trying to add CMD: parted -s /dev/nvme0n1 set 1 boot on
   PRE: exist_/dev/nvme0n1p1,cleared2_/dev/nvme0n1
   POST: flag_boot_/dev/nvme0n1p1
   Trying to add CMD: parted -s /dev/nvme0n1 mkpart '" "' "" 565182464B 16602181632B
   PRE: cleared2_/dev/nvme0n1,exist_/dev/nvme0n1p1
   POST: prep2_/dev/nvme0n1p2
   Trying to add CMD: true
   PRE: prep2_/dev/nvme0n1p2
   POST: exist_/dev/nvme0n1p2
   Trying to add CMD: parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B
   PRE: cleared2_/dev/nvme0n1,exist_/dev/nvme0n1p2
   POST: prep2_/dev/nvme0n1p3
   Trying to add CMD: true
   PRE: prep2_/dev/nvme0n1p3
   POST: exist_/dev/nvme0n1p3
   Trying to add CMD: parted -s /dev/nvme0n1 mkpart '" "' "" 46602178561B 446602178559B
   PRE: cleared2_/dev/nvme0n1,exist_/dev/nvme0n1p3
   POST: prep2_/dev/nvme0n1p4
   Trying to add CMD: true
   PRE: prep2_/dev/nvme0n1p4
   POST: exist_/dev/nvme0n1p4
   Trying to add CMD: parted /dev/nvme0n1 set 1 boot on
   PRE: pt_complete_/dev/nvme0n1
   POST: gpt_bios_fake_bootable
   Trying to add CMD: mkfs.vfat  /dev/nvme0n1p1
   PRE: exist_/dev/nvme0n1p1
   POST: has_fs_/dev/nvme0n1p1
   Trying to add CMD: parted -s /dev/nvme0n1 set 4 lvm on
   PRE: exist_/dev/nvme0n1p4,cleared2_/dev/nvme0n1
   POST: flag_lvm_/dev/nvme0n1p4
   Trying to add CMD: pvcreate -ff -y  /dev/nvme0n1p4
   PRE: exist_/dev/nvme0n1p4,pt_complete_/dev/nvme0n1
   POST: pv_done_/dev/nvme0n1p4
   Trying to add CMD: vgcreate  vg0  /dev/nvme0n1p4
   PRE: pv_done_/dev/nvme0n1p4
   POST: vg_created_vg0
   Trying to add CMD: vgchange -a y vg0
   PRE: vg_created_vg0
   POST: vg_enabled_vg0
   Trying to add CMD: lvcreate  --yes -n root -L 123977.661132812 vg0
   PRE: vg_enabled_vg0
   POST: exist_/dev/vg0/root
   Trying to add CMD: mkfs.ext4  /dev/vg0/root
   PRE: exist_/dev/vg0/root
   POST: has_fs_/dev/vg0/root
   Trying to add CMD: lvcreate  --yes -n var -L 7629.39453125 vg0
   PRE: vg_enabled_vg0
   POST: exist_/dev/vg0/var
   Trying to add CMD: mkfs.ext4  /dev/vg0/var
   PRE: exist_/dev/vg0/var
   POST: has_fs_/dev/vg0/var
   Trying to add CMD: lvcreate  --yes -n local -L 95367.431640625 vg0
   PRE: vg_enabled_vg0
   POST: exist_/dev/vg0/local
   Trying to add CMD: mkfs.ext4  /dev/vg0/local
   PRE: exist_/dev/vg0/local
   POST: has_fs_/dev/vg0/local
   Trying to add CMD: cryptsetup --key-file=/dev/urandom create crypt_dev_nvme0n1p2 /dev/nvme0n1p2
   PRE: exist_/dev/nvme0n1p2
   POST: exist_/dev/mapper/crypt_dev_nvme0n1p2
   Trying to add CMD: mkswap  /dev/mapper/crypt_dev_nvme0n1p2
   PRE: exist_/dev/mapper/crypt_dev_nvme0n1p2
   POST: has_fs_/dev/mapper/crypt_dev_nvme0n1p2
   Trying to add CMD: cryptsetup --key-file=/dev/urandom create crypt_dev_nvme0n1p3 /dev/nvme0n1p3
   PRE: exist_/dev/nvme0n1p3
   POST: exist_/dev/mapper/crypt_dev_nvme0n1p3
   Trying to add CMD: mkfs.ext4  /dev/mapper/crypt_dev_nvme0n1p3
   PRE: exist_/dev/mapper/crypt_dev_nvme0n1p3
   POST: has_fs_/dev/mapper/crypt_dev_nvme0n1p3
   Trying to add CMD: true
   PRE: cleared2_/dev/nvme0n1,exist_/dev/nvme0n1p4,flag_lvm_/dev/nvme0n1p4
   POST: pt_complete_/dev/nvme0n1
   Trying to add CMD: parted /dev/nvme0n1 set 1 boot on
   PRE: pt_complete_/dev/nvme0n1
   POST: gpt_bios_fake_bootable
   Trying to add CMD: pvcreate -ff -y  /dev/nvme0n1p4
   PRE: exist_/dev/nvme0n1p4,pt_complete_/dev/nvme0n1
   POST: pv_done_/dev/nvme0n1p4
   Trying to add CMD: vgcreate  vg0  /dev/nvme0n1p4
   PRE: pv_done_/dev/nvme0n1p4
   POST: vg_created_vg0
   Trying to add CMD: vgchange -a y vg0
   PRE: vg_created_vg0
   POST: vg_enabled_vg0
   Trying to add CMD: lvcreate  --yes -n root -L 123977.661132812 vg0
   PRE: vg_enabled_vg0
   POST: exist_/dev/vg0/root
   Trying to add CMD: mkfs.ext4  /dev/vg0/root
   PRE: exist_/dev/vg0/root
   POST: has_fs_/dev/vg0/root
   Trying to add CMD: lvcreate  --yes -n var -L 7629.39453125 vg0
   PRE: vg_enabled_vg0
   POST: exist_/dev/vg0/var
   Trying to add CMD: mkfs.ext4  /dev/vg0/var
   PRE: exist_/dev/vg0/var
   POST: has_fs_/dev/vg0/var
   Trying to add CMD: lvcreate  --yes -n local -L 95367.431640625 vg0
   PRE: vg_enabled_vg0
   POST: exist_/dev/vg0/local
   Trying to add CMD: mkfs.ext4  /dev/vg0/local
   PRE: exist_/dev/vg0/local
   POST: has_fs_/dev/vg0/local
   1:true
   	pre: 
   	post: exist_/dev/nvme0n1
   2:wipefs -af /dev/nvme0n1p1
   	pre: exist_/dev/nvme0n1
   	post: wipefs_/dev/nvme0n1p1
   3:wipefs -af /dev/nvme0n1p2
   	pre: exist_/dev/nvme0n1,wipefs_/dev/nvme0n1p1
   	post: wipefs_/dev/nvme0n1p2
   4:true
   	pre: exist_/dev/nvme0n1,wipefs_/dev/nvme0n1p1,wipefs_/dev/nvme0n1p2
   	post: cleared1_/dev/nvme0n1
   5:parted -s /dev/nvme0n1 mklabel gpt
   	pre: cleared1_/dev/nvme0n1
   	post: cleared2_/dev/nvme0n1
   6:parted -s /dev/nvme0n1 mkpart '" "' "fat32" 1048576B 565182463B
   	pre: cleared2_/dev/nvme0n1
   	post: prep2_/dev/nvme0n1p1
   7:true
   	pre: prep2_/dev/nvme0n1p1
   	post: exist_/dev/nvme0n1p1
   8:parted -s /dev/nvme0n1 set 1 boot on
   	pre: exist_/dev/nvme0n1p1,cleared2_/dev/nvme0n1
   	post: flag_boot_/dev/nvme0n1p1
   9:parted -s /dev/nvme0n1 mkpart '" "' "" 565182464B 16602181632B
   	pre: cleared2_/dev/nvme0n1,exist_/dev/nvme0n1p1
   	post: prep2_/dev/nvme0n1p2
   10:true
   	pre: prep2_/dev/nvme0n1p2
   	post: exist_/dev/nvme0n1p2
   11:parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B
   	pre: cleared2_/dev/nvme0n1,exist_/dev/nvme0n1p2
   	post: prep2_/dev/nvme0n1p3
   12:true
   	pre: prep2_/dev/nvme0n1p3
   	post: exist_/dev/nvme0n1p3
   13:parted -s /dev/nvme0n1 mkpart '" "' "" 46602178561B 446602178559B
   	pre: cleared2_/dev/nvme0n1,exist_/dev/nvme0n1p3
   	post: prep2_/dev/nvme0n1p4
   14:true
   	pre: prep2_/dev/nvme0n1p4
   	post: exist_/dev/nvme0n1p4
   16:mkfs.vfat  /dev/nvme0n1p1
   	pre: exist_/dev/nvme0n1p1
   	post: has_fs_/dev/nvme0n1p1
   17:parted -s /dev/nvme0n1 set 4 lvm on
   	pre: exist_/dev/nvme0n1p4,cleared2_/dev/nvme0n1
   	post: flag_lvm_/dev/nvme0n1p4
   27:cryptsetup --key-file=/dev/urandom create crypt_dev_nvme0n1p2 /dev/nvme0n1p2
   	pre: exist_/dev/nvme0n1p2
   	post: exist_/dev/mapper/crypt_dev_nvme0n1p2
   28:mkswap  /dev/mapper/crypt_dev_nvme0n1p2
   	pre: exist_/dev/mapper/crypt_dev_nvme0n1p2
   	post: has_fs_/dev/mapper/crypt_dev_nvme0n1p2
   29:cryptsetup --key-file=/dev/urandom create crypt_dev_nvme0n1p3 /dev/nvme0n1p3
   	pre: exist_/dev/nvme0n1p3
   	post: exist_/dev/mapper/crypt_dev_nvme0n1p3
   30:mkfs.ext4  /dev/mapper/crypt_dev_nvme0n1p3
   	pre: exist_/dev/mapper/crypt_dev_nvme0n1p3
   	post: has_fs_/dev/mapper/crypt_dev_nvme0n1p3
   31:true
   	pre: cleared2_/dev/nvme0n1,exist_/dev/nvme0n1p4,flag_lvm_/dev/nvme0n1p4
   	post: pt_complete_/dev/nvme0n1
   32:parted /dev/nvme0n1 set 1 boot on
   	pre: pt_complete_/dev/nvme0n1
   	post: gpt_bios_fake_bootable
   33:pvcreate -ff -y  /dev/nvme0n1p4
   	pre: exist_/dev/nvme0n1p4,pt_complete_/dev/nvme0n1
   	post: pv_done_/dev/nvme0n1p4
   34:vgcreate  vg0  /dev/nvme0n1p4
   	pre: pv_done_/dev/nvme0n1p4
   	post: vg_created_vg0
   35:vgchange -a y vg0
   	pre: vg_created_vg0
   	post: vg_enabled_vg0
   36:lvcreate  --yes -n root -L 123977.661132812 vg0
   	pre: vg_enabled_vg0
   	post: exist_/dev/vg0/root
   37:mkfs.ext4  /dev/vg0/root
   	pre: exist_/dev/vg0/root
   	post: has_fs_/dev/vg0/root
   38:lvcreate  --yes -n var -L 7629.39453125 vg0
   	pre: vg_enabled_vg0
   	post: exist_/dev/vg0/var
   39:mkfs.ext4  /dev/vg0/var
   	pre: exist_/dev/vg0/var
   	post: has_fs_/dev/vg0/var
   40:lvcreate  --yes -n local -L 95367.431640625 vg0
   	pre: vg_enabled_vg0
   	post: exist_/dev/vg0/local
   41:mkfs.ext4  /dev/vg0/local
   	pre: exist_/dev/vg0/local
   	post: has_fs_/dev/vg0/local
   (CMD) wipefs -af /dev/nvme0n1p1 1> /tmp/_muU0YSkNN 2> /tmp/QnUV91Fi8L
   Executing: wipefs -af /dev/nvme0n1p1
   (CMD) wipefs -af /dev/nvme0n1p2 1> /tmp/VcRMG6cVvw 2> /tmp/gKwItz8Tt6
   Executing: wipefs -af /dev/nvme0n1p2
   (CMD) parted -s /dev/nvme0n1 mklabel gpt 1> /tmp/vVQz0Mt3QI 2> /tmp/mGwLhws9XS
   Executing: parted -s /dev/nvme0n1 mklabel gpt
   (CMD) parted -s /dev/nvme0n1 mkpart '" "' "fat32" 1048576B 565182463B 1> /tmp/pPs4SpX3zh 2> /tmp/gnWOe1_lrI
   Executing: parted -s /dev/nvme0n1 mkpart '" "' "fat32" 1048576B 565182463B
   (CMD) parted -s /dev/nvme0n1 set 1 boot on 1> /tmp/N3Sntc2xtK 2> /tmp/HcA4UXY0jl
   Executing: parted -s /dev/nvme0n1 set 1 boot on
   (CMD) parted -s /dev/nvme0n1 mkpart '" "' "" 565182464B 16602181632B 1> /tmp/PDCTCi_hRe 2> /tmp/uxTru7X3s6
   Executing: parted -s /dev/nvme0n1 mkpart '" "' "" 565182464B 16602181632B
   (CMD) parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B 1> /tmp/f0UTP8n5H6 2> /tmp/TY5i3hpO1A
   Executing: parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B
   (STDERR) Error: You requested a partition from 16.6GB to 46.6GB (sectors 32426136..91019880).
   (STDERR) The closest location we can manage is 16.6GB to 46.6GB (sectors 32426137..91019880).
   parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B had exit code 1
   (STDERR) Error: You requested a partition from 16.6GB to 46.6GB (sectors 32426136..91019880).
   (STDERR) The closest location we can manage is 16.6GB to 46.6GB (sectors 32426137..91019880).
   Starting setup-storage 3.0
     No volume groups found.
   Command had non-zero exit code

--tK0esfblv+BrCghW--

--===============7092601444480669937==--