Jump to content

How to move a array to a new drive

I am planning on replacing the raidcard in my Unraid server with a proper HBA. (LSI IBM SAS 9200-8i IT Mode) but, in case I accidentally break the array doing so, I want to move all the files to a drive on my computer while I'm upgrading. how would I go about this. They are sas drives, so I can't just plop it into my computer and image it. 

Link to comment
Share on other sites

Link to post
Share on other sites

You don't have to: it's about the data on them. Copy everything to a separate (external?) drive (make sure it's big enough!) then replace the card and re-purpose the array. Mind, you couldn't copy/image the raid-drives anyway, due to the way the raid-card stores data on the disks. This also means you'd have to build a new RAID with the OS in charge instead of the (missing) raid-card. This essentially wipes the re-used drives from the array. Copy your data back and you're done.

"You don't need eyes to see, you need vision"

 

(Faithless, 'Reverence' from the 1996 Reverence album)

Link to comment
Share on other sites

Link to post
Share on other sites

Some of my parent's work files are on the drive. So there is some shares that I don't have access towards (intentional, their companies policy) Would I have to get temporary permission?

Link to comment
Share on other sites

Link to post
Share on other sites

You should notify them (preferably in writing!) that they need to secure their data off the device as you're going to upgrade it and the process will destroy their data. It's then their responsibility these files are saved before you commence the upgrade. Give them a reasonable time-frame, like a week or perhaps 2, but emphasize the upgrade cannot be delayed.

"You don't need eyes to see, you need vision"

 

(Faithless, 'Reverence' from the 1996 Reverence album)

Link to comment
Share on other sites

Link to post
Share on other sites

create a 'root' share to /mnt/user and just mount the whole thing, then you can copy all the shares

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

8 hours ago, Dutch_Master said:

Mind, you couldn't copy/image the raid-drives anyway, due to the way the raid-card stores data on the disks. This also means you'd have to build a new RAID with the OS in charge instead of the (missing) raid-card. 

 

Depends.

 

Most HBA and hardware RAID controllers these days adhere to the Common RAID Disk Data Format (DDF). Obviously back up the data first if not already, but assuming that's all done, it should be a simple matter of replacing the RAID controller for another and import the existing volume as a foreign RAID container. Pretty easy actually.

 
Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, StDragon said:

 

Depends.

 

Most HBA and hardware RAID controllers these days adhere to the Common RAID Disk Data Format (DDF). Obviously back up the data first if not already, but assuming that's all done, it should be a simple matter of replacing the RAID controller for another and import the existing volume as a foreign RAID container. Pretty easy actually.

 

 

It's not hardware RAID its UnRAID, which by default I believe uses the mounted device names (e.g /dev/sdaX) rather than the UUID for mounting into the UnRAID array. 

OP is best to note down (take a screenshot) of which drive is which (Disk position & Serial number) so they can all be added back to the array in the proper placement in UnRAID..they may have a different device name (sda sdb sdc etc...) when mounted on the HBA. 

 

As far as HBA IT mode (JBOD), theres no configuration to import, that's just for RAID. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, Jarsky said:

 

It's not hardware RAID its UnRAID, which by default I believe uses the mounted device names (e.g /dev/sdaX) rather than the UUID for mounting into the UnRAID array. 

OP is best to note down (take a screenshot) of which drive is which (Disk position & Serial number) so they can all be added back to the array in the proper placement in UnRAID..they may have a different device name (sda sdb sdc etc...) when mounted on the HBA. 

 

As far as HBA IT mode (JBOD), theres no configuration to import, that's just for RAID. 

Ahh ok, yes you are correct then. OP mentioned a RAID card. But effectively it's just an HBA with the disks in JBOD mode whereas the actual RAID array is in software if I'm understanding you correctly.

 

Thanks for clarifying. 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

 

On 4/5/2020 at 1:39 PM, StDragon said:

Ahh ok, yes you are correct then. OP mentioned a RAID card. But effectively it's just an HBA with the disks in JBOD mode whereas the actual RAID array is in software if I'm understanding you correctly.

 

Thanks for clarifying. 

 

 

Actually, the railcard is handling the array. It is a simple raid 1. And I want to get rid of it in favor of a HBA so I can get proper drive reporting. 

On 4/4/2020 at 2:49 PM, Jarsky said:

create a 'root' share to /mnt/user and just mount the whole thing, then you can copy all the shares

How can I create a root share? There is a tutorial from spaceINvador1, but it seems to be for a old version of unraid and I can't see the config file he's editing. 

Link to comment
Share on other sites

Link to post
Share on other sites

29 minutes ago, Tedstonegenious said:

Actually, the railcard is handling the array. It is a simple raid 1. And I want to get rid of it in favor of a HBA so I can get proper drive reporting. 

In that case you need to destroy the array and recreate it, so you must copy all your data off the drives. It's not simple unplug/replug. 

 If you're using UnRAIDs array feature then you need to pre-clear the disks as well.

 

A popular choice is also to add just a single disk to the UnRAID array to initialize UnRAID, installs the ZFS plugin/utils from Community Apps, and then create a ZFS array in the terminal shell with all your storage drives...this does mean sacrificing some sort of disk though.  

 

 

Quote

How can I create a root share? There is a tutorial from spaceINvador1, but it seems to be for a old version of unraid and I can't see the config file he's editing. 

 

You just go into Settings > SMB and use the SMB Extra's to define your root share config. Something like this, would allow all users read-only access to \\tower\root which would contain all your shares  (/mnt/user is where all shares minus the cache are mounted  /mnt/user0 is including the cache)

 

[root]
    comment = Root Share
    path = /mnt/user/
    browsable = yes
    public = yes
    writeable = no
    vfs objects =

 

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, Jarsky said:

 


[root]
    comment = Root Share
    path = /mnt/user/
    browsable = yes
    public = yes
    writeable = no
    vfs objects =

So I copy and paste this into this thing

 

 

 

Annotation 2020-04-06 151105.png

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Tedstonegenious said:

 

Annotation 2020-04-06 151105.png

 

Yes, you'll need to stop the array first, copy/paste the config, and start the array back up. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Nevermind, I forgot I created a share named root the generic way and that was what it was showing

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×