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.

Overwrite empty space after encrypting

Featured Replies

Hi!

I am currently setting up a new array with a bunch of drives of an old array. I am using this opportunity and started encrypting my drives (xfs -> encrypted xfs). I emptied some drives, formatted them and copy stuff onto them, repeat.

 

As I understand correctly, all the data which is newly written onto those drives gets encrypted. But those drives aren't 100% full, so I guess there could still be data on areas where nothing encrypted was written to.

 

Now I thought I could fill all drives up to 100% to overwrite any data which might still be there and could be recovered.

 

Dumb idea or would this be useful? Any ideas which command might be useful to fill up those drives?

 

Thanks!

  • Community Expert

mhmm spontaneously i would say 

"dd if=/dev/zero of=data.null bs=10G count=100" which would be a 1TB file with lots and lots of null.
"dd if=/dev/zero of=data.null bs=10G count=1000" would be 10TB

Be careful, it creates the file where you currently are in the console.


Edit: You could also download a zipbomb for quick and easy data to fill the empty space with xD 

Edited by Mainfrezzer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.