LSM for beginners

From: Gutierrez, David (david.gutierrez_at_hp.com)
Date: 07/20/04

  • Next message: Peter.Stern_at_weizmann.ac.il: "XP1000 won't boot (again)"
    Date: Tue, 20 Jul 2004 08:44:05 -0500
    To: tru64-unix-managers@ornl.gov
    
    

    Mark,
    Kind of a good gesture, can you include the latest information for
    everyone so we all can have it.
    TIA,
    David

    -----Original Message-----
    From: tru64-unix-managers-owner@ornl.gov
    [mailto:tru64-unix-managers-owner@ornl.gov] On Behalf Of Mark Schubert
    Sent: Tuesday, July 20, 2004 2:16 AM
    To: 'tru64-unix-managers@ornl.gov'
    Subject: LSM for beginners
    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: Peter.Stern_at_weizmann.ac.il: "XP1000 won't boot (again)"

    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)
    • hwmgr: Error (95) Cannot start operation
      ... I have a few disks in 2 internal shelves, set to mirror long ago(mirror ... LSM started to work unstable, so i divided the mirror sets, remove the ... database, but got an error message, sounds exactly: hwmgr: Error ...
      (Tru64-UNIX-Managers)
    • LSM for beginners
      ... I have an Alpha running V5.1A that is configured to use LSM. ... but need to add 2 new disks as a mirror into an existing ... The current LSM config is also ... A list of the necessary commands would be fabulous. ...
      (Tru64-UNIX-Managers)