Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2011 09:51:33 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        questions@freebsd.org
Subject:   SOLVED: problem formating disk with gpart
Message-ID:  <20183.38005.426992.346403@jerusalem.litteratus.org>
In-Reply-To: <20111201120444.b4eb5ce1.freebsd@edvax.de>
References:  <20182.39340.354254.608836@jerusalem.litteratus.org> <4ED735CD.7030505@cyberleo.net> <20111201120444.b4eb5ce1.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

Polytropon writes:


>  > If I remember correctly, the old ATA subsystem (ad*) does not support
>  > hotswap notification, so the kernel will not see a device change until
>  > reboot or reinit. You should probably be using AHCI (if the driver
>  > supports your chipset) or very careful use of atacontrol detach, attach,
>  > or reinit.
>  
>  I'm not fully sure if this applies here, but there are
>  the following commands:
>  
>       atacontrol attach channel
>       atacontrol detach channel
>       atacontrol reinit channel
>       atacontrol spindown device [seconds]
>       atacontrol list
>  
>  It seems as they are intended to support "manual hotswapping"
>  to be done with SATA. See "man atacontrol" for details.

	I did:

>> atacontrol detach ata0
>> atacontrol attach ata0

	and the disk showed up correctly.
	Proceeded to partitioning and newfs, and - I have a working
disk.

	Thanks, everyone, for the help.


				Robert Huff




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20183.38005.426992.346403>