/dev/ufs

Dan Nelson dnelson at allantgroup.com
Thu Jul 14 20:11:14 GMT 2005


In the last episode (Jul 14), Heinrich Rebehn said:
> Hmm, it does not work:
> 
> root at antsrv1 [~] # kldstat
> Id Refs Address    Size     Name
>  1    9 0xc0400000 3c8ed4   kernel
>  2   14 0xc07c9000 56270    acpi.ko
>  3    1 0xc3c38000 17000    linux.ko
>  4    1 0xc9610000 4000     geom_label.ko
>  5    1 0xc918f000 2000     geom_vol_ffs.ko
> root at antsrv1 [~] # tunefs -L backup /dev/da1s1a
> root at antsrv1 [~] # tunefs -p /dev/da1s1a
> tunefs: volume label: (-L)                                 backup
> root at antsrv1 [~] # ls /dev/ufs
> ls: /dev/ufs: No such file or directory
> 
> The filesystem is freshly newfs'ed and the partitions have not been
> resized.

Try unloding and reloading geom_label.ko; I don't know if it is smart
enough to realize that the tunefs command added a label.  If that
doesn't work you'll have to start adding G_LABEL_DEBUG calls to
/sys/geom/label/g_label_ufs.c and figure out exactly where it's
failing.
 
> Any more ideas?
> --Heinrich
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list