Determining disk device and kicking GEOM when doing automatic mounting of umass devices

Darren Pilgrim dmp at bitfreak.org
Fri Jun 10 07:02:40 GMT 2005


From: "Dag-Erling Smørgrav" [mailto:des at des.no] 
> "Darren Pilgrim" <dmp at bitfreak.org> writes:
> > GEOM doesn't automatically read the partition table and create the
> > slice device [...]
> 
> Yes, it does.  When the umassX provider shows up, GEOM immediately
> tastes it and creates geoms for the individual slices.
> 
> If it really doesn't on your system, try the following:
> 
> # /etc/rc.d/devd stop
> # logger START
> # sysctl debug.bootverbose=1
> # sysctl -b kern.geom.conftxt >geom-before
> [insert umass device, wait 10 secs]
> # sysctl -b kern.geom.conftxt >geom-after
> # sysctl debug.bootverbose=0
> # logger STOP
> # /etc/rc.d/devd start
> # awk '/START/{s=1}{if(s)print}/STOP/{s=0}' /var/log/messages 
> >geom-logs
> 
> then post the contents of geom-{before,after,logs}.

Attached as named above.  The logs show the da0 DISK class in the GEOM
config, but no MBR class entry.

This is on -current as of May 22.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geom-before
Type: application/octet-stream
Size: 825 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050610/448e3f27/geom-before.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geom-after
Type: application/octet-stream
Size: 850 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050610/448e3f27/geom-after.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geom-logs
Type: application/octet-stream
Size: 9717 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050610/448e3f27/geom-logs.obj


More information about the freebsd-hackers mailing list