HunterClipper Posted January 27 Share Posted January 27 Hello, I am having some issues with formatting a drive to put in my array. When I try to format it with unassigned devices it will error out and log to System Log. Jan 27 10:17:06 UNRaidServer unassigned.devices: Format device '/dev/sdb'. Jan 27 10:17:06 UNRaidServer unassigned.devices: Device '/dev/sdb' block size: 11721045168. Jan 27 10:17:06 UNRaidServer unassigned.devices: Clearing partition table of disk '/dev/sdb'. Jan 27 10:17:06 UNRaidServer unassigned.devices: Clear partition result: 1+0 records in 1+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0165884 s, 126 MB/s Jan 27 10:17:08 UNRaidServer unassigned.devices: Reloading disk '/dev/sdb' partition table. Jan 27 10:17:08 UNRaidServer unassigned.devices: Reload partition table result: /dev/sdb: re-reading partition table Jan 27 10:17:08 UNRaidServer unassigned.devices: Creating Unraid compatible gpt partition on disk '/dev/sdb'. Jan 27 10:17:10 UNRaidServer unassigned.devices: Create gpt partition table result: Creating new GPT entries in memory. The operation has completed successfully. Jan 27 10:17:12 UNRaidServer unassigned.devices: Reloading disk '/dev/sdb' partition table. Jan 27 10:17:12 UNRaidServer unassigned.devices: Reload partition table result: /dev/sdb: re-reading partition table Jan 27 10:17:12 UNRaidServer unassigned.devices: Formatting disk '/dev/sdb' with 'xfs' filesystem. Jan 27 10:17:12 UNRaidServer unassigned.devices: Format drive command: /sbin/mkfs.xfs -f '/dev/sdb1' 2>&1 Jan 27 10:17:14 UNRaidServer unassigned.devices: Format disk '/dev/sdb' with 'xfs' filesystem failed: Error accessing specified device /dev/sdb1: No such file or directory Usage: mkfs.xfs /* blocksize */#011#011[-b size=num] /* config file */#011[-c options=xxx] /* metadata */#011#011[-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1, #011#011#011 inobtcount=0|1,bigtime=0|1] /* data subvol */#011[-d agcount=n,agsize=n,file,name=xxx,size=num, #011#011#011 (sunit=value,swidth=value|su=num,sw=num|noalign), #011#011#011 sectsize=num /* force overwrite */#011[-f] /* inode size */#011[-i perblock=n|size=num,maxpct=n,attr=0|1|2, #011#011#011 projid32bit=0|1,sparse=0|1] /* no discard */#011[-K] /* log subvol */#011[-l agnum=n,internal,size=num,logdev=xxx,version=n #011#011#011 sunit=value|su=num,sectsize=num,lazy-count=0|1] /* label */#011#011[-L label (maximum 12 characters)] /* naming */#011#011[-n size=num,version=2|ci,ftype=0|1] /* no-op info only */#011[-N] /* prototype file */#011[-p fname] /* quiet */#011#011[-q] /* realtime subvol */#011[-r extsize=num,size=num,rtdev=xxx] /* sectorsize */#011[-s size=num] /* version */#011#011[-V] #011#011#011devicename <d I attached my diagnostics zip as well if that will be of any help. Thank you. unraidserver-diagnostics-20230127-1020.zip Quote Link to comment
JorgeB Posted January 27 Share Posted January 27 The output suggests the partition is not getting created, reboot and try again, if the same post the output of fdisk -l /dev/sdb Quote Link to comment
itimpi Posted January 27 Share Posted January 27 It might be worth seeing if you can complete an extended SMART test on that drive. BTW: Your disk2 is not looking very healthy with lots of reallocated sectors and pending sectors so it probably should be replaced. Quote Link to comment
HunterClipper Posted January 27 Author Share Posted January 27 6 minutes ago, JorgeB said: The output suggests the partition is not getting created, reboot and try again, if the same post the output of fdisk -l /dev/sdb Rebooted, same error. Ran fdisk -l /dev/sdb Disk /dev/sdb: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors Disk model: HUS726060ALE610 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Quote Link to comment
HunterClipper Posted January 27 Author Share Posted January 27 (edited) 20 minutes ago, itimpi said: It might be worth seeing if you can complete an extended SMART test on that drive. BTW: Your disk2 is not looking very healthy with lots of reallocated sectors and pending sectors so it probably should be replaced. Okay I will run an extended SMART and I am aware of disk 2, that is what I am in the process of doing, been putting it off but I am attempting to work on that. EDIT: Given its a 6TB drive, the ext. SMART is going to take a while. Edited January 27 by HunterClipper Quote Link to comment
Solution JorgeB Posted January 27 Solution Share Posted January 27 31 minutes ago, HunterClipper said: Ran fdisk -l /dev/sdb That confirms the partition is not getting created. Change the SATA controller from IDE to AHCI/SATA, it's a know problem with those chipsets in IDE mode. Quote Link to comment
HunterClipper Posted January 27 Author Share Posted January 27 2 minutes ago, JorgeB said: That confirms the partition is not getting created. Change the SATA controller from IDE to AHCI/SATA, it's a know problem with those chipsets in IDE mode. Okay, please forgive my ignorance, but would that setting be made at the bios level or unraid level? Quote Link to comment
itimpi Posted January 27 Share Posted January 27 2 minutes ago, HunterClipper said: Okay, please forgive my ignorance, but would that setting be made at the bios level or unraid level? Bios level Quote Link to comment
HunterClipper Posted January 27 Author Share Posted January 27 7 minutes ago, itimpi said: Bios level Thank you, I will check this setting and attempt again. Thank you for both your swift replies! Quote Link to comment
JorgeB Posted January 27 Share Posted January 27 Note that 4 ports are already AHCI, but 2 are IDE, usually there's a separate setting for ports 5 and 6. Quote Link to comment
HunterClipper Posted January 28 Author Share Posted January 28 20 hours ago, HunterClipper said: Okay I will run an extended SMART and I am aware of disk 2, that is what I am in the process of doing, been putting it off but I am attempting to work on that. EDIT: Given its a 6TB drive, the ext. SMART is going to take a while. Update: the Ext. SMART test came back with zero errors. I haven't got a chance to get into the bios yet do to life being busy but I will update when I do that too. Thanks again for the advice and know how. Quote Link to comment
HunterClipper Posted January 28 Author Share Posted January 28 21 hours ago, JorgeB said: Note that 4 ports are already AHCI, but 2 are IDE, usually there's a separate setting for ports 5 and 6. I switched these two ports over to AHCI and this fixed my issue. Thank you both for you support and knowledge! 1 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.