This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Save my data!!Please

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
xiaoy
NewUser
NewUser
Posts: 8
Joined: 14 Dec 2013 11:31
Status: Offline

Save my data!!Please

Post by xiaoy »

I am Chinese, Not good in ENGlish , There are six 3Tb-Hard diskes in my NAS4FREE , RAID-Z, NAS4FREE automatic reboot in 15 seconds,
a.JPG
when I use "Import on-disk ZFS config" command in a new Nas4free system ,It will be reboot in 15 seconds.
b.JPG
How can I recovery my data, It's very important!
c.jpg
You do not have the required permissions to view the files attached to this post.

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Save my data!!Please

Post by chrisf4lc0n »

Normally with at least one GPT working you should be able to use the drives... Unfortunately if both GPT failed there is not much you could do to save your data, as you will need to destroy the GPT and create a new one.
Here is the guide:
viewtopic.php?f=66&t=3977&p=20868&hilit=GPT#p20868
Watercooling is just the beginning ;)

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Save my data!!Please

Post by chrisf4lc0n »

You could run:

Code: Select all

gpart recover -f ada*
Watercooling is just the beginning ;)

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Save my data!!Please

Post by b0ssman »

i thought zfs does not need partitions.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

xiaoy
NewUser
NewUser
Posts: 8
Joined: 14 Dec 2013 11:31
Status: Offline

Re: Save my data!!Please

Post by xiaoy »

Image
are there any otherways?

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Save my data!!Please

Post by b0ssman »

Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

xiaoy
NewUser
NewUser
Posts: 8
Joined: 14 Dec 2013 11:31
Status: Offline

Re: Save my data!!Please

Post by xiaoy »

b0ssman wrote:have you tried this
http://nexentastor.org/boards/2/topics/3506
I read it, but I still do not know how to do, I need more detailed steps, I almost do not know linux. :oops:

How can I enter the command line, and under what circumstances to use these commands
I

xiaoy
NewUser
NewUser
Posts: 8
Joined: 14 Dec 2013 11:31
Status: Offline

Re: Save my data!!Please

Post by xiaoy »

chrisf4lc0n wrote:You could run:

Code: Select all

gpart recover -f ada*
Thank you for your reply, such an order is entered by what the environment, there is no way to recover the data, only to re-establish a new data pool it? Any one of these diskes did not physically damaged , how it go wrong, what a pity.

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Save my data!!Please

Post by chrisf4lc0n »

In the terminal type in:
gpart recover -f ada1
then ada2 and on it may help...
Watercooling is just the beginning ;)

xiaoy
NewUser
NewUser
Posts: 8
Joined: 14 Dec 2013 11:31
Status: Offline

Re: Save my data!!Please

Post by xiaoy »

chrisf4lc0n wrote:In the terminal type in:
gpart recover -f ada1
then ada2 and on it may help...
thank you ,but……
未命名.jpg
You do not have the required permissions to view the files attached to this post.

xiaoy
NewUser
NewUser
Posts: 8
Joined: 14 Dec 2013 11:31
Status: Offline

Re: Save my data!!Please

Post by xiaoy »

未命名.JPG
未命名.JPG
You do not have the required permissions to view the files attached to this post.

xiaoy
NewUser
NewUser
Posts: 8
Joined: 14 Dec 2013 11:31
Status: Offline

Re: Save my data!!Please

Post by xiaoy »

未命名.JPG
You do not have the required permissions to view the files attached to this post.

User avatar
lux
Advanced User
Advanced User
Posts: 193
Joined: 23 Jun 2012 11:37
Location: Bielefeld, Germany
Contact:
Status: Offline

Re: Save my data!!Please

Post by lux »

few years ago i have similar error
try to disengage first HDD - then boot & import pool
if not work try to disengage next HDD - boot & import
& so on

work for me, because one of my HDD are faulty & disallow import my pool...

good luck!
Home:11.3.x.7538/emb@32GB USB|1270v2@X9SCA-F|ECC32GB|i340-T4[lagg@GS108Tv2&smb-mch]|M1015@IT|9HDD~40TB@3xRaidZ1+1HDD+2SSD i335&i520+1xi800P@ZIL|~44W idle@SS-400FL2|Nanoxia Deep Silence 6B|24/7
Services: CIFS, FTP, TFTP, SSH, NFS, Rsync, Syncthing, Webserver, BitTorrent, VirtualBox | Extensions: OBI, TheBrig[certbot, Asterisk] | Extensions via vBox: Pi-hole, Jellyfin & zigbee2mqtt @DebianVM's
Test:12.x/emb@16GB USB|X3 420e@M4A88TD-V|16GB|i350-T2|M1015@IT|8xHDD+3xSSD[different Size&Brand]RaidZ1+2|for TESTing only

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Save my data!!Please

Post by chrisf4lc0n »

Try the above solution, as I give up, cannot think of anything else, sorry :(
Watercooling is just the beginning ;)

xiaoy
NewUser
NewUser
Posts: 8
Joined: 14 Dec 2013 11:31
Status: Offline

Re: Save my data!!Please

Post by xiaoy »

lux wrote:few years ago i have similar error
try to disengage first HDD - then boot & import pool
if not work try to disengage next HDD - boot & import
& so on

work for me, because one of my HDD are faulty & disallow import my pool...

good luck!
Thank you ,I tried it ,but it's not ok
I give up , ZFS problems more serious than NTFS,all the data was losed

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Save my data!!Please

Post by chrisf4lc0n »

Sorry to hear that my friend, in general ZFS is very reliable, but unfortunately like everything it can go wrong :(
That is why it is so important to have another layer of redundancy in place, like a backup etc...
Watercooling is just the beginning ;)

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: Save my data!!Please

Post by substr »

The proper GPT recover would be without the -f, I think.

But why do you have GPT labels on a ZFS drive? Is the GEOM/GPT grabbing the drives so that ZFS can't get hold of them?

Code: Select all

gpart recover ada0

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Save my data!!Please

Post by chrisf4lc0n »

substr wrote:The proper GPT recover would be without the -f, I think.

But why do you have GPT labels on a ZFS drive? Is the GEOM/GPT grabbing the drives so that ZFS can't get hold of them?
I think this always the case, I had a similar problem a while ago:

Code: Select all

May 28 10:21:58 nas4free kernel: GEOM: ada0: the primary GPT table is corrupt or invalid.
May 28 10:21:58 nas4free kernel: GEOM: ada0: using the secondary instead -- recovery strongly advised.
May 28 10:21:58 nas4free kernel: GEOM: ada1: the primary GPT table is corrupt or invalid.
May 28 10:21:58 nas4free kernel: GEOM: ada1: using the secondary instead -- recovery strongly advised.
May 28 10:21:58 nas4free kernel: GEOM: ada3: the primary GPT table is corrupt or invalid.
May 28 10:21:58 nas4free kernel: GEOM: ada3: using the secondary instead -- recovery strongly advised.
May 28 10:21:58 nas4free kernel: GEOM: ada4: the primary GPT table is corrupt or invalid.
May 28 10:21:58 nas4free kernel: GEOM: ada4: using the secondary instead -- recovery strongly advised.
The drives were readable, but slow in write:
Image

When I fixed that using this guide:
viewtopic.php?f=66&t=3977&p=20868#p20868


I ended up having much better performance:
Image
Watercooling is just the beginning ;)

Post Reply

Return to “ZFS (only!)”