Restic eats disk capacity of my main drive? But choosing to make a symbolic link from the YH Backup service to a second drive instead?! Now that's a long story but follow it to get te same ;-)

ok. what disk /mnt/backup mounted to? it doesn’t show up in df -H.

is it a removable disk?

none of those drives on your system have enough space for the 450 GB backup file.

As mentioned it’s SDB

Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WDS100T2G0A-
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3947100b

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1        2048 1953525167 1953523120 931.5G 83 Linux

ok. so why isn’t it showing up on df??? that’s why i’m asking if it is a removable disk.

the pasted data you are showing from fdisk: doesn’t show where disk is mounted, doesn’t show how much space is left, only shows the total size of the disk.

what do you get if you try this command:

df -H /dev/sdb

No internal.

it’s blank only formatted with ext4

Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev

huh size 16G?!

There we go. Found the problem :smiley:

Not enough space.

What do you mean with ed with e? I don’t know any Ed With an E :stuck_out_tongue:
I mean can you tell me the issue, I really want to know it…

sorry something was weird with replying. it garbled the message.

from the df -H you posted:

Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev

something is wrong with that disk.

  1. formatted wrong?
  2. partitioned wrong?
  3. mounted wrong?

Should be showing up like this:

/dev/sdb mounted on /mnt/backup
1 Like
 sudo mkfs -t ext4 /dev/sdb1
mke2fs 1.44.5 (15-Dec-2018)
/dev/sdb1 contains a ext4 file system
        last mounted on /mnt/backup on Wed Aug  3 19:00:06 2022
Proceed anyway? (y,N) y
Discarding device blocks: done                            
Creating filesystem with 244190390 4k blocks and 61054976 inodes
Filesystem UUID: 78b034d0-1c16-4793-a681-d84f275f239c
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
        102400000, 214990848

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done     

I forgot; mount /dev/sdb1 /mnt/backup :smiling_face_with_tear:

/dev/sdb1      960302824        28 911448336   1% /mnt/backup

Thank you for all your effort @arkadi, @Mamie, and @Aleks!

It works as expected now!

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.