probert resize tool output not logged on failure

Bug #2007510 reported by Kent Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned
probert (Ubuntu)
New
Undecided
Unassigned

Bug Description

The Auto-resize option does not shown up.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 5.19.0-21.21-generic 5.19.7
Uname: Linux 5.19.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.24.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.480
CurrentDesktop: ubuntu:GNOME
Date: Thu Feb 16 06:10:49 2023
LiveMediaBuild: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230213)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: subiquity
Symptom: installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kent Lin (kent-jclin) wrote :
Kent Lin (kent-jclin)
description: updated
Revision history for this message
Dan Bungert (dbungert) wrote :

Please provide additional logs. Just supplying the contents of /var/log is an easy way to do this.

Changed in subiquity:
status: New → Incomplete
Revision history for this message
Kent Lin (kent-jclin) wrote :

The log is attached.

Changed in subiquity:
status: Incomplete → New
Revision history for this message
Dan Bungert (dbungert) wrote :

ntfsresize failed, but the logs don't contain the info to know why. At minimum probert needs to include full stdout/stderr/return code for such things.

Revision history for this message
Kent Lin (kent-jclin) wrote :

Output of "ntfsresize --no-action --force --info /dev/nvme0n1p3" command.

ubuntu@ubuntu:~$ ntfsresize --no-action --force --info /dev/nvme0n1p3
ntfsresize v2022.5.17 (libntfs-3g)
Error opening '/dev/nvme0n1p3': Permission denied
ERROR(13): Opening '/dev/nvme0n1p3' as NTFS failed: Permission denied
ubuntu@ubuntu:~$ sudo ntfsresize --no-action --force --info /dev/nvme0n1p3
ntfsresize v2022.5.17 (libntfs-3g)
Device name : /dev/nvme0n1p3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 236947763712 bytes (236948 MB)
Current device size: 236947767296 bytes (236948 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Cluster accounting failed at 9370662 (0x8efc26): extra cluster in $Bitmap
Filesystem check failed! Totally 1 cluster accounting mismatches.
ERROR: NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
and will be made to NTFS by this software until it gets repaired.
ubuntu@ubuntu:~$

Revision history for this message
Kent Lin (kent-jclin) wrote :

After Run chkdsk /f on Windows then reboot it TWICE, the "Auto-resize" option will shown up and the Ubuntu could be installed along side with Windows without any problem.
Both Windows and Ubuntu could be boot up without any problem.

Revision history for this message
Dan Bungert (dbungert) wrote :

OK cool.
So not offering resize was definitely the right choice - ntfsresize was not able to do the resize at that time. We need to get better at showing that state though.

Dan Bungert (dbungert)
summary: - "Auto-resize" option does not shown up
+ probert resize tool output not logged on failure
tags: added: fr-3581
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.