Boot-pool - error in scrub

Status
Not open for further replies.

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
Hi,
what can I do now, What should I do now?
Code:
Checking status of zfs pools:
NAME		   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG	CAP  DEDUP  HEALTH  ALTROOT
freenas-boot  14.4G  3.43G  10.9G		-		 -	  -	23%  1.00x  ONLINE  -
vol1			29T  10.2T  18.8T		-		 -	 4%	35%  1.00x  ONLINE  /mnt

  pool: freenas-boot
 state: ONLINE
status: One or more devices has experienced an error resulting in data
		corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
		entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 0 in 0 days 00:09:36 with 1 errors on Thu Oct 11 03:54:36 2018
config:

		NAME		STATE	 READ WRITE CKSUM
		freenas-boot  ONLINE	   0	 0	 1
		  da4p2	 ONLINE	   0	 0	 2

errors: 1 data errors, use '-v' for a list

-- End of daily output --

Boot is located on one usb drive, the server is about 3 months old.
 

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
You can start with identifying the file
to learn if your problems are typical or not...

Sent from my mobile phone
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Download your config file, do a clean install to a new device, upload your config. If you want it to last longer, install to a small-ish SSD rather than another USB stick.
 

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
i have two possible drives: intel s4500 - 480gb or samsung evo850 256 - which one would be better? Intel wouldn't be to expensive for this purpose?
or some old classic HDD which already exchanged to ssd
 
Last edited:

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
Both the SSDs are big as for the boot drive unless you plan heavy writes there. Heavy writes mean wear leveling might use some of the sectors not used by data.

Heavy use of boot drive may occur when system dataset is there. System dataset is on the boot drive when all data pools are encrypted. Correct me if I am wrong.

I am not educated with HDDs for boot drives. At least one uses them but can't recall who and if mirrored.

Sent from my mobile phone
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
I also use small HDDs for boot pools occasionally - way faster than USB and they're dirt cheap (free, if you just upgraded a bunch of laptops to SSDs!) but mirrors for reliability is encouraged if you're repurposing old hardware.

If you use a non-USB device for boot, you can also relocate swap to your boot drive using this resource:

https://forums.freenas.org/index.php?resources/how-to-relocate-swap-to-the-boot-drive.69/

Although with 11.1 using mirrored swap by default, there's less reason to do so.
 

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
I've just bought samsung evo 860 250 - the smallest one in local computer shop.
Is it safe to safe config file, reinstall system on new ssd and import old configuration?
Mirroring system drive is not possible for me at this point - all possible sata ports are occupied.
6 on MB and 4 on external controller
 

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
Is it safe to safe config file, reinstall system on new ssd and import old configuration?
I'd trust this:
Download your config file, do a clean install to a new device, upload your config.

If you want a paranoid-style approach you can check what files are damaged to make sure they were not files storing the config. But this is rather a guess...

Sent from my mobile phone
 

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
after the whole operation I have issue with pools
upload_2018-10-13_19-53-29.png


there is new drive called ada1: S3YJNF0JC73420J
Previously I had only ada to 4, but now there is ada to 5
upload_2018-10-13_19-54-46.png


is there any way to fix it?
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
What do you want to fix? That's your (new) boot drive.
 

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
I know that this is new drive for boot, but how to fix pool vol1?
How to rearange the id for disks?
 

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
How to rearange the id for disks?
What for? EDIT: I doubt it would help...

Usually these names may change and one should not rely on them.

Pools are usually built using gptids and it's done somewhat automatically...

So some other way of fixing is needed...

Sent from my mobile phone
 

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
Now I have no access to my data vol1 is not accessible
 

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
I doubt rearranging would help. Some other way should be checked first. Maybe someone more experienced will chime in...

Sent from my mobile phone
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
Update: you can start with posting results of zpool status command in code tags.

Sent from my mobile phone
 

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
upload_2018-10-13_20-57-0.png
 

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
You can't - that naming is assigned by the system.
is it possible to add disks to pool once more and to not lost data in the disks/pool? I do not know how to call this operation - reindex/restart the pool?
Reseting cables on the mainboard can help?
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
is it possible to add disks to pool once more and to not lost data in the disks/pool?
Yes, under certain circumstances. The manual will tell you more.

As to your problem importing the pool, it seems strange. What's the output of zpool import?
 
Status
Not open for further replies.
Top