chooch Posted December 17, 2016 Share Posted December 17, 2016 I am trying to do a preclear and I keep getting an error saying Sorry: Device /dev/xxx is busy.: 1 I am using 6.2.4 and read in another thread a person was using 6.2 beta 18 and the included sfdisk command does not support the R option. They recommend doing the preclearing back in v6.1.9. Is that the case here with 6.2.4 and if so what is the most recent version of Unraind that you can run preclear with? That tread was from March so I wasn't sure if there were newer versions that worked since then with preclear. root@Tower:~# cd /boot root@Tower:/boot# preclear_disk.sh -l ====================================1.15 Disks not assigned to the unRAID array (potential candidates for clearing) ======================================== /dev/sdb = ata-TOSHIBA_HDWE150_Y666KF59F57D root@Tower:/boot# preclear_disk.sh /dev/sdb ./preclear_disk.sh: line 1307: /root/mdcmd: No such file or directory sfdisk: invalid option -- 'R' Usage: sfdisk [options] <dev> [[-N] <part>] sfdisk [options] <command> Display or manipulate a disk partition table. Commands: -A, --activate <dev> [<part> ...] list or set bootable MBR partitions -d, --dump <dev> dump partition table (usable for later input) -J, --json <dev> dump partition table in JSON format -g, --show-geometry [<dev> ...] list geometry of all or specified devices -l, --list [<dev> ...] list partitions of each device -F, --list-free [<dev> ...] list unpartitions free areas of each device -s, --show-size [<dev> ...] list sizes of all or specified devices -T, --list-types print the recognized types (see -X) -V, --verify [<dev> ...] test whether partitions seem correct --part-label <dev> <part> [<str>] print or change partition label --part-type <dev> <part> [<type>] print or change partition type --part-uuid <dev> <part> [<uuid>] print or change partition uuid --part-attrs <dev> <part> [<str>] print or change partition attributes <dev> device (usually disk) path <part> partition number <type> partition type, GUID for GPT, hex for MBR Options: -a, --append append partitions to existing partition table -b, --backup backup partition table sectors (see -O) --bytes print SIZE in bytes rather than in human readable for mat -f, --force disable all consistency checking --color[=<when>] colorize output (auto, always or never) colors are enabled by default -N, --partno <num> specify partition number -n, --no-act do everything except write to device --no-reread do not check whether the device is in use -O, --backup-file <path> override default backup file name -o, --output <list> output columns -q, --quiet suppress extra info messages -X, --label <name> specify label type (dos, gpt, ...) -Y, --label-nested <name> specify nested label type (dos, bsd) -L, --Linux deprecated, only for backward compatibility -u, --unit S deprecated, only sector unit is supported -h, --help display this help and exit -v, --version output version information and exit Available columns (for -o): gpt: Device Start End Sectors Size Type Type-UUID Attrs Name UUID dos: Device Start End Sectors Cylinders Size Type Id Attrs Boot End-C/H/S Start-C/H/S bsd: Slice Start End Sectors Cylinders Size Type Bsize Cpg Fsize sgi: Device Start End Sectors Cylinders Size Type Id Attrs sun: Device Start End Sectors Cylinders Size Type Id Flags For more details see sfdisk(. Sorry: Device /dev/sdb is busy.: 1 root@Tower:/boot# Quote Link to comment
chooch Posted December 17, 2016 Author Share Posted December 17, 2016 Revered back to 6.1.9 and now it's working. Quote Link to comment
JorgeB Posted December 17, 2016 Share Posted December 17, 2016 Preclear script needs to be patched to work with v6.2, search the forum or use the plug-in. Quote Link to comment
trurl Posted December 17, 2016 Share Posted December 17, 2016 In fact, if you had searched you would find someone else asked your exact question only 2 day ago. See search tips in my sig. Quote Link to comment
chooch Posted December 17, 2016 Author Share Posted December 17, 2016 Preclear script needs to be patched to work with v6.2, search the forum or use the plug-in. Thanks for the info. I already started the preclear last night however once it's done I add the patch and upgrade to 6.2.4 again in case I have to do it in the future. In fact, if you had searched you would find someone else asked your exact question only 2 day ago. See search tips in my sig. I did search before posting. How do you think I came across the thread where the person had the same issue and was using 6.2 beta 18. Sorry I didn't come across the post you mentioned from two days ago. I'm not on this form a lot and every form's search behavior is different. Even the forms I do spend a lot of times on I can still have issues searching for posts I made and the one thing I learned is the more you use them the better you get. But like any other forum instead of you posting a link to that specific thread from two days ago to help me out your quick to make assumptions and say "if I would have searched" like I didn't try doing that in the first place. Quote Link to comment
trurl Posted December 17, 2016 Share Posted December 17, 2016 I did search before posting. How do you think I came across the thread where the person had the same issue and was using 6.2 beta 18. Sorry I didn't come across the post you mentioned from two days ago. I'm not on this form a lot and every form's search behavior is different. Even the forms I do spend a lot of times on I can still have issues searching for posts I made and the one thing I learned is the more you use them the better you get. But like any other forum instead of you posting a link to that specific thread from two days ago to help me out your quick to make assumptions and say "if I would have searched" like I didn't try doing that in the first place. I was just trying to help you help yourself in the future. Many people have trouble figuring out how to use the search feature on this forum (no, it's not obvious), which is why I suggested you read the linked sticky in my sig. Quote Link to comment
mrbens Posted July 22, 2017 Share Posted July 22, 2017 For anyone else searching this that has found disks always say 'busy' when trying to preclear from the command line on latest versions of unRAID, just found the following plugin you can install to do it via the GUI instead: Quote Link to comment
JackBauer Posted February 4, 2018 Share Posted February 4, 2018 Ok so using the plugin, I get to 93% read, and it hangs for hours and hours. (Ok only did it once but not going to waste my time again) The preclear script I have installed gives me a "device is buys". It's a WD 8TB Easystore... Can someone give a nudge? Quote Link to comment
JorgeB Posted February 4, 2018 Share Posted February 4, 2018 1 minute ago, JackBauer said: The preclear script I have installed gives me a "device is buys". https://forums.lime-technology.com/topic/12391-re-preclear_disksh-a-new-utility-to-burn-in-and-pre-clear-disks-for-quick-add/?do=findComment&comment=460592 1 Quote Link to comment
JackBauer Posted February 4, 2018 Share Posted February 4, 2018 Thanks Johnnie! That did it... Quote Link to comment
Recommended Posts
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.