Hi,

I have a server set up to boot from a gvinum mirror volume. This was
all working fine, so I then proceeded to load my data on it, safe in
the knowledge that all was well.

However, all was not well after the last reboot: it seems that while
the two ATA disks probe, for some odd reason GEOM does not create
device entries in /dev for one of the disks, while gvinum has gotten
totally confused and thinks that the plex on the disappearing disk is
still up!

See the attached log for lots of details. All of this is on

FreeBSD 5.4-RELEASE #2: Sun May  8 09:56:34 CEST 2005

Can anyone tell me:

- how to force GEOM to 'taste' ad6 and therefore create the /dev entries?
- how to tell gvinum that ad6 is really gone so that it will be forced
  to sync my data on ad6 after the GEOM problem is fixed?
- the clue to how the machine has gotten in such a confused state?

--Stijn

-- 
I really hate this damned machine
I wish that they would sell it.
It never does quite what I want
But only what I tell it.
[EMAIL PROTECTED] <~> dmesg | grep '^ad'
ad4: 76293MB <WDC WD800BB-75FRA0/77.07W77> [155009/16/63] at ata2-master UDMA100
ad6: 76293MB <WDC WD800BB-75FRA0/77.07W77> [155009/16/63] at ata3-master UDMA100
[EMAIL PROTECTED] <~> sudo geom disk list ad6
Geom name: ad6
Providers:
1. Name: ad6
   Mediasize: 80000000000 (75G)
   Sectorsize: 512
   Mode: r0w0e0
   fwsectors: 63
   fwheads: 16
[EMAIL PROTECTED] <~> sudo gvinum ld
1 drive:
D pain                  State: up       /dev/ad4s1e     A: 0/76293 MB (0%)
[EMAIL PROTECTED] <~> sudo gvinum lv -r local
V local                 State: up       Plexes:       1 Size:         66 GB
P local.p0            C State: up       Subdisks:     1 Size:         66 GB
S local.p0.s0           State: up       D: pain         Size:         66 GB
[EMAIL PROTECTED] <~> sudo gvinum lp -r local.p1
P local.p1            C State: up       Subdisks:     0 Size:          0  B
[EMAIL PROTECTED] <~> ls -ld /dev/ad6*
crw-r-----  1 root  operator    4,  12 Aug 14 16:55 /dev/ad6
[EMAIL PROTECTED] <~> sudo fdisk ad6
******* Working on device /dev/ad6 *******
parameters extracted from in-core disklabel are:
cylinders=155009 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=155009 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 156249009 (76293 Meg), flag 81
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 384/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
[EMAIL PROTECTED] <~> sudo disklabel ad6s1
disklabel: /dev/ad6s1: No such file or directory

Attachment: pgpLrZJz1ErfJ.pgp
Description: PGP signature

Reply via email to