Snapdrive for Unix
La versione in lingua italiana fornita proviene da una traduzione automatica. Per eventuali incoerenze, fare riferimento alla versione in lingua inglese.

Creazione di un’entità LVM e specifica del LUN

Collaboratori

È possibile creare un’entità host come un file system, un volume logico o un gruppo di dischi e specificare il LUN creato come parte di esso.

Fasi
  1. Nella riga di comando, immettere il seguente comando:

    snapdrive storage create -host_lvm_fspec -lun long_lun_name [lun_name…​] -lunsize size [-igroup ig_name [ig_name…​]] [{ -reserve | -noreserve }]

    Questo esempio crea il file system /mnt/acctfs con il file system in base all’host. Imposta tre LUN sull’acctfiler del sistema di storage. Ogni LUN è di 10 GB:

    `# snapdrive storage create -fs /mnt/acctfs -fstype jfs2 -lun acctfiler:/vol/vol1/lunA lunB lunC -lunsize 10g*

    LUN acctfiler:/vol/vol1/lunA ... created
    LUN acctfiler:/vol/vol1/lunB ... created
    LUN acctfiler:/vol/vol1/lunC ... created
    mapping new lun(s) ... done
    discovering new lun(s) ... done
    LUN to device file mappings:
    - acctfiler:/vol/vol1/lunA => hdisk2
    - acctfiler:/vol/vol1/lunB => hdisk3
    - acctfiler:/vol/vol1/lunC => hdisk4
    disk group acctfs_SdDg created
    host volume acctfs_SdHv created
    file system /mnt/acctfs created
    LUN acctfiler:/vol/vol1/lunA ... created
    LUN acctfiler:/vol/vol1/lunB ... created
    LUN acctfiler:/vol/vol1/lunC ... created
    mapping new lun(s) ... done
    discovering new lun(s) ... done
    LUN to device file mappings:
    - acctfiler:/vol/vol1/lunA => /dev/vx/rdmp/c4t0d3s2
    - acctfiler:/vol/vol1/lunB => /dev/vx/rdmp/c4t0d7s2
    - acctfiler:/vol/vol1/lunC => /dev/vx/rdmp/c4t0d8s2
    disk group acctfsvg created
    host volume acctfshv created
    file system /mnt/acctfs created