writing to gvinum volume causes system freeze
Andrew Heyn
andrewh at jumpapparel.com
Tue Jun 21 22:35:10 GMT 2005
Hi,
I have three 33GB scsi drives.
My problem is that whenever I try to 'start home' or another one of the
volumes, and once it is up if I try to newfs it (home for example), the
following happens:
newfs /dev/gvinum/home
/dev/gvinum/home: 4794.8MB (9819684 sectors) block size 16384, fragment
size 204
8
using 27 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624,
3010976,
3387328, 3763680, 4140032,
<system hang>
Doing a newfs on root seems to work, but it may be because root is
smaller than home up there, and may not reach a certain problem area.
I also was able to cat home to /dev/null all the way through the end
with no problems.
A little side question I have is how do I erase my whole configuration
with gvinum? The program just reports that there is no such available
command.
Please kindly CC any replies to me also.
Thanks in advance,
Andrew
I apologize in advance if the following is too verbose and if it
contains useless information...
I am trying to use this configuration file to set up my volumes:
%cat vinum.conf
drive left device /dev/da0s1h
drive middle device /dev/da1s1h
drive right device /dev/da2s1h
volume root
plex org concat
sd len 2097152s driveoffset 1048560s drive left
plex org concat
sd len 2097152s driveoffset 1048560s drive middle
plex org concat
sd len 2097152s driveoffset 1048560s drive right
volume swap
plex org raid5 279k
sd len 858343s driveoffset 265s drive left
sd len 858343s driveoffset 265s drive middle
sd len 858343s driveoffset 265s drive right
volume usr
plex org raid5 279k
sd len 10290176s driveoffset 55574512s drive left
sd len 10290176s driveoffset 55574512s drive middle
sd len 10290176s driveoffset 55574512s drive right
volume var
plex org raid5 279k
sd len 52307968s driveoffset 3145712s drive left
sd len 52307968s driveoffset 3145712s drive middle
sd len 52307968s driveoffset 3145712s drive right
volume home
plex org raid5 279k
sd len 4910080s driveoffset 66060272s drive left
sd len 4910080s driveoffset 66060272s drive middle
sd len 4910080s driveoffset 66060272s drive right
Here is geom list
gvinum -> list
3 drives:
D left State: up /dev/da0s1h A: 320/34726 MB
(0%)
D middle State: up /dev/da1s1h A: 320/34726 MB
(0%)
D right State: up /dev/da2s1h A: 320/34726 MB
(0%)
5 volumes:
V root State: up Plexes: 3 Size: 1024
MB
V swap State: down Plexes: 1 Size: 838
MB
V usr State: down Plexes: 1 Size: 9
GB
V var State: down Plexes: 1 Size: 49
GB
V home State: up Plexes: 1 Size: 4794
MB
7 plexes:
P root.p0 C State: up Subdisks: 1 Size: 1024
MB
P root.p1 C State: up Subdisks: 1 Size: 1024
MB
P root.p2 C State: up Subdisks: 1 Size: 1024
MB
P swap.p0 R5 State: down Subdisks: 3 Size: 838
MB
P usr.p0 R5 State: down Subdisks: 3 Size: 9
GB
P var.p0 R5 State: down Subdisks: 3 Size: 49
GB
P home.p0 R5 State: up Subdisks: 3 Size: 4794
MB
15 subdisks:
S root.p0.s0 State: up D: left Size: 1024
MB
S root.p1.s0 State: up D: middle Size: 1024
MB
S root.p2.s0 State: up D: right Size: 1024
MB
S swap.p0.s0 State: stale D: left Size: 419
MB
S swap.p0.s1 State: stale D: middle Size: 419
MB
S swap.p0.s2 State: stale D: right Size: 419
MB
S usr.p0.s0 State: stale D: left Size: 5024
MB
S usr.p0.s1 State: stale D: middle Size: 5024
MB
S usr.p0.s2 State: stale D: right Size: 5024
MB
S var.p0.s0 State: stale D: left Size: 24
GB
S var.p0.s1 State: stale D: middle Size: 24
GB
S var.p0.s2 State: stale D: right Size: 24
GB
S home.p0.s0 State: up D: left Size: 2397
MB
S home.p0.s1 State: up D: middle Size: 2397
MB
S home.p0.s2 State: up D: right Size: 2397
MB
Here is what bsdlabel /dev/da0s1 says:
bsdlabel /dev/da0s1
# /dev/da0s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 2097152 1048576 4.2BSD 2048 16384 28552
b: 1048295 281 swap
c: 71119692 0 unused 0 0 # "raw" part,
don't edit
d: 52428800 3145728 4.2BSD 2048 16384 28552
e: 10485760 55574528 4.2BSD 2048 16384 28552
f: 5058560 66060288 4.2BSD 2048 16384 28552
h: 71119676 16 vinum
The other disks (da1, da2) have the same exact labels...
And last, but certainly not least, here is the output of gvinum
printconfig
gvinum -> printconfig
# Vinum configuration of freesbie.livecd, saved at Tue Jun 21 18:17:48
2005
drive left device /dev/da0s1h
drive middle device /dev/da1s1h
drive right device /dev/da2s1h
volume root
volume swap
volume usr
volume var
volume home
plex name root.p0 org concat vol root
plex name root.p1 org concat vol root
plex name root.p2 org concat vol root
plex name swap.p0 org raid5 558s vol swap
plex name usr.p0 org raid5 558s vol usr
plex name var.p0 org raid5 558s vol var
plex name home.p0 org raid5 558s vol home
sd name root.p0.s0 drive left len 2097152s driveoffset 1048560s plex
root.p0 plexoffset 0s
sd name root.p1.s0 drive middle len 2097152s driveoffset 1048560s plex
root.p1 plexoffset 0s
sd name root.p2.s0 drive right len 2097152s driveoffset 1048560s plex
root.p2 plexoffset 0s
sd name swap.p0.s0 drive left len 858204s driveoffset 265s plex swap.p0
plexoffset 0s
sd name swap.p0.s1 drive middle len 858204s driveoffset 265s plex
swap.p0 plexoffset 558s
sd name swap.p0.s2 drive right len 858204s driveoffset 265s plex swap.p0
plexoffset 1116s
sd name usr.p0.s0 drive left len 10290078s driveoffset 55574512s plex
usr.p0 plexoffset 0s
sd name usr.p0.s1 drive middle len 10290078s driveoffset 55574512s plex
usr.p0 plexoffset 558s
sd name usr.p0.s2 drive right len 10290078s driveoffset 55574512s plex
usr.p0 plexoffset 1116s
sd name var.p0.s0 drive left len 52307478s driveoffset 3145712s plex
var.p0 plexoffset 0s
sd name var.p0.s1 drive middle len 52307478s driveoffset 3145712s plex
var.p0 plexoffset 558s
sd name var.p0.s2 drive right len 52307478s driveoffset 3145712s plex
var.p0 plexoffset 1116s
sd name home.p0.s0 drive left len 4909842s driveoffset 66060272s plex
home.p0 plexoffset 0s
sd name home.p0.s1 drive middle len 4909842s driveoffset 66060272s plex
home.p0plexoffset 558s
sd name home.p0.s2 drive right len 4909842s driveoffset 66060272s plex
home.p0 plexoffset 1116s
More information about the freebsd-geom
mailing list