Seagate ST318404LC Guida Utente Pagina 34

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 67
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 33
Dell Compellent Confidential HP-UX Best Practices 11i v2 and 11i v1
Page|34
Since this new LUN shares the same Volume Group name and Volume Group Instance number as
“vgdemo”; we will need to create a new Volume Group and change the Instance number on this LUN.
Type: ls –la /dev/*/group | awk ‘{print $6}’
(This tells us that only VGID 0 and 1 are in use, we will create the next Volume Group with VGID 2).
0x000000
0x010000
Type: mkdir –p /dev/vgdemo_import; mknod /dev/vgdemo_import/group c 64 0x020000
Type: vgchgid /dev/rdsk/c11t0d3
We would finally import the new LUN with the following command.
Type: vgimport –v vgdemo_import /dev/dsk/c11t0d3
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
Activate this new Volume Group.
Type: vgchange –a y /dev/vgdemo_import
Activated volume group.
Volume group "/dev/vgdemo_import" has been successfully changed.
And extend the Volume Group with the alternate path to this LUN.
Type: vgextend /dev/vgdemo_import /dev/dsk/c47t0d3
Volume group "/dev/vgdemo_import" has been successfully extended.
Volume Group configuration for /dev/vgdemo_import has been saved in
/etc/lvmconf/vgdemo_import.conf
As a manner of best practice, we will then “fsck” this new Logical Volume and mount it to a new
directory path. This would conclude the procedure in bringing this Volume back to the same host.
Type: fsck –F vxfs /dev/vgdemo_import/lvol1
file system is clean - log replay is not required
Type: mkdir –p /vgdemo_import/lvol1
Type: mount –F vxfs –o largefiles /dev/vgdemo_import/lvol1 /vgdemo_import/lvol1
Vedere la pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 66 67

Commenti su questo manuale

Nessun commento