[SOLVED] Use sda drive as storage

LuiMen

Member
May 15, 2022
21
1
8
Hello,
is it possible to use the hard disk on which the operating system is installed also as datastorage?
I have 2x 2TB hard drives. One is already used as storage.
 
What do you mean by "datastorage"? Do you want to use it for a PBS datastore?
And what filesystem is your system disk using?
 
Last edited:
Sorry, I mean backup storage.
I use ext4.
Filesystem Type 1K-blocks Used Available Use% Mounted on
udev devtmpfs 32818588 0 32818588 0% /dev
tmpfs tmpfs 6571316 1308 6570008 1% /run
/dev/mapper/pbs-root ext4 1895921636 11117256 1788423044 1% /
tmpfs tmpfs 32856580 0 32856580 0% /dev/shm
tmpfs tmpfs 5120 0 5120 0% /run/lock
/dev/sdb1 ext4 1921724676 1285266168 538766448 71% /mnt/datastore/sdb
/dev/sda2 vfat 1046508 344 1046164 1% /boot/efi
tmpfs tmpfs 6571316 0 6571316 0% /run/user/0
 
Create a new folder on your root filesystem and then edit the /etc/proxmox-backup/storage.cfg and add lines like:
Code:
datastore: NameOfNewDatastore
        path /path/to/new/datastore
 
  • Like
Reactions: LuiMen
Create a new folder on your root filesystem and then edit the /etc/proxmox-backup/storage.cfg and add lines like:
Code:
datastore: NameOfNewDatastore
        path /path/to/new/datastore
I had to add the storage over the gui. Otherwise the permissions would be wrong and the neccessary folders in .chunks are missing.
Now it works. Thank you!
 

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!