Bad JBOD Controller Experience

Status
Not open for further replies.

Adam Tyler

Explorer
Joined
Oct 19, 2015
Messages
67
Or just do it from inside FreeNAS, which includes the sas2flash utility.

Success! upgraded from version 18 to 20.00.07.00.. Had to do a wget and then sas2flash using the CLI built into the FreeNAS GUI.
 

Adam Tyler

Explorer
Joined
Oct 19, 2015
Messages
67
Sadly, there doesn't appear to be away to do a mirrored slog from the GUI.

The command to type at the command prompt is this:

zpool add pool-name log mirror device-name device-name

The thing I would do is follow the instructions I gave to add one, then remove it, then add the other one and remove it. This will have formatted them and given them GPT names. Then when you add the mirror from the command prompt, you can reference the drives by their GPT name.


So I am ALMOST THERE..! Only issue I am having is finding the "GPT" name of each SSD I would like to include the SLOG mirror. As a test I ran your same command without using the GPT names and it seemed to work. For example:

zpool add "zPool01" log mirror ada0 ada1

Bad idea?
 

Adam Tyler

Explorer
Joined
Oct 19, 2015
Messages
67
Code:
Output from zpool status as it stands now..  I see that the gptid isn't used for the log mirror...  Hmm...


[root@freenas ~]# zpool status zPool01																							
  pool: zPool01																													
 state: ONLINE																													
  scan: none requested																											
config:																															
																																  
	   NAME											STATE	 READ WRITE CKSUM												
	   zPool01										 ONLINE	   0	 0	 0												
		 mirror-0									  ONLINE	   0	 0	 0												
		   gptid/9144804f-2d70-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0												
		   gptid/926ecc51-2d70-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0												
		 mirror-1									  ONLINE	   0	 0	 0												
		   gptid/3336bb1e-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0												
		   gptid/34124ad5-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0												
		 mirror-2									  ONLINE	   0	 0	 0												
		   gptid/6f4654c3-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0												
		   gptid/701c8b6f-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0												
		 mirror-3									  ONLINE	   0	 0	 0												
		   gptid/7adbb06f-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0												
		   gptid/7bbe348a-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0												
	   logs																														
		 mirror-4									  ONLINE	   0	 0	 0												
		   ada0										ONLINE	   0	 0	 0												
		   ada1										ONLINE	   0	 0	 0												
																																  
errors: No known data errors																										
[root@freenas ~]#
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Bad idea?
Not ideal. glabel status will give you the gptids. And please use code tags for blocks of text like zpool status output.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
zpool add "zPool01" log mirror ada0 ada1

Bad idea?
If you want it to use the GPT id, you have to specify them when you do the zpool add command.
 

Adam Tyler

Explorer
Joined
Oct 19, 2015
Messages
67
Not ideal. glabel status will give you the gptids. And please use code tags for blocks of text like zpool status output.

Hmm.. I assume ada1p1 and ada3p1 are the gptid's for ada0 and ada1?

Code:
[root@freenas ~]# glabel status																									 
									 Name  Status  Components																	 
gptid/8188c5b1-2d33-11e8-8021-003048b3d5b8	 N/A  ada2p1																		 
gptid/81914c5b-2d33-11e8-8021-003048b3d5b8	 N/A  ada3p1																		 
gptid/9144804f-2d70-11e8-8f45-003048b3d5b8	 N/A  da0p2																		   
gptid/926ecc51-2d70-11e8-8f45-003048b3d5b8	 N/A  da1p2																		   
gptid/3336bb1e-2d74-11e8-8f45-003048b3d5b8	 N/A  da3p2																		   
gptid/34124ad5-2d74-11e8-8f45-003048b3d5b8	 N/A  da2p2																		   
gptid/6f4654c3-2d74-11e8-8f45-003048b3d5b8	 N/A  da4p2																		   
gptid/701c8b6f-2d74-11e8-8f45-003048b3d5b8	 N/A  da5p2																		   
gptid/7adbb06f-2d74-11e8-8f45-003048b3d5b8	 N/A  da6p2																		   
gptid/7bbe348a-2d74-11e8-8f45-003048b3d5b8	 N/A  da7p2																		   
[root@freenas ~]#
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Hmm.. I assume ada1p1 and ada3p1 are the gptid's for ada0 and ada1?

Code:
[root@freenas ~]# glabel status																									
									 Name  Status  Components																	
gptid/8188c5b1-2d33-11e8-8021-003048b3d5b8	 N/A  ada2p1																		
gptid/81914c5b-2d33-11e8-8021-003048b3d5b8	 N/A  ada3p1																		
gptid/9144804f-2d70-11e8-8f45-003048b3d5b8	 N/A  da0p2																		  
gptid/926ecc51-2d70-11e8-8f45-003048b3d5b8	 N/A  da1p2																		  
gptid/3336bb1e-2d74-11e8-8f45-003048b3d5b8	 N/A  da3p2																		  
gptid/34124ad5-2d74-11e8-8f45-003048b3d5b8	 N/A  da2p2																		  
gptid/6f4654c3-2d74-11e8-8f45-003048b3d5b8	 N/A  da4p2																		  
gptid/701c8b6f-2d74-11e8-8f45-003048b3d5b8	 N/A  da5p2																		  
gptid/7adbb06f-2d74-11e8-8f45-003048b3d5b8	 N/A  da6p2																		  
gptid/7bbe348a-2d74-11e8-8f45-003048b3d5b8	 N/A  da7p2																		  
[root@freenas ~]#
No. What this means is that the drives are not GPT formatted.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
My log device is ada0p1 and it is in the list with all the rest:
Code:
root@Emily-NAS:~ # glabel status
									  Name  Status  Components
gptid/90d74abf-d18c-11e7-bdb7-002590aecc79	 N/A  da0p2
gptid/87a407df-d20b-11e7-bdb7-002590aecc79	 N/A  da1p2
gptid/2698b33e-d23a-11e7-bdb7-002590aecc79	 N/A  da2p2
gptid/78e8e147-d97d-11e7-b781-002590aecc79	 N/A  da3p2
gptid/78b8bf90-d9b1-11e7-b781-002590aecc79	 N/A  da4p2
gptid/1b9f316d-da26-11e7-b781-002590aecc79	 N/A  da5p2
gptid/ac988093-1c60-11e7-ae9a-002590a96034	 N/A  da6p2
gptid/a8c5731f-1c60-11e7-ae9a-002590a96034	 N/A  da7p2
gptid/5c9ac389-d262-11e7-bdb7-002590aecc79	 N/A  da8p2
gptid/9615c0df-d2e3-11e7-bdb7-002590aecc79	 N/A  da9p2
gptid/ee8fb387-d2ba-11e7-bdb7-002590aecc79	 N/A  da10p2
gptid/feeeb5ef-d307-11e7-bdb7-002590aecc79	 N/A  da11p2
gptid/55f074a3-cdb5-11e7-bdb7-002590aecc79	 N/A  da12p2
gptid/bbf7a1c8-73ee-11e7-81aa-002590aecc79	 N/A  da13p2
gptid/aa5c9c82-1c60-11e7-ae9a-002590a96034	 N/A  da14p2
gptid/a505f4bf-1c60-11e7-ae9a-002590a96034	 N/A  da15p2
gptid/a1ae863b-2a0a-11e8-bbf6-002590aecc79	 N/A  da16p2
gptid/a41c596b-2a0a-11e8-bbf6-002590aecc79	 N/A  da17p2
gptid/1ee68b6a-2a0b-11e8-bbf6-002590aecc79	 N/A  da18p1
gptid/229c431a-2a0b-11e8-bbf6-002590aecc79	 N/A  da19p1
gptid/25ec5bdf-2a0b-11e8-bbf6-002590aecc79	 N/A  da20p1
gptid/275c216f-2a0b-11e8-bbf6-002590aecc79	 N/A  da21p1
gptid/0243b38d-2a0b-11e8-bbf6-002590aecc79	 N/A  da24p1
gptid/05e0a0d6-2a0b-11e8-bbf6-002590aecc79	 N/A  da25p1
gptid/0ca57011-2a0b-11e8-bbf6-002590aecc79	 N/A  da26p1
gptid/0dce1e70-2a0b-11e8-bbf6-002590aecc79	 N/A  da27p1
gptid/11269a55-2a0b-11e8-bbf6-002590aecc79	 N/A  da28p1
gptid/1237afc0-2a0b-11e8-bbf6-002590aecc79	 N/A  da29p1
gptid/157f318a-2a0b-11e8-bbf6-002590aecc79	 N/A  da30p1
gptid/194a8867-2a0b-11e8-bbf6-002590aecc79	 N/A  da31p1
gptid/c423253b-2a0a-11e8-bbf6-002590aecc79	 N/A  ada0p1
gptid/f69330dd-4b12-11e6-a97c-002590aecc79	 N/A  ada1p1
gptid/f6a61d33-4b12-11e6-a97c-002590aecc79	 N/A  ada1p2
gptid/f648c607-4b12-11e6-a97c-002590aecc79	 N/A  ada2p1
gptid/f659fd6d-4b12-11e6-a97c-002590aecc79	 N/A  ada2p2
gptid/a9cd1b9f-2af2-11e8-8661-002590aecc79	 N/A  da22p2
gptid/ab1dbee6-2af2-11e8-8661-002590aecc79	 N/A  da23p2
gptid/aaf5a2f5-2af2-11e8-8661-002590aecc79	 N/A  da23p1
gptid/a9a132d1-2af2-11e8-8661-002590aecc79	 N/A  da22p1
gptid/95f26af0-d2e3-11e7-bdb7-002590aecc79	 N/A  da9p1
gptid/5c75545e-d262-11e7-bdb7-002590aecc79	 N/A  da8p1
gptid/1b7fc4bf-da26-11e7-b781-002590aecc79	 N/A  da5p1
gptid/78a1d5e0-d9b1-11e7-b781-002590aecc79	 N/A  da4p1
gptid/78d16930-d97d-11e7-b781-002590aecc79	 N/A  da3p1
gptid/266a3029-d23a-11e7-bdb7-002590aecc79	 N/A  da2p1
gptid/8788be7e-d20b-11e7-bdb7-002590aecc79	 N/A  da1p1
gptid/90bf3248-d18c-11e7-bdb7-002590aecc79	 N/A  da0p1
root@Emily-NAS:~ #

 

Adam Tyler

Explorer
Joined
Oct 19, 2015
Messages
67
My log device is ada0p1 and it is in the list with all the rest:
Code:
root@Emily-NAS:~ # glabel status
									  Name  Status  Components
gptid/90d74abf-d18c-11e7-bdb7-002590aecc79	 N/A  da0p2
gptid/87a407df-d20b-11e7-bdb7-002590aecc79	 N/A  da1p2
gptid/2698b33e-d23a-11e7-bdb7-002590aecc79	 N/A  da2p2
gptid/78e8e147-d97d-11e7-b781-002590aecc79	 N/A  da3p2
gptid/78b8bf90-d9b1-11e7-b781-002590aecc79	 N/A  da4p2
gptid/1b9f316d-da26-11e7-b781-002590aecc79	 N/A  da5p2
gptid/ac988093-1c60-11e7-ae9a-002590a96034	 N/A  da6p2
gptid/a8c5731f-1c60-11e7-ae9a-002590a96034	 N/A  da7p2
gptid/5c9ac389-d262-11e7-bdb7-002590aecc79	 N/A  da8p2
gptid/9615c0df-d2e3-11e7-bdb7-002590aecc79	 N/A  da9p2
gptid/ee8fb387-d2ba-11e7-bdb7-002590aecc79	 N/A  da10p2
gptid/feeeb5ef-d307-11e7-bdb7-002590aecc79	 N/A  da11p2
gptid/55f074a3-cdb5-11e7-bdb7-002590aecc79	 N/A  da12p2
gptid/bbf7a1c8-73ee-11e7-81aa-002590aecc79	 N/A  da13p2
gptid/aa5c9c82-1c60-11e7-ae9a-002590a96034	 N/A  da14p2
gptid/a505f4bf-1c60-11e7-ae9a-002590a96034	 N/A  da15p2
gptid/a1ae863b-2a0a-11e8-bbf6-002590aecc79	 N/A  da16p2
gptid/a41c596b-2a0a-11e8-bbf6-002590aecc79	 N/A  da17p2
gptid/1ee68b6a-2a0b-11e8-bbf6-002590aecc79	 N/A  da18p1
gptid/229c431a-2a0b-11e8-bbf6-002590aecc79	 N/A  da19p1
gptid/25ec5bdf-2a0b-11e8-bbf6-002590aecc79	 N/A  da20p1
gptid/275c216f-2a0b-11e8-bbf6-002590aecc79	 N/A  da21p1
gptid/0243b38d-2a0b-11e8-bbf6-002590aecc79	 N/A  da24p1
gptid/05e0a0d6-2a0b-11e8-bbf6-002590aecc79	 N/A  da25p1
gptid/0ca57011-2a0b-11e8-bbf6-002590aecc79	 N/A  da26p1
gptid/0dce1e70-2a0b-11e8-bbf6-002590aecc79	 N/A  da27p1
gptid/11269a55-2a0b-11e8-bbf6-002590aecc79	 N/A  da28p1
gptid/1237afc0-2a0b-11e8-bbf6-002590aecc79	 N/A  da29p1
gptid/157f318a-2a0b-11e8-bbf6-002590aecc79	 N/A  da30p1
gptid/194a8867-2a0b-11e8-bbf6-002590aecc79	 N/A  da31p1
gptid/c423253b-2a0a-11e8-bbf6-002590aecc79	 N/A  ada0p1
gptid/f69330dd-4b12-11e6-a97c-002590aecc79	 N/A  ada1p1
gptid/f6a61d33-4b12-11e6-a97c-002590aecc79	 N/A  ada1p2
gptid/f648c607-4b12-11e6-a97c-002590aecc79	 N/A  ada2p1
gptid/f659fd6d-4b12-11e6-a97c-002590aecc79	 N/A  ada2p2
gptid/a9cd1b9f-2af2-11e8-8661-002590aecc79	 N/A  da22p2
gptid/ab1dbee6-2af2-11e8-8661-002590aecc79	 N/A  da23p2
gptid/aaf5a2f5-2af2-11e8-8661-002590aecc79	 N/A  da23p1
gptid/a9a132d1-2af2-11e8-8661-002590aecc79	 N/A  da22p1
gptid/95f26af0-d2e3-11e7-bdb7-002590aecc79	 N/A  da9p1
gptid/5c75545e-d262-11e7-bdb7-002590aecc79	 N/A  da8p1
gptid/1b7fc4bf-da26-11e7-b781-002590aecc79	 N/A  da5p1
gptid/78a1d5e0-d9b1-11e7-b781-002590aecc79	 N/A  da4p1
gptid/78d16930-d97d-11e7-b781-002590aecc79	 N/A  da3p1
gptid/266a3029-d23a-11e7-bdb7-002590aecc79	 N/A  da2p1
gptid/8788be7e-d20b-11e7-bdb7-002590aecc79	 N/A  da1p1
gptid/90bf3248-d18c-11e7-bdb7-002590aecc79	 N/A  da0p1
root@Emily-NAS:~ #



Thanks for sticking with me. Series of dumb questions to follow... I am not too familiar with the CLI in FreeBSD.. So here is my physical list of drives:

da0 through 7 are the WD REDs.

ada0 and ada1 are the Samsung SSDs I want to use as a log mirror

ada2 and ada3 are the boot mirror.. (These SATA ports were only 2.0 and I wanted to save the 3.0 SATA ports for the log mirror drives)

Code:
Geom name: da0
Geom name: da1
Geom name: da2
Geom name: da3
Geom name: da4
Geom name: da5
Geom name: da6
Geom name: da7
Geom name: ada0
Geom name: ada1
Geom name: ada2
Geom name: ada3


Here again is the output of glabel status... I did add each of the Samsung drives as a single log disk and removed like you said. That apparently didn't format them as GPT..? Is there a way to list what physical "adax" or "dax" each existing gptid is related to?

Code:
gptid/8188c5b1-2d33-11e8-8021-003048b3d5b8	 N/A  ada2p1
gptid/81914c5b-2d33-11e8-8021-003048b3d5b8	 N/A  ada3p1
gptid/9144804f-2d70-11e8-8f45-003048b3d5b8	 N/A  da0p2
gptid/926ecc51-2d70-11e8-8f45-003048b3d5b8	 N/A  da1p2
gptid/3336bb1e-2d74-11e8-8f45-003048b3d5b8	 N/A  da3p2
gptid/34124ad5-2d74-11e8-8f45-003048b3d5b8	 N/A  da2p2
gptid/6f4654c3-2d74-11e8-8f45-003048b3d5b8	 N/A  da4p2
gptid/701c8b6f-2d74-11e8-8f45-003048b3d5b8	 N/A  da5p2
gptid/7adbb06f-2d74-11e8-8f45-003048b3d5b8	 N/A  da6p2
gptid/7bbe348a-2d74-11e8-8f45-003048b3d5b8	 N/A  da7p2
 

Adam Tyler

Explorer
Joined
Oct 19, 2015
Messages
67
My log device is ada0p1 and it is in the list with all the rest:
Code:
root@Emily-NAS:~ # glabel status
									  Name  Status  Components
gptid/90d74abf-d18c-11e7-bdb7-002590aecc79	 N/A  da0p2
gptid/87a407df-d20b-11e7-bdb7-002590aecc79	 N/A  da1p2
gptid/2698b33e-d23a-11e7-bdb7-002590aecc79	 N/A  da2p2
gptid/78e8e147-d97d-11e7-b781-002590aecc79	 N/A  da3p2
gptid/78b8bf90-d9b1-11e7-b781-002590aecc79	 N/A  da4p2
gptid/1b9f316d-da26-11e7-b781-002590aecc79	 N/A  da5p2
gptid/ac988093-1c60-11e7-ae9a-002590a96034	 N/A  da6p2
gptid/a8c5731f-1c60-11e7-ae9a-002590a96034	 N/A  da7p2
gptid/5c9ac389-d262-11e7-bdb7-002590aecc79	 N/A  da8p2
gptid/9615c0df-d2e3-11e7-bdb7-002590aecc79	 N/A  da9p2
gptid/ee8fb387-d2ba-11e7-bdb7-002590aecc79	 N/A  da10p2
gptid/feeeb5ef-d307-11e7-bdb7-002590aecc79	 N/A  da11p2
gptid/55f074a3-cdb5-11e7-bdb7-002590aecc79	 N/A  da12p2
gptid/bbf7a1c8-73ee-11e7-81aa-002590aecc79	 N/A  da13p2
gptid/aa5c9c82-1c60-11e7-ae9a-002590a96034	 N/A  da14p2
gptid/a505f4bf-1c60-11e7-ae9a-002590a96034	 N/A  da15p2
gptid/a1ae863b-2a0a-11e8-bbf6-002590aecc79	 N/A  da16p2
gptid/a41c596b-2a0a-11e8-bbf6-002590aecc79	 N/A  da17p2
gptid/1ee68b6a-2a0b-11e8-bbf6-002590aecc79	 N/A  da18p1
gptid/229c431a-2a0b-11e8-bbf6-002590aecc79	 N/A  da19p1
gptid/25ec5bdf-2a0b-11e8-bbf6-002590aecc79	 N/A  da20p1
gptid/275c216f-2a0b-11e8-bbf6-002590aecc79	 N/A  da21p1
gptid/0243b38d-2a0b-11e8-bbf6-002590aecc79	 N/A  da24p1
gptid/05e0a0d6-2a0b-11e8-bbf6-002590aecc79	 N/A  da25p1
gptid/0ca57011-2a0b-11e8-bbf6-002590aecc79	 N/A  da26p1
gptid/0dce1e70-2a0b-11e8-bbf6-002590aecc79	 N/A  da27p1
gptid/11269a55-2a0b-11e8-bbf6-002590aecc79	 N/A  da28p1
gptid/1237afc0-2a0b-11e8-bbf6-002590aecc79	 N/A  da29p1
gptid/157f318a-2a0b-11e8-bbf6-002590aecc79	 N/A  da30p1
gptid/194a8867-2a0b-11e8-bbf6-002590aecc79	 N/A  da31p1
gptid/c423253b-2a0a-11e8-bbf6-002590aecc79	 N/A  ada0p1
gptid/f69330dd-4b12-11e6-a97c-002590aecc79	 N/A  ada1p1
gptid/f6a61d33-4b12-11e6-a97c-002590aecc79	 N/A  ada1p2
gptid/f648c607-4b12-11e6-a97c-002590aecc79	 N/A  ada2p1
gptid/f659fd6d-4b12-11e6-a97c-002590aecc79	 N/A  ada2p2
gptid/a9cd1b9f-2af2-11e8-8661-002590aecc79	 N/A  da22p2
gptid/ab1dbee6-2af2-11e8-8661-002590aecc79	 N/A  da23p2
gptid/aaf5a2f5-2af2-11e8-8661-002590aecc79	 N/A  da23p1
gptid/a9a132d1-2af2-11e8-8661-002590aecc79	 N/A  da22p1
gptid/95f26af0-d2e3-11e7-bdb7-002590aecc79	 N/A  da9p1
gptid/5c75545e-d262-11e7-bdb7-002590aecc79	 N/A  da8p1
gptid/1b7fc4bf-da26-11e7-b781-002590aecc79	 N/A  da5p1
gptid/78a1d5e0-d9b1-11e7-b781-002590aecc79	 N/A  da4p1
gptid/78d16930-d97d-11e7-b781-002590aecc79	 N/A  da3p1
gptid/266a3029-d23a-11e7-bdb7-002590aecc79	 N/A  da2p1
gptid/8788be7e-d20b-11e7-bdb7-002590aecc79	 N/A  da1p1
gptid/90bf3248-d18c-11e7-bdb7-002590aecc79	 N/A  da0p1
root@Emily-NAS:~ #



Would these commands be appropriate to run in order to gpt format my physical ada0 and ada1 drives?

Code:
gpart create -s gpt adaX
gpart add -t freebsd-ufs adaX
newfs /dev/adaXp1
 

Adam Tyler

Explorer
Joined
Oct 19, 2015
Messages
67
I winged it... Came up with this in the end. ran just these two commands to create gpt on each drive:

Code:
gpart create -s gpt adaX
gpart add -t freebsd-ufs adaX


The ran your command to add the log mirror to existing zPool...
Code:
root@freenas:~ # zpool status
  pool: freenas-boot
 state: ONLINE
  scan: none requested
config:

		NAME		STATE	 READ WRITE CKSUM
		freenas-boot  ONLINE	   0	 0	 0
		  mirror-0  ONLINE	   0	 0	 0
			ada2p2  ONLINE	   0	 0	 0
			ada3p2  ONLINE	   0	 0	 0

errors: No known data errors

  pool: zPool01
 state: ONLINE
  scan: none requested
config:

		NAME											STATE	 READ WRITE CKSUM
		zPool01										 ONLINE	   0	 0	 0
		  mirror-0									  ONLINE	   0	 0	 0
			gptid/9144804f-2d70-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
			gptid/926ecc51-2d70-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
		  mirror-1									  ONLINE	   0	 0	 0
			gptid/3336bb1e-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
			gptid/34124ad5-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
		  mirror-2									  ONLINE	   0	 0	 0
			gptid/6f4654c3-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
			gptid/701c8b6f-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
		  mirror-3									  ONLINE	   0	 0	 0
			gptid/7adbb06f-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
			gptid/7bbe348a-2d74-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
		logs
		  mirror-4									  ONLINE	   0	 0	 0
			gptid/811b011e-2d7c-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0
			gptid/99df32b2-2d7c-11e8-8f45-003048b3d5b8  ONLINE	   0	 0	 0

errors: No known data errors
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Would these commands be appropriate to run in order to gpt format my physical ada0 and ada1 drives?

Code:
gpart create -s gpt adaX
gpart add -t freebsd-ufs adaX
newfs /dev/adaXp1
looks reasonable to me... It is very close to what I was about to post.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
I winged it... Came up with this in the end. ran just these two commands to create gpt on each drive:
Looks like it worked great. You should be able to see that in the GUI also.
 

Adam Tyler

Explorer
Joined
Oct 19, 2015
Messages
67
Thanks for all your help guys. Looks like I struck out on the SLOG drives I chose. I was only getting 39 MB/s with SLOG enabled and like 140 MB/s with SLOG disabled. Looks like the SATA interface on the board sucks or the Samsung desktop PC drive just wasn't a good choice. Think I will eventually get that expander card so I can connect all storage related drives in addition to the SLOG on the LSI controller.


What do you guys think of this drive for a SLOG option?

https://ark.intel.com/products/92225/Intel-SSD-DC-S3610-Series-100GB-2_5in-SATA-6Gbs-20nm-MLC

Because the SLOG really only needs to be 30-50 Gb or so, is there another enterprise class SSD or NVMe option with "Enhanced Power Loss Data Protection" you'd recommend? Seems like you could get it cheaper than the 100 Gb Intel even..
 
Joined
Apr 9, 2015
Messages
1,258
Thanks for all your help guys. Looks like I struck out on the SLOG drives I chose. I was only getting 39 MB/s with SLOG enabled and like 140 MB/s with SLOG disabled. Looks like the SATA interface on the board sucks or the Samsung desktop PC drive just wasn't a good choice. Think I will eventually get that expander card so I can connect all storage related drives in addition to the SLOG on the LSI controller.


What do you guys think of this drive for a SLOG option?

https://ark.intel.com/products/92225/Intel-SSD-DC-S3610-Series-100GB-2_5in-SATA-6Gbs-20nm-MLC

Because the SLOG really only needs to be 30-50 Gb or so, is there another enterprise class SSD or NVMe option with "Enhanced Power Loss Data Protection" you'd recommend? Seems like you could get it cheaper than the 100 Gb Intel even..


 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
Would these commands be appropriate to run in order to gpt format my physical ada0 and ada1 drives?

Code:
gpart create -s gpt adaX
gpart add -t freebsd-ufs adaX
newfs /dev/adaXp1

No, or at least not quite.
In the second line, use freebsd-zfs, not ufs. Also add a -a4k parameter to start partitions on even 4K block borders. Some would say to use much larger sizes on SSDs, up to 1M.
The last line formats a partition with a UFS filesystem, which is pointless when it will be ZFS. Just skip that.
 
Status
Not open for further replies.
Top