procedure to replace a drive on NSA320
bbacher
Posts: 6 Freshman Member
My NSA320 has a 1TB and a 3TB drive, set up in JBOD configuration. The 3TB drive is consistently throwing a red light after a few days. I can turn the unit off/on and then it shows green, but a few days later it's red again.
I have bought a 4TB disk to replace the 3TB. What's the right procedure to avoid losing data?
I thought maybe I could use ddrescue to copy the 3TB to the 4TB, then just stick the 4TB in the box.... Will that work?
#NAS_Sep
I have bought a 4TB disk to replace the 3TB. What's the right procedure to avoid losing data?
I thought maybe I could use ddrescue to copy the 3TB to the 4TB, then just stick the 4TB in the box.... Will that work?
#NAS_Sep
0
Accepted Solution
-
You basically have 2 choices. Do a binary copy like ddrescue, and enlarge the partition, raid container and filesystem, or create a new volume on the new disk, and then copy over the content.
I'd prefer the latter choice.
0
All Replies
-
Will that work?
Yes. But the volume will be only 3TB
0 -
Oh, I see...Is there a way to simply get the files off the old drive onto the new one, then put the new one into the JBOD config? IE - to get the full 4TB capacity0
-
You basically have 2 choices. Do a binary copy like ddrescue, and enlarge the partition, raid container and filesystem, or create a new volume on the new disk, and then copy over the content.
I'd prefer the latter choice.
0 -
OK, I wasn't sure I would have access to the files directly. I don't know what kind of file structure the JBOD config imposes on the disk.
0 -
To be clear, with JBOD you mean you have 2 volumes, one for each disk?
0 -
No... the device gave me the option to set up RAID or JBOD (Just a Bunch of Disk). I couldn't do RAID because the drives I had were different sizes. I don't think they'd be considered 2 separate volumes.0
-
I just read this on another forum for another NAS device:"JBOD cannot be converted to anything else nor can it be expanded nor can the drives be replaced. You need to backup your data, rebuild the NAS from scratch, and restore your data."
0 -
"JBOD cannot be converted to anything else nor can it be expanded nor can the drives be replaced. You need to backup your data, rebuild the NAS from scratch, and restore your data."
Well, yes, that's the theory. But if your 3TB disk happens to be the last one in the array, it should be possible to enlarge the array.
In that case you should create a binary copy of the 2nd raidmember. Use a partition tool to grow the data partition. Let the NAS assemble the array. Grow it (there is room, as there is unused partition space behind the array), and finally resize the filesystem.
Of course you shouldn't try this if your data is indispensable, but in that case you shouldn't use a linear array anyway.
To see if the 3TB disk is the 2nd member, you should login over telnet/ssh (Telnet backdoor) and execute
cat /proc/partitions<br>cat /proc/mdstat<br>
The first line will give the device names of the partitions, and the 2nd one how they are used in the array.1 -
Thanks, I'll give it a shot. I know more about this now than I did a few days ago. Knowing what I do now, I can see that I made some problematic choices early on.
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight