USB External Hard Drive

  • Thread starter Thread starter cobster87
  • Start date Start date
C

cobster87

Guest
I need help for the life of me i can not get a external hard drive to mount... please help..
 
I need help for the life of me i can not get a external hard drive to mount... please help..
Hi,
on the pve-host?
Look with "fdisk -l" and you should see your disks and partitions.
You can mount the disk with a command like "mount /dev/sdb1 /backup"; but better is to use the UUID for the partition (works also if the device-order changed).
To see the UUID you can use "blkid".
Permanent mounts are possible with an entry in /etc/fstab (but be sure that the usb-disk is anytime available or use the right mount-option)
See "man mount" and "man fstab".

Udo
 
Hi Udo,

can you tell me, how i bind a UUID device to a openvz container? I have 3 different server. one of the server a different device tables, so if i want to migrade a container, it didnt work because of the device order change.
Hope you can help.

Regards, valle
 
Hi Udo,

can you tell me, how i bind a UUID device to a openvz container? I have 3 different server. one of the server a different device tables, so if i want to migrade a container, it didnt work because of the device order change.
Hope you can help.

Regards, valle
Hi valle,
only with bind-mounts and then you can't (live) migrate the container. But you can shutdown the container, umount usb-disk (plug them to the other node), mount to the same place, migrate and start.

Udo