leni1
June 18, 2024, 6:44pm
1
Hello
As the title says, I’d like to use rsync
to copy files that are on one USB hard drive to another.
Should I attach the devices to the VM using qvm-block
by partition e.g.
qvm-block attach work sys-usb:sdb1
Or attach the full device (for lack of a better term) via sys-usb:sdb
I would like to do the following operation:
rsync -avhWPHAXx --numeric-ids source/ destination/
Does that need also mounting the devices in the VM they will be attached to as well? I know from the documentation that mounting is necessary for attaching partitions not for the full device.
leni1
June 18, 2024, 7:14pm
2
I’ve just noticed that when I run qvm-block
in dom0
terminal, I don’t see the external drives. I only see the hard drive on which Qubes is installed
[qubes_user@dom0 ~]$ qvm-block
BACKEND:DEVID DESCRIPTION USED BY
dom0:nvme0n1p2 SAMSUNG MZVL21T0HDLU-00BLL
dom0:nvme0n1p3 SAMSUNG MZVL21T0HDLU-0BLL
dom0:nvme0n1p4 SAMSUNG MZVL21T0HDLU-00BLL
Will try attaching with qvm-usb
instead.
leni1:
Should I attach the devices to the VM using qvm-block
by partition e.g.
qvm-block attach work sys-usb:sdb1
Or attach the full device (for lack of a better term) via sys-usb:sdb
I would like to do the following operation:
You already asked this here:
As the title says, I am unable to figure out how to correctly attach two USB external hard drives to my laptop that uses Qubes OS 4.2 (with the latest updates installed)
I created a disposable VM and then did the following:
[user@dom0 ~] qvm-usb attach disp4158 sys-usb:2-2
[user@dom0 ~] qvm-usb attach disp4158 sys-usb:3-1
after which they appear in the qvm-block output like so:
[user@dom0 ~] qvm-block
BACKEND:DEVID DESCRIPTION USED BY
disp4158:sda <device_name> d…
Yes.
leni1:
I’ve just noticed that when I run qvm-block
in dom0
terminal, I don’t see the external drives. I only see the hard drive on which Qubes is installed
[qubes_user@dom0 ~]$ qvm-block
BACKEND:DEVID DESCRIPTION USED BY
dom0:nvme0n1p2 SAMSUNG MZVL21T0HDLU-00BLL
dom0:nvme0n1p3 SAMSUNG MZVL21T0HDLU-0BLL
dom0:nvme0n1p4 SAMSUNG MZVL21T0HDLU-00BLL
Will try attaching with qvm-usb
instead.
qvm-block should show you block devices present in sys-usb as well like this:
sys-usb:sda DEVICENAME
sys-usb:sda1 DEVICENAME
sys-usb:sda2 DEVICENAME
1 Like
leni1
June 18, 2024, 7:32pm
4
Sorry about the duplication. Wanted to be sure about how rsync
works before doing anything
You’re right. I realised I was using a faulty cable
Will mount and update this thread accordingly. Thank you
1 Like