gpart labels - why arent't some showing up in /dev/gpt/?

Andrew Reilly areilly at bigpond.net.au
Thu May 3 22:52:41 UTC 2012


On Wed, May 02, 2012 at 11:29:38AM +0200, Gustau Pérez i Querol wrote:
> Al 02/05/2012 08:46, En/na Peter Maloney ha escrit:
> >I have the same problem. Any time you boot off a CD/DVD and use import 
> >-f (and then don't export), or I guess use import -f a pool from 
> >anywhere, it does that. I don't know any non-zfs causes for the problem.
> 
>   When doing the import -f, use -d /dev/gpt to force zpool to search 
> for devices in /dev/gpt. That way the import will be done by gpt name, 
> instead of by device name.

I'm not sure that would work if the /dev/gpt directory doesn't
list the devices by gpt label at all?  In my case, even if that
helps with import, it doesn't seem to help with zpool create,
because that doesn't take a -d option.  It just wants device
names.

Cheers,

-- 
Andrew


More information about the freebsd-fs mailing list