DigitalDivide Posted November 23, 2017 Share Posted November 23, 2017 I'm replacing a 2TB drive with a 4TB drive and would like to keep the 2TB drive in my system as an unassigned drive. I will be copying the data from the 2TB drive to the 4 and would then like to format the 2TB drive...I think.... I'm just wondering if I need to format the drive with a diff file format or do I just delete all the data off of it once copied and it will be read fine as is as? I'll be saving temp video files on the drive which will be access via my nvidia shield. Quote Link to comment
JorgeB Posted November 23, 2017 Share Posted November 23, 2017 3 minutes ago, DigitalDivide said: I'm just wondering if I need to format the drive with a diff file format or do I just delete all the data off of it once copied and it will be read fine as is as? If it's xfs or btrfs you need to re-format to get a different UUDI, a duplicate UUID won't mount with xfs and you'll get weird results with btrfs. If it's reiser it's not a problem but no one should still be on reiser. Quote Link to comment
DigitalDivide Posted November 23, 2017 Author Share Posted November 23, 2017 it's xfs. Can I reformat it within the server console when I assign it as an unassigned device? Quote Link to comment
JorgeB Posted November 23, 2017 Share Posted November 23, 2017 You can use the UD plugin to destroy the current partition and re-format xfs. 1 Quote Link to comment
DigitalDivide Posted November 23, 2017 Author Share Posted November 23, 2017 How do I install that? Just go to Plugins and enter in that name where it indicates "Enter URL of remote plugin file or local plugin file" ? Then just click install? Quote Link to comment
JorgeB Posted November 23, 2017 Share Posted November 23, 2017 https://forums.lime-technology.com/topic/44104-unassigned-devices-managing-disk-drives-outside-of-the-unraid-array/ Read the instructions and help, you'll need to enable destructive mode to be able to format a disk. Quote Link to comment
DigitalDivide Posted November 23, 2017 Author Share Posted November 23, 2017 oh wait, by ud plugin you mean the unassigned devices plugin. I already have that installed. Didn't realize what you were referring to at first. Quote Link to comment
JorgeB Posted November 23, 2017 Share Posted November 23, 2017 oh wait, by ud plugin you mean the unassigned devices plugin Yep. I forgot to mention that if you prefer you can also easily change the UUID on a xfs disk, once the disk is unassigned and before mounting type: xfs_admin -U generate /dev/sdX1 Replace X with correct identifier. Quote Link to comment
DigitalDivide Posted November 23, 2017 Author Share Posted November 23, 2017 Oh, that's a good idea. Much prefer that. I assume I do that at the server prompt right? Quote Link to comment
DigitalDivide Posted November 23, 2017 Author Share Posted November 23, 2017 While I'm at it might as well ask one more question. I noticed my cache drive has a pending sector. Any way to clear that? 197 Current pending sector 0x0032 200 200 000 Old age Always Never 1 Quote Link to comment
JorgeB Posted November 23, 2017 Share Posted November 23, 2017 Preclearing might do it, you'll need to backup first and if it works keep monitoring for new pending sectors, if more appear soon best to replace. Quote Link to comment
DigitalDivide Posted November 24, 2017 Author Share Posted November 24, 2017 I don't know why but I always get nervous when replacing a disk. I'm in the middle of the process and booted up and assigned my new disk as disk 1 which it's replacing. Below it is says "wrong". Correct me if I'm...wrong but at this point I just click Start for below right? Start will start Parity-Sync and/or Data-Rebuild. Yes I want to do this Quote Link to comment
trurl Posted November 24, 2017 Share Posted November 24, 2017 There is one thing in your OP that concerns me. 3 hours ago, DigitalDivide said: I will be copying the data from the 2TB drive to the 4 What do you mean you will be copying the data? Aren't you rebuilding? There is no copy needed. Quote Link to comment
JorgeB Posted November 24, 2017 Share Posted November 24, 2017 Below it is says "wrong". Correct me if I'm...wrong but at this point I just click Start for below right? Yes, that's the correct procedure for replacing/upgrading a disk. What do you mean you will be copying the data? Aren't you rebuilding? I'm assuming he means rebuilding, not copying. Quote Link to comment
DigitalDivide Posted November 24, 2017 Author Share Posted November 24, 2017 What I meant and did do was after replacing the 2TB drive (disk 1) with a 4TB I ran a rebuild. Now, I have another 2TB drive (disk 5)that I will be copying it's contents to the new 4TB drive. After that is done, I want to remove Disk 5 from the array and use it as an assigned device. If I'm correct I believe once I unassign the drive (disk 5) from the array, at that point I then need to run a parity check. Is that correct? Quote Link to comment
JorgeB Posted November 24, 2017 Share Posted November 24, 2017 10 minutes ago, DigitalDivide said: If I'm correct I believe once I unassign the drive (disk 5) from the array, at that point I then need to run a parity check You need to run a parity sync, after doing a new config. Quote Link to comment
DigitalDivide Posted November 24, 2017 Author Share Posted November 24, 2017 (edited) Ok, need just a bit more help...thanks btw for all the help so far. I unassigned the drive, before starting up do I go to Tools, New Config and create a new one, then do the parity sync? Oh, one other question. Can I plug a usb drive into the back of my unraid server's usb and use it as an unassigned drive? Edited November 24, 2017 by DigitalDivide Quote Link to comment
JorgeB Posted November 24, 2017 Share Posted November 24, 2017 17 minutes ago, DigitalDivide said: I unassigned the drive, before starting up do I go to Tools, New Config and create a new one, then do the parity sync? Yes, Tools -> New Config -> Retain current configuration: All -> Apply Go back to main, all disks except the one you unassigned should be correctly assigned, if yes start the array to begin the parity sync. 19 minutes ago, DigitalDivide said: Oh, one other question. Can I plug a usb drive into the back of my unraid server's usb and use it as an unassigned drive? You can, but using USB disks is not recommended and should be avoided whenever possible, even as unassigned devices. Quote Link to comment
DigitalDivide Posted November 25, 2017 Author Share Posted November 25, 2017 ok thanks Quote Link to comment
DigitalDivide Posted November 25, 2017 Author Share Posted November 25, 2017 (edited) I started a preclear on my cache drive to see if it fixes the pending sector. I checked the skip preread and postread...but after 15min, the below is all I see...I can't tell if it's actually doing anything...although the disk is now no longer green under Unassigned Devices...which it was before I clicked preclear /usr/local/emhttp/plugins/preclear.disk/script/preclear_disk.sh --cycles 1 --skip-preread --skip-postread --no-prompt Edited November 25, 2017 by DigitalDivide 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.