November 28, 201213 yr 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
November 28, 201213 yr 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
November 28, 201213 yr 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
November 29, 201213 yr 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.