start-os icon indicating copy to clipboard operation
start-os copied to clipboard

[bug]: Unable to set up due to "Disk Management Error"

Open kn0wmad opened this issue 3 years ago • 7 comments

Prerequisites

  • [X] I have searched for existing issues that already report this problem.

EmbassyOS Version

0.3.1.1

Device

Laptop/Desktop

Device OS

Linux

Device OS Version

5.18

Browser

Firefox

Browser Version

102

Current Behavior

Disk Management Error File descriptor 9 (pipe:[14989]) leaked on pvremove invocation. Parent PID 594: /usr/local/bin/embassy-init File descriptor 10 (pipe:[14989]) leaked on pvremove invocation. Parent PID 594: /usr/local/bin/embassy-init WARNING: PV /dev/sda is used by VG EMBASSY_5PDBSFY6A43O5ISBKZYHTMOKXDJRFARE4L6AH5GJGULD2U3N5S5Q. WARNING: Wiping physical volume label from /dev/sda of volume group "EMBASSY_5PDBSFY6A43O5ISBKZYHTMOKXDJRFARE4L6AH5GJGULD2U3N5S5Q". Can't open /dev/sda exclusively. Mounted filesystem? Can't open /dev/sda exclusively. Mounted filesystem? Restart Embassy to try again.

Above error is given, restarts do not change the situation, error persists

Expected Behavior

Setup flow completes

Steps to Reproduce

  1. Attempt setup flow
  2. Get to 'add disk' stage
  3. See error

Anything else?

No response

kn0wmad avatar Aug 21 '22 21:08 kn0wmad

Is this still a thing?

MattDHill avatar Sep 24 '22 12:09 MattDHill

To my knowledge it is unsolved

kn0wmad avatar Sep 25 '22 18:09 kn0wmad

I think @dr-bonez has more insight on this one

kn0wmad avatar Nov 03 '22 02:11 kn0wmad

For some reason lvm is automounting the disk, but not always. Trying to determine why

dr-bonez avatar Nov 03 '22 04:11 dr-bonez

https://github.com/systemd/systemd/issues/6066

https://unix.stackexchange.com/questions/348673/file-descriptor-leaked-on-lvchange-invocation-logical-volume-in-use

redragonx avatar Nov 11 '22 02:11 redragonx

@dr-bonez status on this?

MattDHill avatar May 31 '23 15:05 MattDHill

Haven't reproduced in a while. It's hard to see what's causing the problem unless it can be reproduced in a lab

dr-bonez avatar May 31 '23 18:05 dr-bonez