growfs on vinum volume

Ludo Koren lk at tempest.sk
Sun Mar 28 23:37:53 PST 2004


Hi list


on 5.2.1-RELEASE-p3, I did:

fdisk -BI da2
fdisk -BI da3

and 
disklabel -e da2s1
disklabel -e da3s1

# /dev/da2s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 143363981       16    unused        0     0       
  c: 143363997        0    unused        0     0         # "raw" part, don't edit
  h: 143363997        0     vinum                    



# /dev/da3s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 143363981       16    unused        0     0       
  c: 143363997        0    unused        0     0         # "raw" part, don't edit
  h: 143363997        0     vinum                    

vinum create vinumgrow

vinumgrow:
drive d3 device /dev/da2s1h
drive d4 device /dev/da3s1h
sd name mirror.p0.s1 drive d3 plex mirror.p0 size 0
sd name mirror.p1.s1 drive d4 plex mirror.p1 size 0

after 

vinum -> start mirror.p0.s1

and 

vinum -> start mirror.p1.s1

I have

vinum -> l
6 drives:
D d1                    State: up       /dev/da1s1e     A: 0/15452 MB (0%)
D rd1                   State: up       /dev/da1s1h     A: 0/1023 MB (0%)
D d2                    State: up       /dev/da0s1f     A: 0/15452 MB (0%)
D rd2                   State: up       /dev/da0s1h     A: 0/1023 MB (0%)
D d3                    State: up       /dev/da2s1h     A: 0/70001 MB (0%)
D d4                    State: up       /dev/da3s1h     A: 0/70001 MB (0%)

2 volumes:
V mirror                State: up       Plexes:       2 Size:         83 GB
V root                  State: up       Plexes:       2 Size:       1023 MB

4 plexes:
P mirror.p0           C State: up       Subdisks:     2 Size:         83 GB
P mirror.p1           C State: up       Subdisks:     2 Size:         83 GB
P root.p1             C State: up       Subdisks:     1 Size:       1023 MB
P root.p0             C State: up       Subdisks:     1 Size:       1023 MB

6 subdisks:
S mirror.p0.s0          State: up       D: d1           Size:         15 GB
S mirror.p1.s0          State: up       D: d2           Size:         15 GB
S root.p1.s0            State: up       D: rd2          Size:       1023 MB
S root.p0.s0            State: up       D: rd1          Size:       1023 MB
S mirror.p0.s1          State: up       D: d3           Size:         68 GB
S mirror.p1.s1          State: up       D: d4           Size:         68 GB
vinum -> 

which seems to be correct...

Than I did 

growfs /dev/vinum/mirror


It finished with the following error:

growfs: bad inode number 1 to ginode

I have searched the archives, but did not find any answer. Please,
could you point to me what I did wrong?

Thank you very much.

lk


More information about the freebsd-questions mailing list