automount usb on proxmox

danunique

New Member
Jun 16, 2010
2
0
1
Hello

I try to automount a ntfs usb device to proxmox server. Manually I can mount the USB device as follows:

mount -t ntfs-3g /dev/sda1 /mnt/usb

I would like that the USB device is mounted automatically. I have already tried apt-get install usbmount. Unfortunately without success. The USB device is used only as a backup for Proxmox image and is not passed on to the guests.
 
So you can simply add it to /etc/fstab (or what is the problem?)

No, if I add it to the fstab, I have to enter the command mount-a, so that the device is mounted. I would, however, that you can connect the USB device and it will be mounted automatically. Later, you can unplug it and it will unmount automatically.
 
why dont u install webmin and then go into the webmin interface and goto the '[SIZE=+2]Disk and Network Filesystems[/SIZE]' and then mount in from in there?

thats what i do and it saves so much time :)
and the webmin also mounts it on startup and unmounts on shutdown :P