adding new USB HD

RaNa

Renowned Member
Jan 9, 2011
37
0
71
ok i have a usb HD when i plug it in i see it as sdb but this HD was used on a windows pc and now i want to use it as storage now keep in mind that i dont use linux and dont even know to basic commands so if you can please provide step by step commands so i can add my usb HD to proxmox please i have tryed some commmends but no luck so im asking for help


ok i have been doing some reading and i got most of working now this is what i did
plug the HD in
mkfs.ext4 /dev/sdb
next to mount the HD
mount -t /dev/sdb /dev/HD1

everything works the way i need to be but when i reboot the proxmox system it unmounts its self please help ill keep but some help for dummys would be nice
 
Last edited:
ok i have a usb HD when i plug it in i see it as sdb but this HD was used on a windows pc and now i want to use it as storage now keep in mind that i dont use linux and dont even know to basic commands so if you can please provide step by step commands so i can add my usb HD to proxmox please i have tryed some commmends but no luck so im asking for help


ok i have been doing some reading and i got most of working now this is what i did
plug the HD in
mkfs.ext4 /dev/sdb
next to mount the HD
mount -t /dev/sdb /dev/HD1

everything works the way i need to be but when i reboot the proxmox system it unmounts its self please help ill keep but some help for dummys would be nice
Hi,
you should use a partitiontable on your disk. Create one with fdisk (man fdisk).
Then "mkfs.ext4 /dev/sdb1".
For monting use the UUID, because sdb1 can change (if you add a second internal disk your usb-disk change to sdc).
"blkid /dev/sdb1" shows the UUID.
With this info add an entry in /etc/fstab like the /boot-entry.

Try with "mount -a" and your disk should mounted.

Udo
 
thank you i have no idea what im doing but last night i got all working by doing this but ill reformat the disk as you said this was my config


in the /etc/fstab file

/dev/sdb /HD1 auto

and it worked but you are saying that i sould reformat it?