Page 1 of 1

Disk in management but not in mount point?

Posted: 15 Jun 2014 20:27
by zinneken
I have installed an ASMedia ASM1061 AHCI SATA controller (name as listed by nas4free)
nas4free recognises the card, and in disk management lists a disk connected to the card, and in diagnostics the disk and card do show up as well.
For some reason, the disk does not show up anywhere else: format, mount point, etc. all do not see the disk.

What should/could I do to use the disk attached to the ASMedia ASM1061 AHCI SATA controller ? Thanks!

Re: Disk in management but not in mount point?

Posted: 15 Jun 2014 21:05
by b0ssman
wipe the disc
http://wiki.nas4free.org/doku.php?id=faq:0129
if that doesnt help you might need to remove the entry from the config or reinstall nas4free.

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 12:23
by zinneken
I need the data on the disk before venturing to wipe it. Catch 22 there.

What did you mean by "remove the entry from the config"? I removed the disk from disk management, did a clear config and import disks, neither helped in solving.

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 12:44
by b0ssman
under disc managemnt what does it say for fie system?

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 13:42
by zinneken
This is the line in disk management:
ada0 SAMSUNG HD103SI 953870MB S1VSJ90S749577 ahcich1 ASMedia ASM1061 AHCI SATA controller 5 UFS ONLINE
This is the info from disk diagnostics:
ada0 SAMSUNG HD103SI SAMSUNG SpinPoint F2 EG 953870MB S1VSJ90S749577 n/a 300.000MB/s Available , Enabled ahcich1 ASMedia ASM1061 AHCI SATA controller 26 °C ONLINE

Thanks!

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:08
by b0ssman
save the config and look for entries with the ada0.

something has gone wrong

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:16
by zinneken
Since adding the card, something is odd in my zpool as well.
configuration detected tells me: /dev/ada2, /dev/ada1
configuration current tells me: /dev/ada1, /dev/ada0

Only ada1 is listed in pools/virtual device/mypool
But, pools/information tells me:
pool: TR
state: ONLINE
scan: resilvered 1.06T in 3h30m with 0 errors on Sat May 31 19:23:46 2014
config:

NAME STATE READ WRITE CKSUM
TR ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada1.nop ONLINE 0 0 0

errors: No known data errors

The resilvering happened before adding the ASmedia, when I had a failed drive that I replaced.

When I added the ASMedia this weekend and attached the drive I got a notice that the configuration had changed and the drives had the wrong ID. So I did a clear config & import disks.

Probably best to do a fresh install, but I'm worried about loosing my zpool and data on it.

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:22
by zinneken
b0ssman wrote:save the config and look for entries with the ada0.

something has gone wrong
Yes, but how do I fix it? :?

Config info with ada0:
<zfs>
<vdevices>
<vdevice>
<uuid>b89817df-8ac0-4b29-9bcc-da3bf7aa414c</uuid>
<name>ZP1</name>
<type>mirror</type>
<device>/dev/ada1</device>
<device>/dev/ada0</device>
<aft4k/>
<desc>ZP1</desc>
</vdevice>
</vdevices>


<disk>
<uuid>51b8b68e-f09d-4b2e-aa79-6be39adf38e9</uuid>
<name>ada0</name>
<id>0</id>
<devicespecialfile>/dev/ada0</devicespecialfile>
<model>SAMSUNG HD103SI</model>
<desc>S1T</desc>
<type>SCSI</type>
<serial>S1VSJ90S749577</serial>
<size>953870MB</size>
<harddiskstandby>5</harddiskstandby>
<acoustic>0</acoustic>
<apm>0</apm>
<fstype>ufsgpt</fstype>
<transfermode>auto</transfermode>
<controller>ahcich</controller>
<controller_id>1</controller_id>
<controller_desc>ASMedia ASM1061 AHCI SATA controller</controller_desc>
<smart>
<devicefilepath>/dev/ada0</devicefilepath>
<devicetype>atacam</devicetype>
<devicetypearg>atacam</devicetypearg>
<enable/>
<extraoptions/>
</smart>


So, if I understand correctly, the ada0 is the samsung on the ASmedia, AND at the same time the zpool thinks it still owns the ada0 while in fact it no longer since asmedia is now ada0.

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:26
by b0ssman
if your config is not complicated try with a clean install on another usb stick. that should do the trick.

if you then feel adventurous compare the two config files and edit the original config file with the differences for the hd configuration.

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:42
by zinneken
Are there any instructions on how to do a clean install and keep the zpool without having to destroy it? I searched but couldn't find.

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:49
by b0ssman
you go to Disks|ZFS|Configuration|Synchronize and press syncronize

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:52
by zinneken
So in the same way, I would remove the zpool virtual device and then re-add it without having to format?

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:53
by raulfg3

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 14:58
by zinneken
b0ssman wrote:you go to Disks|ZFS|Configuration|Synchronize and press syncronize
No need to reinstall or anything, just doing the above on my system in its current state and all seems now working. :D

Re: Disk in management but not in mount point?

Posted: 16 Jun 2014 15:04
by zinneken
Thanks! won't need it this time around, but for future reference it is very useful to have the info on how to do the zpool exporting!