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] Unable to mount/delete partitions in Unassigned Devices

Featured Replies

Hi there! I have been using UnRaid for awhile already, and I have 2 idle disks would like to preclear them first. iirc, I did once to them but I am not sure so I would like to preclear them again. But then I am having issue while dealing with sdj and sdm.

 

image.thumb.png.1e860d3dd1250c84aa825b11f3189657.png

 

When I use binhex-preclear docker to preclear sdj and sdm with command below:

preclear_binhex.sh -f -M 4 /dev/sdj

I got an error below:

blockdev: ioctl error on BLKRRPART: Device or resourece busy

So I tried to delete the partitions in UD for sdj and sdm, (destructive mode enabled), and got the errors as below:

Aug 6 11:04:09 UnRaid unassigned.devices: Removing partition '1' from disk '/dev/sdj'.
Aug 6 11:04:09 UnRaid unassigned.devices: Remove parition failed result 'Error: Partition doesn't exist. '
Aug 6 11:04:23 UnRaid unassigned.devices: Removing partition '1' from disk '/dev/sdm'.
Aug 6 11:04:23 UnRaid unassigned.devices: Remove parition failed result 'Error: Partition doesn't exist. '

 

P.S. I did all this while the array has started, but this should not be a problem.

 

My goal overall is just to preclear both of them, then take out from the UnRaid, may I know how? Thanks!

Edited by PzrrL
Solved

  • Community Expert

Try:

 

wipefs -a /dev/sdX1

 

if successful then

 

wipefs -a /dev/sdX

 

  • Author
1 hour ago, johnnie.black said:

Try:

 


wipefs -a /dev/sdX1

 

if successful then

 


wipefs -a /dev/sdX

 

Thanks. I tried and the following is the output (seems not working with the 2nd command😞

root@UnRaid:~# wipefs -a /dev/ sdj1
wipefs: error: /dev/: probing initialization failed: Is a directory
root@UnRaid:~# wipefs -a /dev/sdm1
/dev/sdm1: 4 bytes were erased at offset 0x00000000 (xfs): 58 46 53 42
root@UnRaid:~# wipefs -a /dev/sdj
/dev/sdj: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sdj: calling ioctl to re-read partition table: Device or resource busy
root@UnRaid:~# wipefs -a /dev/sdm
/dev/sdm: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sdm: calling ioctl to re-read partition table: Device or resource busy
root@UnRaid:~# 

Now, both of them are not mountable (with greyed mount button) in Unassigned Devices.

Edited by PzrrL
Add one more line at the end

  • Community Expert

sdj1 wasn't successful, so you shouldn't have run sdj, though it won't matter much, reboot and try running preclear again.

  • Author
53 minutes ago, johnnie.black said:

sdj1 wasn't successful, so you shouldn't have run sdj, though it won't matter much, reboot and try running preclear again.

Thanks! After another rebooting, they shown as mountable, and I am able to preclear them now. Thank you so much!

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.