#3363 Issue open: ReaR does not recognise USB SSD but sees USB flashdrive

Labels: waiting for info, support / question

rudolf3577 opened issue at 2024-12-12 16:10:

  • ReaR version ("/usr/sbin/rear -V"):
    Relax-and-Recover 2.7 / Git

  • If your ReaR version is not the current version, explain why you can't upgrade:

  • OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):

Kernel: 6.8.0-50-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble

  • ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):

local.conf:
OUTPUT=USB
BACKUP=NETFS
BACKUP_URL="usb:///dev/disk/by-label/REAR-000"

  • Hardware vendor/product (PC or PowerNV BareMetal or ARM) or VM (KVM guest or PowerVM LPAR):
    Laptop System: Apple product: MacBookAir5,1

  • System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):

x86 compatible

  • Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):

GRUB

  • Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):

Local Storage: total: 1.14 TiB used: 515.45 GiB (44.3%)
ID-1: /dev/sda vendor: OWC model: Aura Pro S MA258 size: 931.51 GiB speed: 6.0 Gb/s tech: SSD
serial: fw-rev: 6ANR scheme: GPT
ID-2: /dev/sdb vendor: OWC model: Mercury Electra 6G SSD size: 232.89 GiB type: USB rev: 3.0
spd: 5 Gb/s lanes: 1 tech: SSD serial: fw-rev: 0204

  • NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,LABEL,SIZE,MOUNTPOINT"):

  • Description of the issue (ideally so that others can reproduce it):

Format and BU creation works as advertised with a USB flash drive. But when I use the USB mounted 256GB (sdb) ReaR fails to see it and format it.

  • Workaround, if any:

  • Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):
    Attached log file
    ReaR-Dump.docx

You can drag-drop log files into this editor to create an attachment
or paste verbatim text like command output or file content
by including it between a leading and a closing line of
three backticks like this:

verbatim content

gdha commented at 2024-12-14 08:48:

@rudolf3577 Could you provide the debug logs so we can see what and where it goes wrong? (ReaR option -D).

gdha commented at 2024-12-14 15:29:

Try to add in the local.conf file with the latest ReaR sources (ReaR v2.8 will be released in a week or so):

# To avoid that our USB disk will be wiped out
WRITE_PROTECTED_FS_LABEL_PATTERNS=( "$USB_LABEL" "REAR-000" )

[Export of Github issue for rear/rear.]