Second internal drive / data block device: How to use it as storage in an AppVM?

I’m having a little trouble using my second internal drive as a storage-device in my Qubes/AppVMs.


  • 2 internal drives
  • First one with Qubes OS installed
  • Second one partitioned/formatted with fdisk and one ext4 partition
  • sys-usb is configured

As my second block (storage) device (internal) isn’t a USB device, it is naturally attached to dom0. When I attach it via the USB icon to the Qube of my choice, I can see the drive in the file manager but can’t use it (moving/pasting files etc.)

When I look at the Properties → Permissions tab, it states that the owner is root. But, if I attach an USB device via the USB icon from sys-usb to a Qube of my choice, the ownership and permissions are correct in the way that I can access and work with the device in my Qube.

My partitioning step-by-step:

  1. Open dom0 terminal
  2. sudo -i
  3. fdisk /dev/sda
  4. n (for new partition)
  5. Enter (select default → 'primary)
  6. 2 (Partition number)
  7. Enter (select default first sector number)
  8. Enter (select default last sector number)
  9. w (to write changes to the Linux system)

My formatting of the just created partition step-by-step:

  1. sudo mkfs -t ext4 /dev/sda1

My question:
How can I configure the drive in a way that when I attach it to a Qube the permissions are correct? Or is this not possible with an internal block (storage) device that isn’t USB?


  1. dom0 terminal
  2. sudo -i
  3. sudo mount /dev/sda1 /mnt
  4. sudo chown -R "username" /mnt
1 Like