Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Tedstonegenious

How to move a array to a new drive

Recommended Posts

Posted · Original PosterOP

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 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 post
Share on other sites
Posted · Original PosterOP

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 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 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: Ryzen 7 2700x | Aorus X470 Gaming Ultra | EVGA RTX2080 Super | 32GB (4x8GB) Corsair Vengeance RGB Pro 3200Mhz | Corsair H105 AIO, NZXT Sentry 3 | Corsair SP120's | 1TB Crucial P1 NVMe, 4TB WD Black | Phanteks Enthoo Pro | Corsair RM650v2 PSU | LG 32" 32GK850G Monitor | Ducky Shine 3 Keyboard, Logitech G502, MicroLab Solo 7C Speakers, Razer Goliathus Extended, X360 Controller | Windows 10 Pro | SteelSeries Siberia 350 Headphones

 

Spoiler

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

 

Server 2: Corsair 400R | IcyDock MB998SP & MB455SPF | Seasonic Focus Plus 650w PSU | 2 x Xeon X5650's | 48GB DDR3-ECC | Asus Z8NA-D6C Motherboard | AOC-SAS2LP-MV8 | LSI MegaRAID 9271-8i | RES2SV240 SAS Expander | Samsung 840Evo 120GB | 5 x 8TB Seagate Archives | 10 x 3TB WD Red

 

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 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: Ryzen 7 2700x | Aorus X470 Gaming Ultra | EVGA RTX2080 Super | 32GB (4x8GB) Corsair Vengeance RGB Pro 3200Mhz | Corsair H105 AIO, NZXT Sentry 3 | Corsair SP120's | 1TB Crucial P1 NVMe, 4TB WD Black | Phanteks Enthoo Pro | Corsair RM650v2 PSU | LG 32" 32GK850G Monitor | Ducky Shine 3 Keyboard, Logitech G502, MicroLab Solo 7C Speakers, Razer Goliathus Extended, X360 Controller | Windows 10 Pro | SteelSeries Siberia 350 Headphones

 

Spoiler

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

 

Server 2: Corsair 400R | IcyDock MB998SP & MB455SPF | Seasonic Focus Plus 650w PSU | 2 x Xeon X5650's | 48GB DDR3-ECC | Asus Z8NA-D6C Motherboard | AOC-SAS2LP-MV8 | LSI MegaRAID 9271-8i | RES2SV240 SAS Expander | Samsung 840Evo 120GB | 5 x 8TB Seagate Archives | 10 x 3TB WD Red

 

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 post
Share on other sites
Posted · Original PosterOP

 

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 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: Ryzen 7 2700x | Aorus X470 Gaming Ultra | EVGA RTX2080 Super | 32GB (4x8GB) Corsair Vengeance RGB Pro 3200Mhz | Corsair H105 AIO, NZXT Sentry 3 | Corsair SP120's | 1TB Crucial P1 NVMe, 4TB WD Black | Phanteks Enthoo Pro | Corsair RM650v2 PSU | LG 32" 32GK850G Monitor | Ducky Shine 3 Keyboard, Logitech G502, MicroLab Solo 7C Speakers, Razer Goliathus Extended, X360 Controller | Windows 10 Pro | SteelSeries Siberia 350 Headphones

 

Spoiler

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

 

Server 2: Corsair 400R | IcyDock MB998SP & MB455SPF | Seasonic Focus Plus 650w PSU | 2 x Xeon X5650's | 48GB DDR3-ECC | Asus Z8NA-D6C Motherboard | AOC-SAS2LP-MV8 | LSI MegaRAID 9271-8i | RES2SV240 SAS Expander | Samsung 840Evo 120GB | 5 x 8TB Seagate Archives | 10 x 3TB WD Red

 

Link to post
Share on other sites
Posted · Original PosterOP
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 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: Ryzen 7 2700x | Aorus X470 Gaming Ultra | EVGA RTX2080 Super | 32GB (4x8GB) Corsair Vengeance RGB Pro 3200Mhz | Corsair H105 AIO, NZXT Sentry 3 | Corsair SP120's | 1TB Crucial P1 NVMe, 4TB WD Black | Phanteks Enthoo Pro | Corsair RM650v2 PSU | LG 32" 32GK850G Monitor | Ducky Shine 3 Keyboard, Logitech G502, MicroLab Solo 7C Speakers, Razer Goliathus Extended, X360 Controller | Windows 10 Pro | SteelSeries Siberia 350 Headphones

 

Spoiler

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

 

Server 2: Corsair 400R | IcyDock MB998SP & MB455SPF | Seasonic Focus Plus 650w PSU | 2 x Xeon X5650's | 48GB DDR3-ECC | Asus Z8NA-D6C Motherboard | AOC-SAS2LP-MV8 | LSI MegaRAID 9271-8i | RES2SV240 SAS Expander | Samsung 840Evo 120GB | 5 x 8TB Seagate Archives | 10 x 3TB WD Red

 

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


×