Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED/WORKAROUND] Copy files between 2 BTRFS disks preserving deduplication

Featured Replies

Some of the files were created using cp --reflink to save space. When I try copying with cp, this deduplication is not preserved. --reflink=always fails, reporting "Invalid cross-device link"

 

Both disks are single disk BTRFS (LUKS). You can see the difference in the size on disk for the domains directory I copied below:

root@server:/mnt/cache# cp -a --reflink=auto /mnt/disks/ssd/domains /mnt/cache/domains

 

 

Edited by golli53

  • Community Expert

If they are on a subvolume you can make a snapshot than send/receive to the other disk, if not create one and move data inside it first.

  • Author
9 minutes ago, johnnie.black said:

If they are on a subvolume you can make a snapshot than send/receive to the other disk, if not create one and move data inside it first.

Gotcha - thanks @johnnie.black!

  • golli53 changed the title to [SOLVED/WORKAROUND] Copy files between 2 BTRFS disks preserving deduplication

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.