LSM for beginners

From: Mark Schubert (Mark.Schubert_at_cogita.com.au)
Date: 07/20/04

  • Next message: Dermot Paikkos: "verify disk integrity"
    Date: Tue, 20 Jul 2004 19:16:14 +1200
    To: "'tru64-unix-managers@ornl.gov'" <tru64-unix-managers@ornl.gov>
    
    

    Hi,

    I have an Alpha running V5.1A that is configured to use LSM. I know very
    little about LSM, but need to add 2 new disks as a mirror into an existing
    ADVFS domain. Ie. I want to extend the existing domain by adding the mirror.

    I realise I can extend ADVFS domains using addvol but that requires
    ADVFS-UTILS license which I do not have.

    I would like to know in simple terms how to add the new disks into LSM and
    the file system. Can anyone help with the commands to do this?

    I wish to extend the qad_domain (below). The current LSM config is also
    below. Assume for the exercise that the disks are /dev/disk/dsk4c and
    /dev/disk/dsk5c and they are both 18GB disks.

    Disks 2 and 3 are currently mirrored for use by the qad_domain. Disks 0 and
    1 are also mirrored for use by root and usr.

    #df -k
    Filesystem 1024-blocks Used Available Capacity Mounted on
    root_domain#root 992064 112582 873224 12% /
    /proc 0 0 0 100% /proc
    usr_domain#usr 14338176 2578563 2661576 50% /usr
    usr_domain#var 14338176 26997 2661576 2% /var
    usr_domain#apps 14338176 8961825 2661576 78% /apps
    qad_domain#backup 17779712 2664952 6815832 29% /qad/backup
    qad_domain#db 17779712 3774926 6815832 36% /db
    qad_domain#bi 17779712 187320 6815832 3% /bi
    qad_domain#tst 17779712 4309987 6815832 39% /tst

    Following is output from the volprint command:
    #volprint
    Disk group: rootdg

    TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0
    PUTIL0
    dg rootdg rootdg - - - - - -

    dm dsk0d-swap dsk0d - 2733269 - - - -
    dm dsk0g-AdvFS dsk0g - 28676359 - - - -
    dm dsk0h dsk0h - 0 - - - -
    dm dsk1d-swap dsk1d - 2733269 - - - -
    dm dsk1g-AdvFS dsk1g - 28676359 - - - -
    dm dsk1h dsk1h - 0 - - - -
    dm root01 dsk0a - 1984135 - - - -
    dm root02 dsk1a - 1984135 - - - -
    dm swap01 dsk0b - 2167221 - - - -
    dm swap02 dsk1b - 2167221 - - - -

    v rootvol root ENABLED 1984135 - ACTIVE - -
    pl rootvol-01 rootvol ENABLED 1984135 - ACTIVE - -
    sd root01-01p rootvol-01 ENABLED 16 0 - - -
    sd root01-01 rootvol-01 ENABLED 1984119 16 - - -
    pl rootvol-02 rootvol ENABLED 1984135 - ACTIVE - -
    sd root02-02p rootvol-02 ENABLED 16 0 - - -
    sd root02-02 rootvol-02 ENABLED 1984119 16 - - -

    v swapvol swap ENABLED 2167221 - ACTIVE - -
    pl swapvol-01 swapvol ENABLED 2167221 - ACTIVE - -
    sd swap01-01 swapvol-01 ENABLED 2167221 0 - - -
    pl swapvol-02 swapvol ENABLED 2167221 - ACTIVE - -
    sd swap02-02 swapvol-02 ENABLED 2167221 0 - - -

    v vol-dsk0d gen ENABLED 2733269 - ACTIVE - -
    pl vol-dsk0d-01 vol-dsk0d ENABLED 2733269 - ACTIVE - -
    sd dsk0d-01 vol-dsk0d-01 ENABLED 2733269 0 - - -
    pl vol-dsk0d-02 vol-dsk0d ENABLED 2733269 - ACTIVE - -
    sd dsk1d-01 vol-dsk0d-02 ENABLED 2733269 0 - - -

    v vol-dsk0g fsgen ENABLED 28676359 - ACTIVE - -
    pl vol-dsk0g-01 vol-dsk0g ENABLED 28676359 - ACTIVE - -
    sd dsk0g-01 vol-dsk0g-01 ENABLED 28676359 0 - - -
    pl vol-dsk0g-02 vol-dsk0g ENABLED 28676359 - ACTIVE - -
    sd dsk1g-01 vol-dsk0g-02 ENABLED 28676359 0 - - -

    Disk group: qad

    TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0
    PUTIL0
    dg qad qad - - - - - -

    dm qad01 dsk2 - 35560968 - - - -
    dm qad02 dsk3 - 35560968 - - - -

    v vol01 fsgen ENABLED 35559424 - ACTIVE - -
    pl vol01-01 vol01 ENABLED 35559424 - ACTIVE - -
    sd qad01-01 vol01-01 ENABLED 35559424 0 - - -
    pl vol01-02 vol01 ENABLED 35559424 - ACTIVE - -
    sd qad02-01 vol01-02 ENABLED 35559424 0 - - -

    A list of the necessary commands would be fabulous.

    Thanks,

    Mark.


  • Next message: Dermot Paikkos: "verify disk integrity"

    Relevant Pages

    • SUMMARY: LSM for beginners
      ... Many thanks to Danielle Georgette for her concise instructions on using LSM. ... I'd actually rename the existing subdisk so that the subdisk name ... Here is a procedure for getting the disks into LSM but it assumes the ... Format disks for use with LSM using the voldisksetup command. ...
      (Tru64-UNIX-Managers)
    • SAN Disk Reservation
      ... the Production system has the SAN disks assigned and utilises LSM to mirror the disks on the local and remote SANs. ... LCH.Clearnet Limited, Registered Office: Aldgate House, ...
      (Tru64-UNIX-Managers)
    • SUMMARY: SAN Disk Reservation
      ... LSM does provide a level of protection when importing disks to ensure disks are not imported to more than one host at a time, however, this can be overridden with a -C option. ... the Production system has the SAN disks assigned and utilises LSM to mirror the disks on the local and remote SANs. ...
      (Tru64-UNIX-Managers)
    • LSM for beginners
      ... I have an Alpha running V5.1A that is configured to use LSM. ... adding the mirror. ... terms how to add the new disks into LSM and the file system. ... A list of the necessary commands would be fabulous. ...
      (Tru64-UNIX-Managers)
    • Re: Attached Storage Configuration - Exchange
      ... Answer to Edwin - Yes you are correct on the RAID setup. ... disks in a RAID 10 config, with the 7th set as a hot spare. ... How were you planning a RAID-10 configuration on 7 disks? ... You'll need a shared LUN for the Logs for each storage group. ...
      (microsoft.public.windows.server.clustering)