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


dlandon

5568 posts in this topic Last Reply

Recommended Posts

12 hours ago, flic said:

everything's aligned and by far looking +professional than the actual version

While I appreciate your interest in esthetics, there is more to consider than just 'aligning' disk drive mounts:

  • This disk is mounted without a UD script, it is probably better to put it in the cache pool of 6.9.  UD was intended to be a backup/temporary mount plugin.  Now with the cache pool feature of 6.9, it is probably best to move the drive to the cache pool.  You get alignment like you want with temperature and error monitoring that the cache pool provides.
  • The remote shares also would have to be considered in any page alignment and might be more challenging.1146792511_UDPage.thumb.png.49bd5d6abcf2e43cd16adee641102742.png
  • 12 hours ago, flic said:

    since it seems that your right-eye points to the left and the left-eye in the opposite direction, my design must look all f...d up to you

    Yes, the flow doesn't work for me.

All that being said, I will continue to work on the layout and improve the 'look' of UD as I see things to make it better.  I am open to new ideas.

 

UD was originally written for older versions of Unraid and the look and feel of Unraid is evolving.  I work on UD as I get time because it is not a full time job for me.

 

12 hours ago, flic said:

any good reasons the share name cannot be changed to something +meaningful on that stupid thing? -huh, duh, dunno

Really!  'Stupid thing'?  It it's so stupid why do you want to use it?  If you would read the first and second post, you'd see this:

Quote

Rename the device mount point from the default.  Unmount the disk, click on the '+' icon by the serial number, and change the mount point name to something that makes sense to you.

 

Your snarky attitude is not really appreciated.  I find this community of volunteers providing support is the best I've ever seen for a product of this kind.  We are all willing to do what we can to help you get through the challenges of Unraid and those of us doing add-on development (plugins and dockers), are more than happy to entertain new and better features if they make sense for the wider community and are not a one off request.

Link to post
  • Replies 5.6k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

New release of UD.  Changes: When changing the mount point (which is also the share name), the mount point is checked for a duplicate of a user share or another UD device.  Samba cannot handle

While I appreciate your interest in esthetics, there is more to consider than just 'aligning' disk drive mounts: This disk is mounted without a UD script, it is probably better to put it in th

<step on soap box> Keep in mind that the Unraid array disk configuration is static and doesn't change until it is stopped.  UD has to deal with hot plugged disks, devices being dynamically

Posted Images

Hi guys, I have an issue. I'm in the process of switching from Ubuntu Server to Unraid. As part of this process, I didn't want to lose my media so here's what I did:

  1. Formatted 2 new 4TB drives to XFS in Ubuntu
  2. Copied all my media from my 2 old 3TB drives to the new 4TB drives in Ubuntu
    1. I had to do that because my drives where in a logical volume.
  3. In Unraid, I pre-cleared then added my 2 3TB drives to the Array and started the Array.

After that, my plan was to mount the 2 4TB drives in Unassigned Devices and transfer the data to the Array. However, for some reason, I'm unable to mount these drives even though I know the file system is XFS.

 

2tVNy4Q.jpg

 

So I'm a bit lost and I don't want to lose all my media. Hopefully someone can help.

home-server-diagnostics-20200723-1141.zip

Edited by chaineym
Link to post
2 hours ago, TexasUnraid said:

Try restarting the server, sometimes a mount name will get "stuck" and restarting will sort it out.

That should not be necessary.  I've never had this happen.  If someone gets in this situation, please post diagnostics so I can troubleshoot.

Link to post
10 minutes ago, dlandon said:

That should not be necessary.  I've never had this happen.  If someone gets in this situation, please post diagnostics so I can troubleshoot.

I had this happen a few times when it was duplicating names, there might of been another way around the issue but restarting fixed it for me.

 

I just updated this morning and have not had any issues thus far but have also not really used UD much, that is mostly when I do backups.

Link to post
3 hours ago, TexasUnraid said:

I had this happen a few times when it was duplicating names, there might of been another way around the issue but restarting fixed it for me.

 

I just updated this morning and have not had any issues thus far but have also not really used UD much, that is mostly when I do backups.

Before the latest release (2020.07.19a), there was an issue where this would happen.  Be sure you are updated to the latest UD.

Link to post
4 hours ago, chaineym said:

Hi guys, I have an issue. I'm in the process of switching from Ubuntu Server to Unraid. As part of this process, I didn't want to lose my media so here's what I did:

  1. Formatted 2 new 4TB drives to XFS in Ubuntu
  2. Copied all my media from my 2 old 3TB drives to the new 4TB drives in Ubuntu
    1. I had to do that because my drives where in a logical volume.
  3. In Unraid, I pre-cleared then added my 2 3TB drives to the Array and started the Array.

After that, my plan was to mount the 2 4TB drives in Unassigned Devices and transfer the data to the Array. However, for some reason, I'm unable to mount these drives even though I know the file system is XFS.

 

2tVNy4Q.jpg

 

So I'm a bit lost and I don't want to lose all my media. Hopefully someone can help.

home-server-diagnostics-20200723-1141.zip 80.95 kB · 0 downloads

Unraid (Linux) does recognize a file system on those disks, so UD cannot mount them.

Link to post
4 hours ago, dlandon said:

Unraid (Linux) does recognize a file system on those disks, so UD cannot mount them.

Sorry I'm learning, but I really appreciate the help. Did you mean "doesn't"? If it does recognize the file system why can't it mount them? I tried something in the meantime, I rebooted Ubuntu, formatted one of the drive in exFAT, move some of my files to it then tried to mount it in Unassigned Devices and it didn't work either.

 

Am I missing something? I though I would be able to move my existing files using this plugin but no matter how are format the drives, it's not being recognized. Am I doing it wrong?

 

4 hours ago, TexasUnraid said:

Worst case just plug those drives back into the ubuntu computer and copy the data over the network, it will be slow but it should work.

I'm not sure how I would do that, Ubuntu is on the drive that will become my cache drive. The only reason I can still boot it is because I didn't add the cache drive yet. I only have one computer in which I can connect my 3TB and 4TB drives.

Edited by chaineym
Link to post

You don't need the cache drive in unraid, in fact for a large transfer like this you would be better off without the cache drive installed as it will not help and will just wear it out.

 

Just boot up ubuntu, use SMB to connect to the unraid share and then transfer everything over (using another computer of course).

 

Worst case you can use an ubuntu usb stick and a USB adapter for the hard drive.

 

Although to use exfat you need to also install the unassigned devices plus plugin. That might fix your issue as well.

Link to post

Alright so I think I found a way, I will know in a couple of hours. I formatted one of my drive in XFS using Unraid, booted in Ubuntu and Ubuntu can mount the partition and allows me to write on it. I'm in the process of copying my media to the drive. Since it was formatted using Unraid, I hopeit will be recognized correctly. Fingers crossed!

Link to post
10 hours ago, chaineym said:

Sorry I'm learning, but I really appreciate the help. Did you mean "doesn't"?

Yes, I meant doesn't recognize.

10 hours ago, chaineym said:

Am I missing something? I though I would be able to move my existing files using this plugin but no matter how are format the drives, it's not being recognized. Am I doing it wrong?

You aren't missing anythng.  Ubuntu may be partitioning the disk in a non-standard way that Unraid can't understand.

10 hours ago, chaineym said:

Alright so I think I found a way, I will know in a couple of hours. I formatted one of my drive in XFS using Unraid,

Good solution.

Link to post
13 hours ago, chaineym said:

Alright so I think I found a way, I will know in a couple of hours. I formatted one of my drive in XFS using Unraid, booted in Ubuntu and Ubuntu can mount the partition and allows me to write on it. I'm in the process of copying my media to the drive. Since it was formatted using Unraid, I hopeit will be recognized correctly. Fingers crossed!

Alright so I'm giving an update in case someone else has this issue in the future and ends up in that thread. I can confirm this worked. So if you formatted your drive outside of Unraid and you are not able to mount the drive in Unraid, it could be because wherever you formatted the drive does it in a way that Unraid cannot recognize correctly. I can confirm this happened to me when I formatted a drive in Ubuntu Server in both XFS and exFAT.

 

The solution for me was to...

  1. Format the drive in Unraid (instead of Ubuntu)
  2. Boot Ubuntu Server
  3. Mount the drive in Ubuntu
  4. Transfer my files on the drive
  5. Boot Unraid
  6. Mount the drive in Unraid using UD
  7. Use Krusader to transfer the files from the mounted drive to my Array
Link to post
2 hours ago, chaineym said:

Alright so I'm giving an update in case someone else has this issue in the future and ends up in that thread. I can confirm this worked. So if you formatted your drive outside of Unraid and you are not able to mount the drive in Unraid, it could be because wherever you formatted the drive does it in a way that Unraid cannot recognize correctly. I can confirm this happened to me when I formatted a drive in Ubuntu Server in both XFS and exFAT.

 

The solution for me was to...

  1. Format the drive in Unraid (instead of Ubuntu)
  2. Boot Ubuntu Server
  3. Mount the drive in Ubuntu
  4. Transfer my files on the drive
  5. Boot Unraid
  6. Mount the drive in Unraid using UD
  7. Use Krusader to transfer the files from the mounted drive to my Array

What probably happened is that Ubuntu created multiple partitions and the first one did not have a file system.  If you click on the '+' next to the drive serial number, all the partitions on the drive will show.  Any that have a valid file system will show an active 'Mount' button.  The first partition on the drive is the one that shows the drive mount status.  So there could be mountable partitions on the drive, but not show as mountable on the drive.

Link to post
10 hours ago, chaineym said:

The solution for me was to...

  1. Format the drive in Unraid (instead of Ubuntu)
  2. Boot Ubuntu Server
  3. Mount the drive in Ubuntu
  4. Transfer my files on the drive
  5. Boot Unraid
  6. Mount the drive in Unraid using UD
  7. Use Krusader to transfer the files from the mounted drive to my Array

I'm betting it would be faster to just transfer over the network than to shuttle the data with a hard drive.

Link to post

New release of UD.  Highlights:

  • Re-arranged the UD page to more align with the Unraid disk stats.  While there is not a perfect alignment of comparable table entries (pretty difficult because of the dynamic nature of UD), the table entries like FS, Size, Used, and Free are in the same columns.
  • Device size, used, and free are now determined on a timed basis to cut down on UD page load time.  These stats are done using 'df' which is prone to hanging if cifs mounts get disconnected so this should help with the appearance that UD is 'hung'.
  • Script Edit and Log icons are now in one table entry instead of two saving some row space and allowing Size, Free, and Used to better align with Unraid disk stats.

The table entry alignment is most moticeable in the Non Tabbed view.

Link to post

Hi, 

New to this topic and not sure what I need to do to post my problem.

I have been upgrading my unraid machine and swapped out smaller drives to larger ones.

At sometime during the swapping I have lost files, entire directory's.

I connected one of the old replaced drives and it shows in UD but will not let me mount it.SS.thumb.png.775e24388bd310b0092c249c4ddd1d61.png

 

Link to post
3 minutes ago, tcshavasu said:

At sometime during the swapping I have lost files

Never have such problem, should be parity not sync or some wrong operation or ubderlaying problem invalid it.

 

7 minutes ago, tcshavasu said:

it shows in UD but will not let me mount it.

Disk controller change ?

Link to post
9 minutes ago, tcshavasu said:

Hi, 

New to this topic and not sure what I need to do to post my problem.

I have been upgrading my unraid machine and swapped out smaller drives to larger ones.

At sometime during the swapping I have lost files, entire directory's.

I connected one of the old replaced drives and it shows in UD but will not let me mount it.SS.thumb.png.775e24388bd310b0092c249c4ddd1d61.png

 

Click the orange mount button, it should mount it. If not then it should give an error in the log that can help.

Link to post
25 minutes ago, TexasUnraid said:

Click the orange mount button, it should mount it. If not then it should give an error in the log that can help.

Log states:

Jul 26 12:51:49 Tower unassigned.devices: Adding disk '/dev/sdl1'...
Jul 26 12:51:49 Tower unassigned.devices: Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sdl1' '/mnt/disks/ST500DM002-1BD142_Z6E6JHFC'
Jul 26 12:51:49 Tower kernel: XFS (sdl1): Filesystem has duplicate UUID af97fc56-3528-4125-b30b-215ec979551b - can't mount

Jul 26 12:51:49 Tower unassigned.devices: Mount of '/dev/sdl1' failed. Error message: mount: /mnt/disks/ST500DM002-1BD142_Z6E6JHFC: wrong fs type, bad option, bad superblock on /dev/sdl1, missing codepage or helper program, or other error.

 

I'm guessing it's the duplicate UUID?

Can I clear that and see the files that were on it?

If so, how do I clear it safely?

 

I just need to copy the files off the old disk to the array.

Edited by tcshavasu
Link to post
5 minutes ago, tcshavasu said:

Log states:

Jul 26 12:51:49 Tower unassigned.devices: Adding disk '/dev/sdl1'...
Jul 26 12:51:49 Tower unassigned.devices: Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sdl1' '/mnt/disks/ST500DM002-1BD142_Z6E6JHFC'
Jul 26 12:51:49 Tower kernel: XFS (sdl1): Filesystem has duplicate UUID af97fc56-3528-4125-b30b-215ec979551b - can't mount

Jul 26 12:51:49 Tower unassigned.devices: Mount of '/dev/sdl1' failed. Error message: mount: /mnt/disks/ST500DM002-1BD142_Z6E6JHFC: wrong fs type, bad option, bad superblock on /dev/sdl1, missing codepage or helper program, or other error.

 

I'm guessing it's the duplicate UUID?

Can I clear that and see the files that were on it?

If so, how do I clear it safely?

 

I just need to copy the files off the old disk to the array.

Clck on the '+' and then click on the check mark and see if there are disk errors.  If there are, click on the run with the correct flag button.

Link to post

I’m having the same issue,

Jul 27 09:46:19 Tower unassigned.devices: Adding disk '/dev/sdl1'...
Jul 27 09:46:19 Tower unassigned.devices: Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sdl1' '/mnt/disks/ST9500325AS_6VE5Z84R'
Jul 27 09:46:19 Tower kernel: XFS (sdl1): Filesystem has duplicate UUID 20345907-1be5-47e5-9722-00ca8c644885 - can't mount
Jul 27 09:46:20 Tower unassigned.devices: Mount of '/dev/sdl1' failed. Error message: mount: /mnt/disks/ST9500325AS_6VE5Z84R: wrong fs type, bad option, bad superblock on /dev/sdl1, missing codepage or helper program, or other error.
Jul 27 09:46:20 Tower unassigned.devices: Partition 'ST9500325AS_6VE5Z84R' could not be mounted.
Jul 27 09:47:36 Tower unassigned.devices: Changing disk '/dev/sdl1' UUID. Result: ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_admin. If you are unable to mount the filesystem, then use the xfs_repair -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption -- please attempt a mount of the filesystem before doing this.

drive was working perfectly before. no idea what to do next. could anyone offer their help, please?

 

edit: ran xfs_repair -L then xfs_admin -U generate and all is good.

Edited by iilied
solved
Link to post

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.