supporting large filesystems under 4.0F

From: Jean Marie Diaz (jdiaz_at_westcoastbeauty.com)
Date: 09/23/03

  • Next message: Mahmoudou DIALLO: "help with sendmail"
    Date: Tue, 23 Sep 2003 08:44:48 -0700
    To: "Tru64-Unix-Managers (E-mail)" <tru64-unix-managers@ornl.gov>
    
    

    We are testing an EMC (Clariion CX400) connected via two KGPSAs to an
    AlphaServer 2100 running 4.0F patchlevel 8. The system sees two of the
    three LUNs (not sure why it only sees two):

    # file /dev/rrz17c
    /dev/rrz17c: character special (8/33794) SCSI #2 RAID 5 disk #136 (SCSI
    ID #1) (SCSI LUN #0) errors = 0/4
    # file /dev/rrz8c
    /dev/rrz8c: character special (8/16386) SCSI #1 RAID 5 disk #64 (SCSI ID
    #0) (SCSI LUN #0) errors = 0/4

    I have edited /etc/ddr.dbase, compiled and rebooted as per the EMC
    documentation (also found in the archives here). I then zeroed the
    disklabel, and wrote a default disklabel, which when read back shows (note
    the negative number / overflow in the c partition definition):

    # disklabel -r rz17
    # /dev/rrz17a:
    type: SCSI
    disk: RAID 5
    label:
    flags: dynamic_geometry
    bytes/sector: 512
    sectors/track: 192
    tracks/cylinder: 1
    sectors/cylinder: 192
    cylinders: 8684
    sectors/unit: -1399230208
    rpm: 4400
    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] # NOTE:
    values not exact
      a: 131072 0 unused 0 0 # (Cyl.
       0 - 682*)
      b: 262144 131072 unused 0 0 # (Cyl.
    682*- 2047)
      c: -1399230208 0 unused 0 0 # (Cyl.
       0 - 15081963)
      d: 0 0 unused 0 0 # (Cyl.
       0 - -1)
      e: 0 0 unused 0 0 # (Cyl.
       0 - -1)
      f: 0 0 unused 0 0 # (Cyl.
       0 - -1)
      g: 1447671936 393216 unused 0 0 # (Cyl.
    2048 - 7542005)
      h: 1447671936 1448065152 unused 0 0 # (Cyl.
    7542006 - 15081963)

    Creating an AdvFS file domain with the c partition then fails:

    # mkfdmn /dev/rz17c mirrortest
    mkfdmn: can't get device size; can't figure out file system partition
    mkfdmn: can't create new domain 'mirrortest'

    Is there some sysconfigtab variable or other bit of configuration that needs
    to be set in order for disklabel to properly size the partition? We do want
    to upgrade to 5.1B, but would rather get this working as is (our production
    hosts are all at 4.0F).

    For extra credit, can anyone suggest a reason why we would only see 2 of the
    3 LUNs defined on the EMC?

    Thanks in advance,

    Ambar


  • Next message: Mahmoudou DIALLO: "help with sendmail"

    Relevant Pages

    • Re: I used "boot0cfg" and destroyed the MBR.All labels dissapear! (How I Fixed it)
      ... then you have to repeat the disklabel step ... f) I edited the partition table using fdisk. ... Thus I have created a big slice ad0s1. ... On the b label put in the offset the sectors size of the previous (a ...
      (freebsd-questions)
    • Large 3ware arrays.
      ... I'm looking for a few people with experience with 3ware arrays. ... I can fdisk the drive with few problems (it complains about invalid reported ... Disklabel however dies out completely with: "Fatal Error: ... The data for partition 1 is: ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Vinum dumpconfig returns nothing ?!?
      ... A little googling for Disklabel and I was ... So if you mess up your partition tables, ... (replacing rad1 by the raw device name of your disk). ... > vinum in order to avoid overwriting data used for other purposes. ...
      (freebsd-current)
    • disklabel missing on a raid-5
      ... used Freebsd to run my database servers and I've never had such a problem. ... Someone booted a database server by accident, ... parameters extracted from in-core disklabel are: ... The data for partition 1 is: ...
      (freebsd-questions)
    • Re: "Cannot find file system superblock" error - how to recover?
      ... disklabel DOES work on slices and CREATES partitions. ... be run on the whole disk ad0 (as apposed to just a slice ad0s1) ... which will create a "dangerously dedicated" disk. ... sure what it is trying to do if you try to further partition a partition. ...
      (freebsd-questions)