OpenVZ Forum


Home » General » Support » USB passthrough
USB passthrough [message #41343] Tue, 04 January 2011 02:32 Go to next message
deranjer is currently offline  deranjer
Messages: 4
Registered: December 2010
Location: United States
Junior Member
How do I passthrough a usb HDD (ntfs) to a container?
I manage to get it to show up in the container under fdisk using the following command:

#vzctl set 1000 --devnode /dev/sdc1:rw --save


However, I can't mount it:

#ntfsmount /dev/sdc1 /mnt/Media -o force
fuse: failed to open /dev/fuse: Operation not permitted
fuse_mount failed.
Unmounting /dev/sdc1 (Media)


#modprobe fuse
WARNING: All config files need .conf: /etc/modprobe.d/00local, it will be ignored in a future release.
FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory


#ls /lib/modules
2.6.26-2-686  2.6.32-3-686


If I copy (I know.. it won't work lol.. I was trying anything) it...
#cp -r 2.6.32-3-686 2.6.32-4-pve


#modprobe fuse
FATAL: Error inserting fuse (/lib/modules/2.6.32-4-pve/kernel/fs/fuse/fuse.ko): Invalid module format


How do I get USB passthrough working?

Re: USB passthrough [message #42430 is a reply to message #41343] Sat, 16 April 2011 17:33 Go to previous message
mike is currently offline  mike
Messages: 7
Registered: September 2006
Location: Kiev, Ukraine
Junior Member

1) it's not related to USB
2) it's related to FUSE
3) I've done FUSE under OpenVZ containing LTSP like this:

# HN: load kernel module, configure passthrough
echo fuse >> /etc/modules
modprobe fuse
vzctl set 123 --devnodes fuse:rw --save

# VE: check permissions
ls -l /dev/fuse /usr/bin/fusermount


--
Michael Shigorin
OSDN.Org.UA / ALT Linux Team
Previous Topic: reboot web panel
Next Topic: Performance regression in 2.6.18-238.5.1.el5.028stab085 / 2.6.18-238.5.1.el5.028stab085.2
Goto Forum:
  


Current Time: Wed Nov 06 12:44:35 GMT 2024

Total time taken to generate the page: 0.03451 seconds