Automatic subdisk naming?

Martin Jackson mhjacks at swbell.net
Thu Jul 13 22:56:51 UTC 2006


It's been a while, but I seem to recall that given a plex with org 
concat, the historic vinum could create subdisks that were automatically 
named with the name prefixes of the other objects in that volume.

For example:

drive vg device ad0s1g

volume home
	plex org concat
	sd len 4g drive vg

Which would create:
home (volume)
home.p0 (plex)
home.p0.s0 (subdisk)

Then, when the time came to expand the volume, the following could be used:

sd len 4g plex home.p0

Which would create
home.p0.s1

and the volume home could be expanded with growfs.

In the 6.1-RELEASE-p2 implementation of gvinum, when I try this, I get a 
subdisk simply named ".s0", but apparently added to the correct plex (it 
increases in size).

Is this considered a bug?  Is it enough detail? :)  A casual search of 
PR's didn't show me anything that looked quite like this.

Thanks,
Marty


More information about the freebsd-geom mailing list