You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kernel version | Linux pihole 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
SBC model | Native PC (x86_64)
Power supply used | whatever the vhost provides 😛
SD card used | nope 😛 (it's a virtio volume on backed by qcow2 on xfs stored on a crucial mx500 connected using sata3)
Additional Information (if applicable)
Software title | DietPi-Drive_Manager (I think)
Was the software title installed freshly or updated/migrated? fresh install
Can this issue be replicated on a fresh installation of DietPi? yes
Bug report ID | 3e32d712-b811-4ff8-b41a-64a7d7df6718
Steps to reproduce
Launch DietPi inside a virtual machine
Connect a virtual disk (eg /dev/vda, or in this case, /dev/vdc)
Launch dietpi-drive_manager, and format the disk using GPT, ext4
Expected behaviour
DietPi-Drive_Manager creates the GPT partition table
DietPi-Drive_Manager creates a new partition in the partition table
DietPi-Drive_Manager formats the new partition as ext4
Actual behaviour
DietPi-Drive_Manager creates the GPT partition table (as expected)
DietPi-Drive_Manager creates a new partition in the partition table (as expected)
DietPi-Drive_Manager is unable to format the partition
Extra details
Failing command: mkfs.ext4 -F -m 0 /dev/vdcp1
Exit code: 1
Error log:
mke2fs 1.46.2 (28-Feb-2021)
The file /dev/vdcp1 does not exist and no size was specified.
lsblk shows that the device name is vdc1, not vdcp1
Workaround
Adjust the command to mkfs.ext4 -F -m 0 /dev/vdc1
Make the same adjustment to any other commands that fail (eg mount -o noatime,lazytime,rw /dev/vdcp1 /mnt/backups → mount -o noatime,lazytime,rw /dev/vdc1 /mnt/backups, pictured below)
No need to update /etc/fstab—it uses UUID=, not /dev/vdc1, so it'll work regardless
The text was updated successfully, but these errors were encountered:
/dev/vd[a-z][1-9], what is this for a type if drive? Never seen it, and as unknown type, the drive manager guesses partitions to be added with p1 instead of just 1. I'll add it.
EDIT: Ah, VirtIO volume/virtual disk, you wrote it.
- DietPi-Drive_Manager | Resolved an issue where KVM VirtIO virtual disk volumes were not handled correctly. Many thanks to @bennettp123 for reporting this issue: #6128
Creating a bug report/issue
Required Information
bullseye
Linux pihole 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Native PC (x86_64)
Additional Information (if applicable)
DietPi-Drive_Manager
(I think)Steps to reproduce
dietpi-drive_manager
, and format the disk using GPT, ext4Expected behaviour
Actual behaviour
Extra details
mkfs.ext4 -F -m 0 /dev/vdcp1
lsblk
shows that the device name isvdc1
, notvdcp1
Workaround
mkfs.ext4 -F -m 0 /dev/vdc1
mount -o noatime,lazytime,rw /dev/vdcp1 /mnt/backups
→mount -o noatime,lazytime,rw /dev/vdc1 /mnt/backups
, pictured below)/etc/fstab
—it usesUUID=
, not/dev/vdc1
, so it'll work regardlessThe text was updated successfully, but these errors were encountered: