partitioning and labeling geom devices
Shaun Jurrens
shaun at shamz.net
Tue Jan 18 05:19:41 PST 2005
On Tue, Jan 18, 2005 at 12:01:15PM +0100, Pawel Jakub Dawidek wrote:
#> On Tue, Jan 18, 2005 at 10:06:16AM +0100, Shaun Jurrens wrote:
#> +> On Mon, Jan 17, 2005 at 09:33:14PM +0100, Pawel Jakub Dawidek wrote:
#> +> #> On Mon, Jan 17, 2005 at 10:42:12AM -0800, Brooks Davis wrote:
#> +> #> +> > Argument "*" isn't numeric in subtraction (-) at /usr/local/sbin/diskprep
#> +> #> +> > line 232.
#> +> #> +> > disklabel: /dev/stripe/stripe0s1: No such file or directory
#> +> #>
#> +> #> This could be problem with bsdlabel(8) which was fixed some time ago.
#> +>
#> +> FreeBSD paracles 5.3-STABLE FreeBSD 5.3-STABLE #2: Tue Jan 11 11:48:08
#> +> CET 2005 root at paracles:/usr/obj/usr/src/sys/PARACLES i386
#> +>
#> +> paracles:/root#> disklabel stripe/stripe0s1
#> +> disklabel: /dev/stripe/stripe0s1: No such file or directory
#> +>
#> +> paracles:/root#> ll /dev/stripe/.
#> +> total 0
#> +> crw-r----- 1 root operator 4, 40 Jan 17 17:55 stripe0
#> +>
#> +> There just isn't anything there to label. There's something here
#> +> after fdisk that is missing (at least in the traditional sense) and that is
#> +> the slices. [...]
#>
#> Simply calling: fdisk -I /dev/stripe/stripe0 doesn't create
#> provider /dev/stripe/stripe0s1?
Nope.
paracles:/root#> fdisk -I /dev/stripe/stripe0
******* Working on device /dev/stripe/stripe0 *******
paracles:/root#> ll /dev/stripe/.
total 0
crw-r----- 1 root operator 4, 40 Jan 18 15:21 stripe0
But I suddenly lose a slice in /dev/mirror (plex0s2)
paracles:/root#> ll /dev/mirror/.
total 0
crw-r----- 1 root operator 4, 37 Jan 17 17:47 plex0
crw-r----- 1 root operator 4, 44 Jan 17 17:47 plex0s1
crw-r----- 1 root operator 4, 36 Jan 17 17:47 plex1
crw-r----- 1 root operator 4, 35 Jan 17 17:47 plex2
#>
#> --
#> Pawel Jakub Dawidek http://www.wheel.pl
#> pjd at FreeBSD.org http://www.FreeBSD.org
#> FreeBSD committer Am I Evil? Yes, I Am!
--
Yours truly,
Shaun D. Jurrens
shaun at shamz.net
shamz at freenix.no
More information about the freebsd-geom
mailing list