Fwd: /dev/gvinum missing, ideas please. .

Troy Kocher tkocher at mtadistributors.com
Tue Apr 17 15:24:15 UTC 2007


Fixed it. .

Apparently my metadata was corrupt

using. .
dd if=/dev/zero bs=512 count=265 of=/dev/da0s1g

cleaned it and now I'm up. .



Begin forwarded message:

>
> Date: April 17, 2007 8:00:20 AM CDT
> To: freebsd-questions at freebsd.org
> Subject: Fwd: /dev/gvinum missing, ideas please. .
>
> One other thing I forgot. .
>
> bsd# kldstat
> Id Refs Address    Size     Name
> 1    4 0xc0400000 70794c   kernel
> 2    1 0xc0b08000 11920    geom_vinum.ko
> 3    1 0xc0b1a000 59f20    acpi.ko
>
>
>
> Begin forwarded message:
>>
>> Date: April 16, 2007 11:11:13 PM CDT
>> To: freebsd-questions at freebsd.org
>> Subject: /dev/gvinum missing, ideas please. .
>>
>> I am rebuilding a 6.2 box and want to use growfs to expand the  
>> jailed filesystems as needed.
>>
>> I'm doing something wrong b/c /dev/gvinum isn't being created. .  
>> help. .
>>
>> Here is what I've done..
>>
>> Modified the partition I want to use for gvinum. .
>>
>> bsd# bsdlabel -e /dev/da0s1
>>
>> # /dev/da0s1:
>> 8 partitions:
>> #        size   offset    fstype   [fsize bsize bps/cpg]
>>   a:  1048576        0    4.2BSD     2048 16384     8
>>   b:  8388608  1048576      swap
>>   c: 2580729732        0    unused        0     0         # "raw"  
>> part, don't e
>> dit
>>   d:  8884224  9437184    4.2BSD     2048 16384 28552
>>   e:  1048576 18321408    4.2BSD     2048 16384     8
>>   f: 10485760 19369984    4.2BSD     2048 16384 28552
>>   g: 2550873988 29855744     vinum
>>
>>
>> bsd# gvinum
>> gvinum -> l
>> 1 drive:
>> D main                  State: up       /dev/da0s1g     A:  
>> 1245543/1245543 MB (100%)
>>
>> 1 volume:
>> V outward               State: down     Plexes:       1  
>> Size:          0  B
>>
>> 1 plex:
>> P outward.p0          C State: down     Subdisks:     0  
>> Size:          0  B
>>
>> 0 subdisks:
>>
>> bsd# newfs -L outward -O 2 -U -o time /dev/gvinum/outward
>> newfs: /dev/gvinum/outward: could not find special device
>>
>> There is no /dev/gvinum..
>>
>> Ideas??
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070417/eb4f0b81/PGP.pgp


More information about the freebsd-questions mailing list