SUMMARY: Problem with a new Advfs

From: Andre Langkjer <langkjer_at_inpi.gov.br>
Date: Thu, 11 Mar 1999 17:16:46 -0300

    Thanks to Tom, Miguel and Mandell ...

    Original question:
------------------------------------------------------------------------

    Hi managers,

    I created an Advfs domain in my /dev/re1c, but when I tried to mount

this file system I got the message that follows:

            mount -t advfs web_domain#data /data2
            Cannot read last block (12331007) of virtual disk /dev/re1c.

            Mounting fileset in read-only mode.

    Here is the disklabel -r of the disk:

# /dev/rre1c:
type: SWXCR
disk: SWXCR
label:
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 128
sectors/cylinder: 4096
cylinders: 3010
sectors/unit: 12331008
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0

8 partitions:
# size offset fstype [fsize bsize cpg]
  a: 131072 0 unused 0 0 # (Cyl. 0 -
31)
  b: 262144 131072 unused 0 0 # (Cyl. 32 -
95)
  c: 12331008 0 AdvFS # (Cyl. 0 -
3010*)
  d: 4000000 4131072 unused 0 0 # (Cyl. 1008*-
1985*)
  e: 4000000 131072 unused 0 0 # (Cyl. 32 -
1008*)
  f: 4000000 4131072 unused 0 0 # (Cyl. 1008*-
1985*)
  g: 12199936 131072 unused 0 0 # (Cyl. 32 -
3010*)
  h: 1 12331007 unused 0 0 # (Cyl. 3010*-
3010*)

    Does anybody knows what does it means?
------------------------------------------------------------------------

The problem was that the disklabel was wrong ... I don’t know how it
becomes wrong but the real size of the disk is (+/-)2Gb and not 6Gb...

    When I wrote the default disk partition:

            # disklabel -z re1
            # disklabel -rw re1 SWXCR

    it becomes right and I could do my Advfs partition.

    Thanks everybody...

--
____________________________________________________
André Langkjer
System Administrator
____________________________________________________
INPI - Instituto Nacional de Propriedade Industrial
INFOTEC - Consultoria e Planejamento
____________________________________________________
Address:  Praça Mauá, 7 1121 - Rio de Janeiro - RJ
Brazil
Phone:    (+55)(21)271-5738
          (+55)(21)271-5944
Cellular: (+55)(21)9126-4806
Fax:      (+55)(21)213-4229
____________________________________________________
Received on Thu Mar 11 1999 - 20:19:41 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT