It is currently Sun Nov 01, 2020 3:34 am
All times are UTC + 8 hours

Preserving data on a ext4 HDD

Preserving data on a ext4 HDD

Postby ivan » Wed May 13, 2020 4:41 am

Hi,

I have an AS5202T and like to add an ext4 formatted HDD with about 4TB of data without wiping it.
How can this be done?
I have a backup but don't want to unnecessarily shuffle all that data around again.
Thank you.

Kind regards
ivan
 
Posts: 3
Joined: Wed May 13, 2020 4:06 am

Re: Preserving data on a ext4 HDD

Postby orion » Wed May 13, 2020 10:10 am

2 options:
  • Put this disk to an USB external box, then connect to NAS.
  • Put this disk to an internal bay. You can use "mount" command manually (by means of ssh) to mount your data. No ADM UI available.
User avatar
orion
 
Posts: 2760
Joined: Wed May 29, 2013 11:09 am

Re: Preserving data on a ext4 HDD

Postby ivan » Thu May 21, 2020 9:52 pm

Thanks for your reply.

Actually I tried to mount it via ssh before but failed to do so.
Now I found out why that was the case: the HDD was somehow configured as RAID.
I have no clue why though as the HDD was setup with the NAS and I most certainly chose JBOD (the other drive is a 480 GB SSD...).
Then I reset the NAS because I couldn't access it with ssh anymore.

After running `mdadm --assemble --run /dev/md2 /dev/sdb4` I could finally mount it.

But I still can't manage it with the web-GUI.
How can I do that?
ivan
 
Posts: 3
Joined: Wed May 13, 2020 4:06 am

Re: Preserving data on a ext4 HDD

Postby orion » Fri May 22, 2020 10:07 am

OK, your disk is actually the one that configured by ADM. ADM configure disk as RAID, no matter it's single, JBOD...

No, you cannot manage it within ADM UI (because you did it by yourself, rather than ADM).
User avatar
orion
 
Posts: 2760
Joined: Wed May 29, 2013 11:09 am

Re: Preserving data on a ext4 HDD

Postby ivan » Fri May 22, 2020 2:58 pm

Well, thanks anyway.
ivan
 
Posts: 3
Joined: Wed May 13, 2020 4:06 am

Re: Preserving data on a ext4 HDD

Postby CygnusBlack » Sat Sep 19, 2020 10:13 pm

Hi :)

With the --assemble option I get a "/dev/sdb has no superblock - assembly aborted" error.
Also, the 10TB HD is detected as a 1.2TB volume... :cry:
There's nothing physically wrong with the twin drives either.

I guess this is going to be more difficult than I could have imagined.

Edit: mhhh...I'm starting to wonder if the problem is coming from the USB dock station I'm using. I'll try with another one later.
CygnusBlack
 
Posts: 12
Joined: Tue Jul 17, 2018 2:47 am

Re: Preserving data on a ext4 HDD

Postby ilike2burnthing » Sat Sep 19, 2020 11:28 pm

Try adding --force --verbose to --assemble and see what the output is (or if it's successful)
ilike2burnthing
 
Posts: 107
Joined: Thu Apr 09, 2020 8:01 pm

Re: Preserving data on a ext4 HDD

Postby orion » Mon Sep 21, 2020 10:16 am

CygnusBlack wrote:Hi :)

With the --assemble option I get a "/dev/sdb has no superblock - assembly aborted" error.
Also, the 10TB HD is detected as a 1.2TB volume... :cry:
There's nothing physically wrong with the twin drives either.

I guess this is going to be more difficult than I could have imagined.

Edit: mhhh...I'm starting to wonder if the problem is coming from the USB dock station I'm using. I'll try with another one later.

Your command syntax should be wrong. Normally it should be /dev/sdb4 if your disk is the original one on NAS internal bay.
User avatar
orion
 
Posts: 2760
Joined: Wed May 29, 2013 11:09 am

Return to [Official] For AS52xx/53xx/66xx Series

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest