adding new USB HD

RaNa

Well-Known Member
Jan 9, 2011
37
0
46
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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!