LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-01-2014, 10:16 AM   #1
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Rep: Reputation: Disabled
Post File System and Array Confusion


Hi Friends,
I have a host(Suse Linux 10.4) which has 2 luns presented from 2 different arrays HP eva and xp. we are planning to migrate hp eva to 3par. When i look for physical volume i see /dev/dm-4, /dev/dm-5, /dev/dm-7and when i look for multipath -ll i see dm-8,dm-9,dm-7. So i can't confirm which physical volumes or filesystem reside on the EVA array as multipath names are not used in same way during the physcial volume creation. Is there anyother way i can find which file system/Physical volume resides on the EVA array ?
Please, Let me know if you need more information.
Please reply. any help is greatly appreciated.

Sample Output:
From Multipath output i can see storage is coming from 2 different arrays:
dm -6 and dm -7 are coming from EVA and the rest from XP array.

Code:
#-> multipath -ll
mpathe (360060e8016008400000100840000443f) dm-10 HP,OPEN-V
[size=16G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:2:1 sdp        8:240  [active][ready]
 \_ 0:0:1:1 sde        8:64   [active][ready]
mpathd (360060e8016008400000100840000443e) dm-11 HP,OPEN-V
[size=20G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:2:0 sdo        8:224  [active][ready]
 \_ 0:0:1:0 sdd        8:48   [active][ready]
mpathb (3600508b4000d3f600000600006430000) dm-7 HP,HSV450
[size=40G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:4:1 sdw        65:96  [active][ready]
 \_ 0:0:4:1 sdt        65:48  [active][ready]
 \_ 1:0:3:1 sds        65:32  [active][ready]
 \_ 0:0:3:1 sdl        8:176  [active][ready]
 \_ 1:0:1:1 sdk        8:160  [active][ready]
 \_ 0:0:2:1 sdh        8:112  [active][ready]
 \_ 1:0:0:1 sdc        8:32   [active][ready]
 \_ 0:0:0:1 sda        8:0    [active][ready]
mpatha (3600508b4000d3f600000600006d30000) dm-6 HP,HSV450
[size=11G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:4:2 sdx        65:112 [active][ready]
 \_ 0:0:4:2 sdv        65:80  [active][ready]
 \_ 1:0:3:2 sdu        65:64  [active][ready]
 \_ 0:0:3:2 sdn        8:208  [active][ready]
 \_ 1:0:1:2 sdm        8:192  [active][ready]
 \_ 0:0:2:2 sdj        8:144  [active][ready]
 \_ 1:0:0:2 sdi        8:128  [active][ready]
 \_ 0:0:0:2 sdb        8:16   [active][ready]
mpathg (360060e80160084000001008400004441) dm-8 HP,OPEN-V
[size=11G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:2:3 sdr        65:16  [active][ready]
 \_ 0:0:1:3 sdg        8:96   [active][ready]
mpathf (360060e80160084000001008400004440) dm-9 HP,OPEN-V
[size=5.0G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:2:2 sdq        65:0   [active][ready]
 \_ 0:0:1:2 sdf        8:80   [active][ready]
[root@itsusmdsapl14:/root]#
Code:
#-> pvs
  PV                VG   Fmt  Attr PSize   PFree
  /dev/cciss/c0d0p3 vg00 lvm2 a-   125.34G   43.09G
  /dev/dm-10        B    lvm2 a-    16.00G    1.00G
  /dev/dm-11        A    lvm2 a-    20.00G   20.00G
  /dev/dm-12        A    lvm2 a-    20.50G   20.50G
  /dev/dm-13        B    lvm2 a-    15.73G   15.73G
  /dev/dm-14        vg01 lvm2 a-     3.76G    1.26G
  /dev/dm-6         vg02 lvm2 a-    11.00G 1020.00M
  /dev/dm-8         vg02 lvm2 a-    11.00G   11.00G
  /dev/dm-9         vg01 lvm2 a-     5.00G    5.00G
[root@itsusmdsapl14:/root]#
Code:
#-> vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  A      2   0   0 wz--n-  40.50G 40.50G
  B      2   1   0 wz--n-  31.73G 16.73G
  vg00   1   6   0 wz--n- 125.34G 43.09G
  vg01   2   2   0 wz--n-   8.76G  6.26G
  vg02   2   1   0 wz--n-  21.99G 11.99G
[root@itsusmdsapl14:/root]#
Code:
#-> lvs
  LV          VG   Attr   LSize   Origin Snap%  Move Log Copy%
  usr-sap-RPU B    -wi-ao  15.00G
  lv00        vg00 -wi-ao  10.00G
  lv01        vg00 -wi-ao   5.00G
  lv02        vg00 -wi-ao  10.00G
  lv03        vg00 -wi-ao   5.00G
  swap        vg00 -wi-ao  50.00G
  swap1       vg00 -wi-ao   2.25G
  sapmnt      vg01 -wi-ao 512.00M
  usr-sap     vg01 -wi-ao   2.00G
  lv00        vg02 -wi-ao  10.00G
[root@itsusmdsapl14:/root]#
Code:
#-> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg00-lv00
                      9.9G  5.1G  4.4G  54% /
udev                   71G  428K   71G   1% /dev
/dev/cciss/c0d0p1     130M   60M   63M  49% /boot
/dev/mapper/vg00-lv03
                      5.0G  933M  3.8G  20% /home
/dev/mapper/vg00-lv01
                      5.0G  734M  4.0G  16% /tmp
/dev/mapper/vg00-lv02
                      9.9G  2.8G  6.6G  30% /var
/dev/mapper/vg01-sapmnt
                      496M   17M  480M   4% /sapmnt
/dev/mapper/vg01-usr--sap
                      2.0G  489M  1.5G  25% /usr/sap
/dev/mapper/B-usr--sap--RPU
                       15G  5.3G  9.3G  37% /usr/sap/RPU
/dev/mapper/vg02-lv00
                      9.9G  1.1G  8.9G  11% /oracle
ncsusnasmid01:/vol/hcs/sapsw_crossroad
                      2.0T  2.0T   35G  99% /sapsw
mddxrdd2:/export/usr/sap/transRPUDVL
                       90G   68G   21G  77% /usr/sap/transRPUDVL
itsusravmdd02:/vol/itsusravmdd02_hcs/hcs_xroads_audit_ECC
                      100G   76G   25G  76% /xroads/audit/ECC
dbciAPU.jnj.com:/export/data/interface/APUCLNT300
                      150G  3.4G  146G   3% /data/interface/APUCLNT300
dbciBPU.jnj.com:/export/data/interface/BPUCLNT400
                      150G  6.8G  143G   5% /data/interface/BPUCLNT400
ncsusnasent03.na.jnj.com:/vol/its3/its_diq_na_win_prod/PowerCenter/infa_shared/HCSUS_CRD2/Reports
                      200G   26M  199G   1% /data/interface/Conversions/Informatica/outbound
dbciRPU:/export/data/interface/RPUCLNT100
                      891G   76G  765G   9% /data/interface/RPUCLNT100
d59RPU:/export/usr/sap/transRPUPRD
                      203G  124G   75G  63% /usr/sap/transRPUPRD
itsus012:/data/interface/Conversions
                      200G   26M  199G   1% /data/interface/Conversions
dbciRPU.na.jnj.com:/export/sapmnt/RPU
                       24G   11G   13G  47% /sapmnt/RPU
itsusravmdd01:/vol/itsusravmdd01_hcs/hcs_sap_prod
                      500G  1.6G  499G   1% /usr/sap/PRD/BTBDCFILES
itsusravlnx01.jnj.com:/vol/itsusravlnx01_its/linux_images/itsusmdsapl14.jnj.com
                       10T  8.4T  1.7T  84% /tmp/rear.1559/netfs
[root@itsusmdsapl14:/root]#

Code:
#-> more /etc/fstab
/dev/cciss/c0d0p1    /boot                ext3       acl,user_xattr        1 2
/dev/cciss/c0d0p2    swap                 swap       defaults              0 0
/dev/vg00/lv00       /                    ext3       defaults              1 1
/dev/vg00/lv03       /home                ext3       defaults              1 2
/dev/vg00/lv01       /tmp                 ext3       defaults              1 2
/dev/vg00/lv02       /var                 ext3       defaults              1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/vg00/swap       swap                 swap       pri=-1                0 0
/dev/vg01/sapmnt     /sapmnt                 ext3       defaults              1 2
/dev/vg01/usr-sap    /usr/sap                 ext3       defaults              1 2
/dev/B/usr-sap-RPU   /usr/sap/RPU                 ext3       defaults              1 2
ncsusnasmid01:/vol/hcs/sapsw_crossroad  /sapsw  nfs rw,hard,bg,intr 0 0
mddxrdd2:/export/usr/sap/transRPUDVL    /usr/sap/transRPUDVL    nfs rw,hard,bg,intr 0 0
dbciRPU:/export/data/interface/RPUCLNT100 /data/interface/RPUCLNT100    nfs rw,hard,bg,intr 0 0
d59RPU:/export/usr/sap/transRPUPRD      /usr/sap/transRPUPRD    nfs rw,hard,bg,intr 0 0
/dev/vg02/lv00       /oracle       ext3       defaults              0 0
/dev/vg00/swap1      swap       swap       pri=-1        0 0
itsusravmdd02:/vol/itsusravmdd02_hcs/hcs_xroads_audit_ECC       /xroads/audit/ECC       nfs   rw,hard,bg,intr  0 0
d59RPU.na.jnj.com:/export/usr/sap/transRPUPRD   /usr/sap/transRPUPRD   nfs rw,bg,hard,intr 0  0
itsus012:/data/interface/Conversions /data/interface/Conversions   nfs   rw,hard,bg,intr  0 0
ncsusnasent03.na.jnj.com:/vol/its3/its_diq_na_win_prod/PowerCenter/infa_shared/HCSUS_CRD2/Reports /data/interface/Conversions/Infor
matica/outbound  nfs   rw,hard,bg,intr  0 0
dbciRPU.na.jnj.com:/export/sapmnt/RPU            /sapmnt/RPU  nfs rw,hard,bg,intr 0 0
dbciAPU.jnj.com:/export/data/interface/APUCLNT300   /data/interface/APUCLNT300  nfs   rw,hard,bg,intr  0 0
dbciBPU.jnj.com:/export/data/interface/BPUCLNT400   /data/interface/BPUCLNT400  nfs   rw,hard,bg,intr  0 0
itsusravmdd01:/vol/itsusravmdd01_hcs/hcs_sap_prod /usr/sap/PRD/BTBDCFILES nfs   rw,hard,bg,intr  0 0

Last edited by munna529; 04-01-2014 at 01:00 PM.
 
Old 04-01-2014, 10:25 AM   #2
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Code:
#-> fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       20997    21500912   83  Linux
/dev/sda2           20998       37111    16500736   83  Linux
/dev/sda3           37112       40960     3941376   83  Linux
Disk /dev/sdb: 11.8 GB, 11811160064 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       20997    21500912   83  Linux
/dev/sdc2           20998       37111    16500736   83  Linux
/dev/sdc3           37112       40960     3941376   83  Linux
Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1               1          17      136521   83  Linux
/dev/cciss/c0d0p2              18        1481    11759580   82  Linux swap / Solaris
/dev/cciss/c0d0p3            1482       17844   131435797+  8e  Linux LVM
Disk /dev/sdd: 21.4 GB, 21475491840 bytes
64 heads, 32 sectors/track, 20480 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 17.1 GB, 17180590080 bytes
64 heads, 32 sectors/track, 16384 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdf: 5369 MB, 5369364480 bytes
166 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 10292 * 512 = 5269504 bytes
Disk /dev/sdf doesn't contain a valid partition table
Disk /dev/sdg: 11.8 GB, 11811225600 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdg doesn't contain a valid partition table
Disk /dev/sdh: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdh1               1       20997    21500912   83  Linux
/dev/sdh2           20998       37111    16500736   83  Linux
/dev/sdh3           37112       40960     3941376   83  Linux
Disk /dev/sdi: 11.8 GB, 11811160064 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdi doesn't contain a valid partition table
Disk /dev/sdj: 11.8 GB, 11811160064 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdj doesn't contain a valid partition table
Disk /dev/sdk: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdk1               1       20997    21500912   83  Linux
/dev/sdk2           20998       37111    16500736   83  Linux
/dev/sdk3           37112       40960     3941376   83  Linux
Disk /dev/sdl: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdl1               1       20997    21500912   83  Linux
/dev/sdl2           20998       37111    16500736   83  Linux
/dev/sdl3           37112       40960     3941376   83  Linux
Disk /dev/sdm: 11.8 GB, 11811160064 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdm doesn't contain a valid partition table
Disk /dev/sdn: 11.8 GB, 11811160064 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdn doesn't contain a valid partition table
Disk /dev/sdo: 21.4 GB, 21475491840 bytes
64 heads, 32 sectors/track, 20480 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdo doesn't contain a valid partition table
Disk /dev/sdp: 17.1 GB, 17180590080 bytes
64 heads, 32 sectors/track, 16384 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdp doesn't contain a valid partition table
Disk /dev/sdq: 5369 MB, 5369364480 bytes
166 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 10292 * 512 = 5269504 bytes
Disk /dev/sdq doesn't contain a valid partition table
Disk /dev/sdr: 11.8 GB, 11811225600 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdr doesn't contain a valid partition table
Disk /dev/sds: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sds1               1       20997    21500912   83  Linux
/dev/sds2           20998       37111    16500736   83  Linux
/dev/sds3           37112       40960     3941376   83  Linux
Disk /dev/sdt: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdt1               1       20997    21500912   83  Linux
/dev/sdt2           20998       37111    16500736   83  Linux
/dev/sdt3           37112       40960     3941376   83  Linux
Disk /dev/sdu: 11.8 GB, 11811160064 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdu doesn't contain a valid partition table
Disk /dev/sdv: 11.8 GB, 11811160064 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdv doesn't contain a valid partition table
Disk /dev/sdw: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdw1               1       20997    21500912   83  Linux
/dev/sdw2           20998       37111    16500736   83  Linux
/dev/sdw3           37112       40960     3941376   83  Linux
Disk /dev/sdx: 11.8 GB, 11811160064 bytes
64 heads, 32 sectors/track, 11264 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdx doesn't contain a valid partition table
Disk /dev/dm-0: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 53.6 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-4 doesn't contain a valid partition table
Disk /dev/dm-5: 2415 MB, 2415919104 bytes
255 heads, 63 sectors/track, 293 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-5 doesn't contain a valid partition table
Disk /dev/dm-6: 11.8 GB, 11811160064 bytes
255 heads, 63 sectors/track, 1435 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-6 doesn't contain a valid partition table
Disk /dev/dm-7: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
     Device Boot      Start         End      Blocks   Id  System
/dev/dm-7p1               1       20997    21500912   83  Linux
/dev/dm-7p2           20998       37111    16500736   83  Linux
/dev/dm-7p3           37112       40960     3941376   83  Linux
Disk /dev/dm-8: 11.8 GB, 11811225600 bytes
255 heads, 63 sectors/track, 1435 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-8 doesn't contain a valid partition table
Disk /dev/dm-9: 5369 MB, 5369364480 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-9 doesn't contain a valid partition table
Disk /dev/dm-10: 17.1 GB, 17180590080 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-10 doesn't contain a valid partition table
Disk /dev/dm-11: 21.4 GB, 21475491840 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-11 doesn't contain a valid partition table
Disk /dev/dm-12: 22.0 GB, 22016933888 bytes
255 heads, 63 sectors/track, 2676 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-12 doesn't contain a valid partition table
Disk /dev/dm-13: 16.8 GB, 16896753664 bytes
255 heads, 63 sectors/track, 2054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-13 doesn't contain a valid partition table
Disk /dev/dm-14: 4035 MB, 4035969024 bytes
255 heads, 63 sectors/track, 490 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-14 doesn't contain a valid partition table
Disk /dev/dm-15: 16.1 GB, 16106127360 bytes
255 heads, 63 sectors/track, 1958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-15 doesn't contain a valid partition table
Disk /dev/dm-16: 536 MB, 536870912 bytes
255 heads, 63 sectors/track, 65 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-16 doesn't contain a valid partition table
Disk /dev/dm-17: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-17 doesn't contain a valid partition table
Disk /dev/dm-18: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-18 doesn't contain a valid partition table

Last edited by munna529; 04-01-2014 at 12:58 PM.
 
Old 04-01-2014, 12:32 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Please put your commands and output inside [code] tags to retain the formatting and improve legibility. It's very difficult to read your post with all of the information smashed together as it is.
 
Old 04-01-2014, 01:02 PM   #4
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Hi eggroll,

sorry for redundant post and edited the information with required code format.
Please provide your thoughts on this issue.

Thanks
 
Old 04-01-2014, 01:46 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
The two HSV450 arrays, dm-6 and dm-7, are comprised of 8 disks each, 11.8G each for dm-6, 42.9G each for dm-7 (see your multipath output for a list of the device names)

dm-6 is used in VG vg02, which has one LV, lv00. This LV is mounted at /oracle

dm-7 is split into three partitions, a 20.5G, 15.7G, and 3.75G. My best guess says that these three partitions are then re-named as dm-12, dm-13, and dm-14.
dm-12 is used in VG A, which has no LV and is not mounted anywhere
dm-13 is used in VG B, which has one LV, usr-sap-RPU. This LV is mounted at /usr/sap/RPU
dm-14 is used in VG vg01, which has 2 LVs, sapmnt and usr-sap. These LVs are mounted at /sapmnt and /usr/sap


So, my guess is that your two EVA arrays are ultimately being used in /oracle, /usr/sap/RPU, /sapmnt, and /usr/sap

You should take that analysis with a grain of salt though, as I have very little experience with LVM for exactly this reason.

Last edited by suicidaleggroll; 04-01-2014 at 01:48 PM.
 
1 members found this post helpful.
Old 04-01-2014, 02:03 PM   #6
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks alot eggroll it makes sense now and i see from the ouput of fdisk -l i see dm-7 has 3 partitions:

Disk /dev/dm-7: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/dm-7p1 1 20997 21500912 83 Linux
/dev/dm-7p2 20998 37111 16500736 83 Linux
/dev/dm-7p3 37112 40960 3941376 83 Linux

But how did you say these 3 partitions has these figures 20.5G, 15.7G, and 3.75G ? am i missing anything or is it simple math calculation if it is a dumb question please forgive and let me know i am just being confused about this and what to learn more ?

Thanks
 
Old 04-01-2014, 02:12 PM   #7
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
But from the PVS o/p: we can see
/dev/dm-10 B lvm2 a- 16.00G 1.00G
/dev/dm-13 B lvm2 a- 15.73G 15.73G

where dm-10 is HP OpenV and dm-13 is HP HSV array respectively

From Vgs output:
B 2 1 0 wz--n- 31.73G 16.73G

From LVS output:
usr-sap-RPU B -wi-ao 15.00G

so as per output i am confused either eva and xp array is being used for /usr/sap/RPU ? how to verify this ?

Thanks
 
Old 04-01-2014, 04:33 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by munna529 View Post
Thanks alot eggroll it makes sense now and i see from the ouput of fdisk -l i see dm-7 has 3 partitions:

Disk /dev/dm-7: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/dm-7p1 1 20997 21500912 83 Linux
/dev/dm-7p2 20998 37111 16500736 83 Linux
/dev/dm-7p3 37112 40960 3941376 83 Linux

But how did you say these 3 partitions has these figures 20.5G, 15.7G, and 3.75G ? am i missing anything or is it simple math calculation if it is a dumb question please forgive and let me know i am just being confused about this and what to learn more ?

Thanks
fdisk tells you the number of 1K blocks in each partition.
21500912 = 20.5 GB
16500736 = 15.74 GB
3941376 = 3.76 GB
 
Old 04-01-2014, 04:36 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by munna529 View Post
But from the PVS o/p: we can see
/dev/dm-10 B lvm2 a- 16.00G 1.00G
/dev/dm-13 B lvm2 a- 15.73G 15.73G

where dm-10 is HP OpenV and dm-13 is HP HSV array respectively

From Vgs output:
B 2 1 0 wz--n- 31.73G 16.73G

From LVS output:
usr-sap-RPU B -wi-ao 15.00G

so as per output i am confused either eva and xp array is being used for /usr/sap/RPU ? how to verify this ?

Thanks
Yes, only 15 GB of the available 31.73GB in LV B is being used (you can see from your vgs output that there's still 16.73 GB available). As far as which PVs actually contain the data in the usr-sap-RPU LV, I can't say. It's probably spread across both dm-10 and dm-13.
 
Old 04-01-2014, 04:48 PM   #10
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Eggroll thanks alot sir you just cleared most of my doubts on my head. all i can say is "YOU ROCK" your thoughts are really helpful for me. Thanks for your time and views.
 
Old 04-01-2014, 05:01 PM   #11
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
I have similar kind of issue on other server can you please provide your thought on this one also it will be very helpful :

in the multipath and pvs you can it is dm-4 but when i look for df -h i see filesystem as dm-5 and dm-6. When i looked in /etc/fstab file i see it was mounted using labels. So not sure whether they created file system directly on disk or is it really under lvm ?
Please provide your thoughts.


Code:
#-> multipath -ll
mpatha (3600508b4000712310000900002be0000) dm-4 HP,HSV210
[size=100G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:3:1 sdh        8:112 [active][ready]
 \_ 1:0:2:1 sdg        8:96  [active][ready]
 \_ 1:0:1:1 sdf        8:80  [active][ready]
 \_ 1:0:0:1 sde        8:64  [active][ready]
 \_ 0:0:3:1 sdd        8:48  [active][ready]
 \_ 0:0:2:1 sdc        8:32  [active][ready]
 \_ 0:0:1:1 sdb        8:16  [active][ready]
 \_ 0:0:0:1 sda        8:0   [active][ready]
Code:
#-> pvs
  PV                VG   Fmt  Attr PSize   PFree
  /dev/cciss/c0d0p3 vg00 lvm2 a-   120.69G 90.69G
  /dev/dm-4         vg01 lvm2 a-   100.00G     0
[root@itsusraappsp04:/root]#
Code:
#-> vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  vg00   1   4   0 wz--n- 120.69G 90.69G
  vg01   1   2   0 wz--n- 100.00G     0
[root@itsusraappsp04:/root]#
Code:
#-> lvs
  LV   VG   Attr   LSize  Origin Snap%  Move Log Copy%
  lv00 vg00 -wi-ao 10.00G
  lv01 vg00 -wi-ao  5.00G
  lv02 vg00 -wi-ao 10.00G
  lv03 vg00 -wi-ao  5.00G
  lv00 vg01 -wi-ao 50.00G
  lv01 vg01 -wi-ao 50.00G
Code:
#-> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg00-lv00
                      9.9G  4.9G  4.5G  53% /
udev                   32G  220K   32G   1% /dev
/dev/cciss/c0d0p1     130M   69M   55M  56% /boot
/dev/mapper/vg00-lv03
                      5.0G  215M  4.5G   5% /home
/dev/mapper/vg00-lv01
                      5.0G  3.2G  1.5G  69% /tmp
/dev/mapper/vg00-lv02
                      9.9G  1.5G  7.9G  16% /var
/dev/dm-5              50G   11G   40G  21% /opt/appsrv
/dev/dm-6              50G   37G   14G  74% /opt/appsrv/log
ncsranaseap09.na.jnj.com:/vol/appsrv/appsrv_naslog
                      400G  381G   20G  96% /opt/appsrv/nas/log
ncsranaseap09.na.jnj.com:/vol/appsrv/prod_nas
                      400G  381G   20G  96% /opt/appsrv/nas
ncsranaseap09.na.jnj.com:/vol/appsrv/etqcpc_training
                      200G  140G   61G  70% /opt/appsrv/nas/npwl021T/etqcpc-training
ncsusnasmid03:/vol/ncsusnasent03_its3/etq_backup
                      100G  1.5G   99G   2% /etq_backup
Code:
#-> more /etc/fstab
/dev/cciss/c0d0p1    /boot                ext3       acl,user_xattr        1 2
/dev/cciss/c0d0p2    swap                 swap       defaults              0 0
/dev/vg00/lv00       /                    ext3       defaults              1 1
/dev/vg00/lv03       /home                ext3       defaults              1 2
/dev/vg00/lv01       /tmp                 ext3       defaults              1 2
/dev/vg00/lv02       /var                 ext3       defaults              1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
LABEL=OptAppSrv       /opt/appsrv        ext3       defaults              0 0
LABEL=OptAppSrvLog    /opt/appsrv/log    ext3       defaults              0 0
#ncsranaseap09.na.jnj.com:/vol/appsrv/appsrv_nas     /opt/appsrv/nas nfs rw,hard,bg,intr 1 2
ncsranaseap09.na.jnj.com:/vol/appsrv/appsrv_naslog  /opt/appsrv/nas/log nfs rw,hard,bg,intr 1 2
ncsranaseap09.na.jnj.com:/vol/appsrv/prod_nas      /opt/appsrv/nas nfs rw,hard,bg,intr 0 0
ncsusnasmid03:/vol/ncsusnasent03_its3/etq_backup   /etq_backup nfs rw,hard,bg,intr 0 0
ncsranaseap09.na.jnj.com:/vol/appsrv/etqcpc_training  /opt/appsrv/nas/npwl021T/etqcpc-training      nfs rw,hard,bg,intr 0 0
[root@itsusraappsp04:/root]#
Code:
#-> fdisk -l

Disk /dev/sda: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sde doesn't contain a valid partition table

Disk /dev/sdf: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdf doesn't contain a valid partition table

Disk /dev/sdg: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdg doesn't contain a valid partition table

Disk /dev/sdh: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdh doesn't contain a valid partition table

Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1               1          17      136521   83  Linux
/dev/cciss/c0d0p2              18        2089    16643340   82  Linux swap / Solaris
/dev/cciss/c0d0p3            2090       17844   126552037+  8e  Linux LVM

Disk /dev/dm-0: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/dm-4: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-4 doesn't contain a valid partition table

Disk /dev/dm-5: 53.6 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-5 doesn't contain a valid partition table

Disk /dev/dm-6: 53.6 GB, 53682896896 bytes
255 heads, 63 sectors/track, 6526 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-6 doesn't contain a valid partition table
#
Please let me know your thought.
 
Old 04-01-2014, 05:26 PM   #12
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
dm-4 is the sole member of vg01

vg01 has two LVs, lv00 and lv01, both 50 GB

For some reason it's not mounting using lv00 and lv01 though, it's using dm-5 and dm-6. I can only guess that they're equivalent (dm-5 = lv00 and dm-6 = lv01 or vice versa), but I'm afraid I'm not familiar enough with LVM to explain how/why or go into more detail.

This ridiculously complicated and unnecessary abstraction is why I don't use LVM if I can help it.

Last edited by suicidaleggroll; 04-01-2014 at 05:27 PM.
 
Old 04-01-2014, 08:44 PM   #13
munna529
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks alot eggroll for the information. I think regarding the last question i will have to wait until someone provides me some information even i looked online but didn't find any solution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rebuilt RAID array with old mount points present; file system check fails on boot... mvb187 Linux - Software 3 12-04-2009 08:38 AM
bash: use file as input into array, parse out other variables from array using awk beeblequix Linux - General 2 11-20-2009 10:07 AM
Disk Error in Raid array file system inode tables. jpbland51 Linux - Newbie 6 05-21-2008 06:27 AM
System confusion in /etc/mtab Sjonnie48 Ubuntu 4 07-17-2007 12:25 PM
File System confusion hotrodowner Linux - Software 1 07-04-2002 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration