Posts tagged eva

EVA disk mount on Tru64

0

Update SCSI devices:
15:52:39 root@host ~#hwmgr scan scsi
hwmgr: Scan request successfully initiated
Look for last found device:
15:52:51 root@host ~#hwmgr show scsi -type disk | tail -1
687: 51 host disk none 0 14 dsk29 [2/9/18]
Ok. We have new disk: device dsk29, device ID 51.
Look for WWN of device:
15:52:52 root@host ~#hwmgr show scsi -did 51 -full | grep WWID
WWID:01000010:6005-08b4-0009-5ffb-0000-9000-00b3-0000
Check if it really what we presented
Prepare disk:.
15:53:05 root@host ~#disklabel -rw -t advfs dsk29
Create new file domain prod17:
15:53:23 root@host ~#mkfdmn dsk29c prod17
Create new fileset prod17 in file domain prod17:
15:53:37 root@host ~#mkfset prod17 prod17
Create mountpoint:
15:53:49 root@host ~#mkdir /prod17
Mount new filest:
15:53:53 root@host ~#mount -t advfs prod17#prod17 /prod17
Add automount to fstab:
15:54:01 root@host ~#echo "prod17#prod17 /prod17 advfs rw 0 2" >> /etc/fstab
Check space:
15:54:11 root@host ~#df -k /*prod17
Filesystem 1024-blocks Used Available Capacity Mounted on
prod17#prod17 104857600 16 104851736 1% /prod17

HPUX v1 SecurePath EVA Vdisk LVM VXFS

0

создаем vdisk на eva и презентуем хосту
запоминаем LUN
на сервере
ioscan
insf -e
swlist — ищем название пакета Secure Path
swlist -l file CPQswsp ищем бинарник менеджера SecurePath
/sbin/spmgr display

TGT/LUN Device WWLUN_ID H/W_Path #_Paths
0/ 7 c15t0d7 6005-08B4-0001-0CE1-0001-5000-0922-0000 4
255/255/1/0.7
Controller Path_Instance HBA Preferred? Path_Status
P5849D4AAOQ07E no
c5t1d0 td1 YES Active
c4t1d0 td0 YES Active

Controller Path_Instance HBA Preferred? Path_Status
P5849D4AAOT044 no
c9t1d0 td1 no Standby
c7t1d0 td0 no Standby

Это новый презентованый диск. Статус Active

mkdir /dev/vgovpi1 — создаем диретокрию для диска LVM
find /dev/ -name “group” -exec ls -l {} \; — выбираем уникальный номер minor number of the group file
mknod /dev/vgovpi1/group c 64 0x090000 — создаем файл устройства LVM
pvcreate /dev/rdsk/c15t0d7
vgcreate -s 2 /dev/vgovpi1/ /dev/dsk/c15t0d7
vgdisplay /dev/vgovpi1 — ищем количество physical Extent’ов
14:40:44 root@uran:/ #vgdisplay /dev/vgovpi1
--- Volume groups ---
VG Name /dev/vgovpi1
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 3583
VGDA 2
PE Size (Mbytes) 2
Total PE 3583
Alloc PE 3583
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

Total PE 3583
lvcreate -l 3583 /dev/vgovpi1 — создаем logical volume
mkfs -F vxfs /dev/vgovpi1/lvol1 –создаем файловую систему
mkdir /ovpi — создаем точку монтирования
mount /dev/vgovpi1/lvol1 /ovpi — монтируем
mount -p — проверяем

Go to Top