Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array


Recommended Posts

I need some clarification from those of you that are experiencing disk formatting problems.  I'm hearing that you have pre-cleared the disks but I don't see the 'precleared' file system (FS) in any of the screen shots provided.  That designation will show when UD finds the pre-clear signature on a disk that is not formatted.  I am testing with a 250 GB disk and see the signature as I expect and I can format the disk.  I will test a 2TB disk next to see if maybe UD is having trouble with the larger disks.  Have you been using the Joe L. script to pre-clear the disks?  Do you see the 'precleared' file system (FS) designation when the disk is pre-cleared?

On the server that works, it shows precleared in the FS spot. In the other server, the FS spot is a dash. 2TB WD drives in both cases. Precleared using the Joe L. script with plugin wrapper on the one that works, and using the new beta plugin on the one that doesn't. That may or may not be a red herring.
Link to comment

@dlandon

 

I clicke on the pre-clear icon in UD to pre-clear my 480GB SSD. I also have Joe L's script in /boot but I did not use it this time. When the pre-clear finished, I did see the FS was changed to 'precleared'.  I then clicked on 'Format' which appeared from the log to format the SSD.  However, the button labeled 'Format' changed to 'Format failed' and I was not able to mount the SSD.

Link to comment

I need some clarification from those of you that are experiencing disk formatting problems.  I'm hearing that you have pre-cleared the disks but I don't see the 'precleared' file system (FS) in any of the screen shots provided.  That designation will show when UD finds the pre-clear signature on a disk that is not formatted.  I am testing with a 250 GB disk and see the signature as I expect and I can format the disk.  I will test a 2TB disk next to see if maybe UD is having trouble with the larger disks.  Have you been using the Joe L. script to pre-clear the disks?  Do you see the 'precleared' file system (FS) designation when the disk is pre-cleared?

On the server that works, it shows precleared in the FS spot. In the other server, the FS spot is a dash. 2TB WD drives in both cases. Precleared using the Joe L. script with plugin wrapper on the one that works, and using the new beta plugin on the one that doesn't. That may or may not be a red herring.

 

You may have hit on the problem.  The beta plugin is probably not writing the same signature and is confusing UD.

Link to comment

@dlandon

 

I clicke on the pre-clear icon in UD to pre-clear my 480GB SSD. I also have Joe L's script in /boot but I did not use it this time. When the pre-clear finished, I did see the FS was changed to 'precleared'.  I then clicked on 'Format' which appeared from the log to format the SSD.  However, the button labeled 'Format' changed to 'Format failed' and I was not able to mount the SSD.

 

Ok.  I released a version today that might help with that issue.  Give it a try and let me know if it works.

Link to comment

I think I have it sorted out.  Update the plugin and give it another try and let me know.  I may have to add some more extensive logging in order to track it down if this doesn't get it.

 

EDIT: This should also solve the SSD drive not formatting problem.

 

No dice, still no luck even after updating the plugin.  Same behavior.

 

 

Link to comment

I've not got another 8TB drive to test UD with so i'll drop out of this discussion to avoid any confusion and stick to preclearing inside the array in future. I've no other need for UD, just gave it a go.

 

Should have mentioned that the preclear logfile for the failed attempt via UD showed that it appeared to be waiting for a 'Y'es input to continue?? I was using the established JoeL script and not the faster preclear script. Could this be the issue? If not,  then how are the responses required by the preclear script handled by UD? Am i supposed to have any other plugins installed?

 

Sent from my LG-D855 using Tapatalk

 

Link to comment

I think I have it sorted out.  Update the plugin and give it another try and let me know.  I may have to add some more extensive logging in order to track it down if this doesn't get it.

 

EDIT: This should also solve the SSD drive not formatting problem.

 

No dice, still no luck even after updating the plugin.  Same behavior.

 

Was the disk precleared with the Joe L. script?

Link to comment

I think I have it sorted out.  Update the plugin and give it another try and let me know.  I may have to add some more extensive logging in order to track it down if this doesn't get it.

 

EDIT: This should also solve the SSD drive not formatting problem.

 

No dice, still no luck even after updating the plugin.  Same behavior.

 

Was the disk precleared with the Joe L. script?

 

Used this plugin:

Preclear Plugin

http://lime-technology.com/forum/index.php?topic=39985

Link to comment

I think I have it sorted out.  Update the plugin and give it another try and let me know.  I may have to add some more extensive logging in order to track it down if this doesn't get it.

 

EDIT: This should also solve the SSD drive not formatting problem.

 

No dice, still no luck even after updating the plugin.  Same behavior.

 

Was the disk precleared with the Joe L. script?

 

Used this plugin:

Preclear Plugin

http://lime-technology.com/forum/index.php?topic=39985

 

I assume this is an SSD disk?  Did FS change to 'precleared' when it was done preclearing?

Link to comment

I think I have it sorted out.  Update the plugin and give it another try and let me know.  I may have to add some more extensive logging in order to track it down if this doesn't get it.

 

EDIT: This should also solve the SSD drive not formatting problem.

 

No dice, still no luck even after updating the plugin.  Same behavior.

 

Was the disk precleared with the Joe L. script?

 

Used this plugin:

Preclear Plugin

http://lime-technology.com/forum/index.php?topic=39985

 

I assume this is an SSD disk?  Did FS change to 'precleared' when it was done preclearing?

 

It's a standard HD. It did say "precleared" after it was done.

 

I tried to format and now the status is blank and no longer say "precleared"

Link to comment

I think I have it sorted out.  Update the plugin and give it another try and let me know.  I may have to add some more extensive logging in order to track it down if this doesn't get it.

 

EDIT: This should also solve the SSD drive not formatting problem.

 

No dice, still no luck even after updating the plugin.  Same behavior.

 

Was the disk precleared with the Joe L. script?

 

Used this plugin:

Preclear Plugin

http://lime-technology.com/forum/index.php?topic=39985

 

I assume this is an SSD disk?  Did FS change to 'precleared' when it was done preclearing?

 

It's a standard HD. It did say "precleared" after it was done.

 

I tried to format and now the status is blank and no longer say "precleared"

 

What file system were you formatting?

 

Go to a command line and type 'fdisk -l /dev/sdX' where X is the drive designation letter and let me know what it shows.

 

It appears that the disk did get some sort of a format because the preclear partition was changed.  UD can't tell the file system so the FS is a '-'.

Link to comment

What file system were you formatting?

 

Go to a command line and type 'fdisk -l /dev/sdX' where X is the drive designation letter and let me know what it shows.

 

It appears that the disk did get some sort of a format because the preclear partition was changed.  UD can't tell the file system so the FS is a '-'.

 

I was formatting it as XFS.  This is the output of 'fdisk -l /dev/sdc':

 

Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Link to comment

What file system were you formatting?

 

Go to a command line and type 'fdisk -l /dev/sdX' where X is the drive designation letter and let me know what it shows.

 

It appears that the disk did get some sort of a format because the preclear partition was changed.  UD can't tell the file system so the FS is a '-'.

 

I was formatting it as XFS.  This is the output of 'fdisk -l /dev/sdc':

 

Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

The preclear partition was removed, but the new partition did not get created.

 

Can you post the preclear report?

Link to comment

What file system were you formatting?

 

Go to a command line and type 'fdisk -l /dev/sdX' where X is the drive designation letter and let me know what it shows.

 

It appears that the disk did get some sort of a format because the preclear partition was changed.  UD can't tell the file system so the FS is a '-'.

 

I was formatting it as XFS.  This is the output of 'fdisk -l /dev/sdc':

 

Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

The preclear partition was removed, but the new partition did not get created.

 

Can you post the preclear report?

 

Tell me what I need to run and I'll gladly post the results.

Link to comment

What file system were you formatting?

 

Go to a command line and type 'fdisk -l /dev/sdX' where X is the drive designation letter and let me know what it shows.

 

It appears that the disk did get some sort of a format because the preclear partition was changed.  UD can't tell the file system so the FS is a '-'.

 

I was formatting it as XFS.  This is the output of 'fdisk -l /dev/sdc':

 

Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

The preclear partition was removed, but the new partition did not get created.

 

Can you post the preclear report?

 

Tell me what I need to run and I'll gladly post the results.

 

It's a file saved to the flash drive at /flash/preclear_reports/preclear_rpt_(drive serial number).

Link to comment

What file system were you formatting?

 

Go to a command line and type 'fdisk -l /dev/sdX' where X is the drive designation letter and let me know what it shows.

 

It appears that the disk did get some sort of a format because the preclear partition was changed.  UD can't tell the file system so the FS is a '-'.

 

I was formatting it as XFS.  This is the output of 'fdisk -l /dev/sdc':

 

Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

The preclear partition was removed, but the new partition did not get created.

 

Can you post the preclear report?

 

Tell me what I need to run and I'll gladly post the results.

 

It's a file saved to the flash drive at /flash/preclear_reports/preclear_rpt_(drive serial number).

 

attached.

preclear_report_WDC_WD30EFRX-68EUZN0_WD-WCC4N0394755.txt

Link to comment

For those of you having formatting failures, please update to the latest release (2016.04.15) and try to format again.  If it fails, post your UD log.  I have added additional logging so we can track down the issues of format failures.

Here you go. Smoking gun.

Apr 15 09:21:36 Device '/dev/sdd' block size: 3907029168
Apr 15 09:21:36 Clearing partition table of disk '/dev/sdd'.
Apr 15 09:21:36 Clear partition result:
1+0 records in
1+0 records out
2097152 bytes (2.1 MB) copied, 0.0132899 s, 158 MB/s
Apr 15 09:21:36 Reloading disk '/dev/sdd' partition table.
Apr 15 09:21:36 Reload partition table result:
/dev/sdd:
re-reading partition table
Apr 15 09:21:36 Creating a 'msdos' partition table on disk '/dev/sdd'.
Apr 15 09:21:36 Create 'msdos' partition table result:
/usr/sbin/parted: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
Apr 15 09:21:36 Creating a primary partition on disk '/dev/sdd'.
Apr 15 09:21:36 Create primary partition result:
/usr/sbin/parted: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
Apr 15 09:21:36 Formatting disk '/dev/sdd' with 'xfs' filesystem.
Apr 15 09:21:39 Reloading disk '/dev/sdd' partition table.
Apr 15 09:21:39 Reload partition table result:
/dev/sdd:
re-reading partition table

Link to comment

For those of you having formatting failures, please update to the latest release (2016.04.15) and try to format again.  If it fails, post your UD log.  I have added additional logging so we can track down the issues of format failures.

Here you go. Smoking gun.

Apr 15 09:21:36 Device '/dev/sdd' block size: 3907029168
Apr 15 09:21:36 Clearing partition table of disk '/dev/sdd'.
Apr 15 09:21:36 Clear partition result:
1+0 records in
1+0 records out
2097152 bytes (2.1 MB) copied, 0.0132899 s, 158 MB/s
Apr 15 09:21:36 Reloading disk '/dev/sdd' partition table.
Apr 15 09:21:36 Reload partition table result:
/dev/sdd:
re-reading partition table
Apr 15 09:21:36 Creating a 'msdos' partition table on disk '/dev/sdd'.
Apr 15 09:21:36 Create 'msdos' partition table result:
/usr/sbin/parted: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
Apr 15 09:21:36 Creating a primary partition on disk '/dev/sdd'.
Apr 15 09:21:36 Create primary partition result:
/usr/sbin/parted: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
Apr 15 09:21:36 Formatting disk '/dev/sdd' with 'xfs' filesystem.
Apr 15 09:21:39 Reloading disk '/dev/sdd' partition table.
Apr 15 09:21:39 Reload partition table result:
/dev/sdd:
re-reading partition table

 

Try this command on a command line:

 

/usr/sbin/parted /dev/sdd --script mklabel msdos 2>&1

Link to comment
login as: root
root@image's password:
Last login: Thu Apr 14 10:26:19 2016 from 192.168.118.248
Linux 4.1.18-unRAID.
root@IMAGE:~# /usr/sbin/parted /dev/sdd --script mklabel msdos 2>&1
/usr/sbin/parted: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
root@IMAGE:~#

Link to comment

login as: root
root@image's password:
Last login: Thu Apr 14 10:26:19 2016 from 192.168.118.248
Linux 4.1.18-unRAID.
root@IMAGE:~# /usr/sbin/parted /dev/sdd --script mklabel msdos 2>&1
/usr/sbin/parted: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
root@IMAGE:~#

 

What size is the disk?

Link to comment

login as: root
root@image's password:
Last login: Thu Apr 14 10:26:19 2016 from 192.168.118.248
Linux 4.1.18-unRAID.
root@IMAGE:~# /usr/sbin/parted /dev/sdd --script mklabel msdos 2>&1
/usr/sbin/parted: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
root@IMAGE:~#

 

What size is the disk?

2TB
Link to comment

login as: root
root@image's password:
Last login: Thu Apr 14 10:26:19 2016 from 192.168.118.248
Linux 4.1.18-unRAID.
root@IMAGE:~# /usr/sbin/parted /dev/sdd --script mklabel msdos 2>&1
/usr/sbin/parted: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
root@IMAGE:~#

 

What size is the disk?

2TB

 

Please try this command:

/usr/sbin/parted /dev/sdd mklabel msdos 2>&1

 

It may prompt you for confirmation and/or generate an error.

Link to comment
  • trurl pinned this topic

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.