[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 614
  • Last Modified:

RHEL 6 and disks (an IMM)

I need to know if I have more than one usable drive on my machine.  So that I can save the existing data on the drive I currently have an OS and app on, and install another OS with an app on the same machine, but to save the existing data so I can address its problems in the future.

I captured the following data, but it looks as if I only have one available drive

Is that correct, or is it possible that I have another drive, but I need to look into the IMM to determine that ?

[root@WEST5 dev]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_west5-lv_root
                      51606140  10252808  38731892  21% /
tmpfs                 74336116        88  74336028   1% /dev/shm
/dev/sda2               495844     60023    410221  13% /boot
/dev/sda1               204580       240    204340   1% /boot/efi
/dev/mapper/vg_west5-lv_home
                      21867732   1888692  18868208  10% /home
[root@WEST5 dev]#
[root@WEST5 dev]# ls sd*
sda  sda1  sda2  sda3
[root@WEST5 dev]#
[root@WEST5 dev]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               vg_west5
  PV Size               136.05 GiB / not usable 4.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              34827
  Free PE               0
  Allocated PE          34827
  PV UUID               FArWsp-cZjx-SKDy-3Rje-d9v6-TrGP-eOmKGE

[root@WEST5 dev]# vgdisplay
  --- Volume group ---
  VG Name               vg_west5
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               136.04 GiB
  PE Size               4.00 MiB
  Total PE              34827
  Alloc PE / Size       34827 / 136.04 GiB
  Free  PE / Size       0 / 0
  VG UUID               XBe3Kc-ZPxm-37UZ-va1b-WJTf-iZdG-vLZYho

[root@WEST5 dev]# lgdisplay
-bash: lgdisplay: command not found
[root@WEST5 dev]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/vg_west5/lv_root
  VG Name                vg_west5
  LV UUID                x01qNK-DOAP-WJ63-L2c5-ZXwJ-rsD7-26dEan
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                50.00 GiB
  Current LE             12800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

  --- Logical volume ---
  LV Name                /dev/vg_west5/lv_home
  VG Name                vg_west5
  LV UUID                Ifi2a1-OkFw-gx9o-h841-DfEO-KrJv-fLzfk1
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                21.19 GiB
  Current LE             5424
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

  --- Logical volume ---
  LV Name                /dev/vg_west5/lv_swap
  VG Name                vg_west5
  LV UUID                8P7cD6-oizQ-3dOk-HGXU-JmaU-c2ep-EN0CMa
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                64.86 GiB
  Current LE             16603
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

[root@WEST5 dev]#

Open in new window

0
Los Angeles1
Asked:
Los Angeles1
  • 2
  • 2
1 Solution
 
woolmilkporcCommented:
Hi,

you have one physical disk drive, /dev/sda with three partitions, sda1, sda2, sda3.

sda1 contains /boot, sda2 contains /boot/efi.

sda3 acts as a physical volume for LVM use in VG vg_west5.

This Vg contains three logical volumes, which contain the filesystems / and  /home and a swap LV.

That's all.

Seems there is no other drive present.

wmp

0
 
woolmilkporcCommented:
Verify the components of the machine by displaying its Vital Product Data via IMM:

Log in to the IMM, in the navigation pane click "Vital Product Data", scroll down to "Component Level VPD".

Check FRU/serial/manufacturer.
0
 
Los Angeles1Author Commented:
I found it in the IMM, under System Settings ->Adapters and UEFI drivers.  

In there I only had a single SAS driver and 2 10GB card adapters.  Nothing else.

Thanks
0
 
Los Angeles1Author Commented:
The VPD was as follows:

FRU Number 	FRU Name 	        Serial Number 	Mfg ID
59Y3915	        DASD Backplane 1	Y010UN11H0CR	FOXC
39Y7227      	Power Supply 1   	K10110AB20Z	ACBE
39Y7225   	Power Supply 2   	K10810BH3K1	EMER

Open in new window



Thus, only a single DASD

Thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now