Trying to use a 3TB disk from a previous ZFS Pool

Status
Not open for further replies.

netman06

Dabbler
Joined
Sep 13, 2012
Messages
21
Hello,

I'm building a new ZFS Pool, and as of now have not created the Volume.

I have 7 disks already imported, but I have one disk that is causing me troubles.

I pulled it from the system and deleted the volume from a Windows system, after following another post.

Still having the same issue, this error message:

  • The selected disks were not verified for these import rules. Filesystem check failed.
  • UFS
  • NTFS
  • MSDOSFS
  • EXT2FS
Destination:
  • The path does not exist. This must be a dataset/folder in an existing Volume
I tried another blog article on using dd, i let it run overnight and stopped it this morning, tried to import again, same error message. I did not reboot

# destroy ALL DATA on disk /dev/ada2
sysctl kern.geom.debugflags=0x10
dd if=/dev/zero of=/dev/ada2 bs=1m
# now reboot!

So, I thought that the only way to get this fixed, was to post a help message.

If you have any ideas on how I can fix this issue, I would be very grateful.

As, I'm out of google searching ideas.

Thanks,
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I have 7 disks already imported
What do you mean by this? How have you imported them? Because the "import disk" feature in the GUI has nothing whatsoever to do with building a ZFS pool. "Import Disk" copies data off of a disk formatted in one of those filesystems (UFS, NTFS, FAT32, ext2), onto a dataset on a pool that's already created.
 

netman06

Dabbler
Joined
Sep 13, 2012
Messages
21
Hi Danb35,

Ok, so I'm not doing what I thought I was doing.

I'm not seeing the disk in the list, if I look at view disks.

So, how do i add this disk into the system, so that I can create a volume.

I've never had this issue, when building a Freenas server, so that is why I'm not understanding what to do.

I've run a gabel status, and it showed me the disk ada0p2. I checked into this gptid # and from what I found is saying that it is part of a zfs pool.

I was an old Freenas server, and wanted to reuse it in the new server.

[root@freenas ~]# glabel status
Name Status Components
gptid/be87adcb-4c19-11e8-9124-902b34839325 N/A da0p1
gptid/1343aca9-43ef-11e6-a782-902b34839325 N/A ada0p2
[root@freenas ~]#

So, what is the best way to figure out what is the issue with this disk.

Thanks,
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I'm not seeing the disk in the list, if I look at view disks.
What are you showing in View Disks? Are the other seven disks there? What's the output (in code tags) of camcontrol devlist?
 

netman06

Dabbler
Joined
Sep 13, 2012
Messages
21
[root@freenas ~]# camcontrol devlist
<WDC WD30EFRX-68EUZN0 82.00A82> at scbus1 target 0 lun 0 (pass0,ada0)
<STXX CC29> at scbus3 target 0 lun 0 (pass1,ada1)
<STXX CC4C> at scbus4 target 0 lun 0 (pass2,ada2)
<STXX CC29> at scbus5 target 0 lun 0 (pass3,ada3)
<WDC XX 82.00A82> at scbus6 target 0 lun 0 (pass4,ada4)
<STXX CC4C> at scbus7 target 0 lun 0 (pass5,ada5)
<STXX CC29> at scbus7 target 1 lun 0 (pass6,ada6)
<Generic STORAGE DEVICE 0250> at scbus10 target 0 lun 0 (pass7,da0)
[root@freenas ~]#

kyGWyc


Hope this helps, if not please let me know what else would help you.

Thanks again for taking time to help me.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Hope this helps
A little, but not much. Why are you masking model numbers on your disks?

The bigger problem is that the screen shot didn't come through. Just paste it into your post.
 

netman06

Dabbler
Joined
Sep 13, 2012
Messages
21
upload_2018-4-30_15-46-13.png


I thought those numbers were my serial numbers, sorry, if you need them i can add them back.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
OK, so you have seven drives showing (ada0 - ada6), both in the GUI via View Disks, and at the CLI via camcontrol devlist. The disk you were asking about, ada0, appears to be listed in both places. The eighth device, da0, appears to be your boot device.

How many drives were you expecting to see?
 

netman06

Dabbler
Joined
Sep 13, 2012
Messages
21
OK, so you have seven drives showing (ada0 - ada6), both in the GUI via View Disks, and at the CLI via camcontrol devlist. The disk you were asking about, ada0, appears to be listed in both places. The eighth device, da0, appears to be your boot device.

How many drives were you expecting to see?
should have 8 drives, at 3TB

That is why I was trying to import a not found disk.

I will double check tonight, with a disk inventory vs serial numbers.

You are correct for the da0, this is the san disk 8GB boot disk.

Thanks
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I will double check tonight, with a disk inventory vs serial numbers.
Yes, first step is to determine which disk isn't showing up. Then try changing a few things, one at a time--swap SATA cables, SATA ports, and power connectors, at a minimum.

What hardware are you using? How are the disks connected? Which version of FreeNAS are you using?
 
Status
Not open for further replies.
Top