You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,LABEL,SIZE,MOUNTPOINT
NAME KNAME PKNAME TRAN TYPE FSTYPE LABEL SIZE MOUNTPOINT
/dev/sda /dev/sda disk 10.9T
|-/dev/sda1 /dev/sda1 /dev/sda part 1M
|-/dev/sda2 /dev/sda2 /dev/sda part ext4 500M /boot
`-/dev/sda3 /dev/sda3 /dev/sda part LVM2_member 10.9T
|-/dev/mapper/os-root /dev/dm-0 /dev/sda3 lvm xfs 10G /
|-/dev/mapper/os-swap /dev/dm-1 /dev/sda3 lvm swap 32G [SWAP]
|-/dev/mapper/os-var /dev/dm-2 /dev/sda3 lvm xfs 6G /var
|-/dev/mapper/os-home /dev/dm-3 /dev/sda3 lvm xfs 30G /home
`-/dev/mapper/os-data /dev/dm-4 /dev/sda3 lvm xfs 7.5T /data
/dev/sr0 /dev/sr0 sata rom 1024M
Description of the issue (ideally so that others can reproduce it):
Rear is failing to create the outputfs directory for an sshfs mount. I'm able to create the mount as root without error, but it fails when rear is operating. There are no AVC denials in the logs, or anything other than "Permission denied". This seems similar to #1875 but I'm using sshfs instead of nfs.
Is "/path/to/backup-location" writable by "user" on "server"? If not you will get permission denied when trying to create the "server" sub-directory.
Remember that /tmp/rear.TO0As4FbrYHT5Rt/outputfs is a mount point. In order for the "server" sub-directory to be created, the backup location needs to be writable by "user".
Thanks for the tip @abjr. The backup location had incorrect permissions, and the backup worked after correcting them. I had misunderstood the order of operations, I thought rear was creating a directory for the mount point, not a directory on the mount point.
Relax-and-Recover 2.4 / Git
I installed with
yum install rear
on RHEL 7.9NAME="Red Hat Enterprise Linux Server"
VERSION="7.9 (Maipo)"
OUTPUT=ISO
OUTPUT_URL=sshfs://phet-admin@dtn.rc.int.colorado.edu/pl/active/phet/bayes-image
BACKUP_URL=sshfs://phet-admin@dtn.rc.int.colorado.edu/pl/active/phet/bayes-image
Dell PowerEdge
x86
BIOS
GRUB
local disk, Raid 5+1
Rear is failing to create the outputfs directory for an sshfs mount. I'm able to create the mount as root without error, but it fails when
rear
is operating. There are no AVC denials in the logs, or anything other than "Permission denied". This seems similar to #1875 but I'm using sshfs instead of nfs.Command (as root):
rear -d -v -D mkbackup
From the logs:
If I run
mkdir -p -v -m0750 /tmp/rear.TO0As4FbrYHT5Rt/outputfs/server
in a shell as root, it creates the directory as expected without error.none
The text was updated successfully, but these errors were encountered: