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.

preclear_disk.sh not working

Featured Replies

I just installed two new drives into an unRAID V5.0rc8a system.  This is my first addition since upgrading from V4.7.  When I try to run a preclear_disk.sh -A /dev/sdh or sdb on the drives I get the following error.  The preclear version I am running is V1.1.3

 

root@tower:/boot# ./preclear_disk.sh -A /dev/sdh

/boot/preclear_disk.sh: line 1313: sfdisk: command not found

Sorry: Device /dev/sdh is busy.: 127

 

I have tried the above command with the array stopped and started and nothing seems to help I have also ran the lsof |grep /dev/sdh command and nothing comes up on the list.

 

From the looks of things it looks like I am missing the sfdisk command. 

 

 

Thank you for the help

There is no such version as 1.1.3 for preclear_disk.sh, but I suppose you mean version 1.13  ;)

 

sfdisk is part of unRAID. Can you run the command: find / -name sfdisk

 

 

 

 

 

  • Author

I did and I come back with the file located in

 

/usr/sbin/

 

lrwxrwxrwx  1 root root      17 2012-09-17 17:49 sfdisk -> ../../sbin/sfdisk

 

But it looks like a symbolic link that goes to nothing.  When I got to that folder and type

 

sfdisk

 

I get

 

root@tower:/usr/sbin# ./sfdisk

-bash: ./sfdisk: No such file or directory

 

and sorry yes it's 1.13

  • Author

This is what I get when I run the command.  This is after a reboot last night just to make sure everything is okay.

 

root@tower:~# ls -l /sbin/sfdisk

/bin/ls: cannot access /sbin/sfdisk: No such file or directory

 

I also tried

 

root@tower:~# ls -l /usr/sbin/sfdisk

lrwxrwxrwx 1 root root 17 2012-09-17 17:49 /usr/sbin/sfdisk -> ../../sbin/sfdisk

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.