Hi, i’m trying to add a new HDD to my home directory.
I added the disc formated in ext4
In the fstab file i mounted
/dev/sdb1 /home ext4 default 0 1
After reboot, runing the lsblk -p command i get the output above
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
/dev/sda 8:0 0 100G 0 disk
├─/dev/sda1 8:1 0 1M 0 part
├─/dev/sda2 8:2 0 2G 0 part /boot
└─/dev/sda3 8:3 0 98G 0 part
└─/dev/mapper/ubuntu–vg-ubuntu–lv 252:0 0 49G 0 lvm /
/dev/sdb 8:16 0 1000G 0 disk
└─/dev/sdb1 8:17 0 1000G 0 part /home
/dev/sr0 11:0 1 2.6G 0 rom
The home directory is pointing to the new disk
The problem happens when i try to restore the backup
mkdir: cannot create directory ‘/home/domain/web/backup.domain.com’: No such file or directory
The home directory has 777 permissions
Any idea how to solve this