[SOLVED] PBS Failing to start and unable to enter recovery.

PMVE-User

Member
Jan 12, 2023
32
6
8
Hi All,

So I have a PBS server setup which is as follows:

Server Drive (pbs) : 240GB
Datastores: 2x 3TB HDD

While playing around with proxmox backup server. I was testing the servers tolerance and decided to see what would happen if i turned the power off and on 3 times in a row. Twice it worked as normal. The 3rd time it broke the server and needed fsck to repair, repaired the drive and broke it again to see what would happen.

SInce the datastores are separate from the PBS drive. All you need to actually do without any trouble.

Reinstall PBS on the 240GB drive. Then to re-add the datastores, you cannot use the GUI as you will run into an error stating /some/dir/.chunks exists. To solve this, simply add the datastores directly into the config;

nano /etc/proxmox-backup/datastore.cfg

Code:
datastore: DatastoreDriveName
        path /full/path/to/DatastoreDriveName

datastore: DatastoreDriveName-1
        path /full/path/to/DatastoreDriveName-1

Save it and everything is back to normal. Including all backups stored on the drives.

NOTE: if you are using ZFS drives you will need to import the pools first before editing the `datastore.cfg` file