LVM Install a New Physical Volume: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Installation of a New Physical Volume == # <tt>'''# diag'''</tt> # Select: <tt>'''Task Selection'''</tt> # Select: <tt>'''Hot Plug Task'''</tt> # Select: <tt>'''SCSI and SC...") |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Installation of a New Physical Volume == | == AIX == | ||
=== Installation of a New Physical Volume === | |||
# <tt>'''# diag'''</tt> | # <tt>'''# diag'''</tt> | ||
# Select: <tt>'''Task Selection'''</tt> | # Select: <tt>'''Task Selection'''</tt> | ||
# Select: <tt>'''Hot Plug Task'''</tt> | # Select: <tt>'''Hot Plug Task'''</tt> | ||
# Select: <tt>'''SCSI and SCSI Raid Hot Plug Manager'''</tt> | # Select: <tt>'''SCSI and SCSI Raid Hot Plug Manager'''</tt> | ||
# Select: <tt>''' | # Select: <tt>'''Attach a Device Attached to an SCSI Hot Swap Enclosure Device'''</tt> | ||
# Select: <tt>'''Slot #'''</tt> of the physical volume you wish to remove | # Select: <tt>'''Slot #'''</tt> of the physical volume you wish to remove | ||
# Follow the on-screen instructions to | # Follow the on-screen instructions to install the new physical volume | ||
== Linux == | |||
=== Installation of a New Physical Volume === | |||
# Partitioning the physical volume | |||
## <tt>'''# fdisk /dev/XXX'''</tt> | |||
### Command (m for help): <tt>'''n'''</tt> | |||
### <tt>'''p'''</tt> | |||
### Partition Number (1-4): <tt>'''1'''</tt> | |||
### First cylinder(1-..., default 1): <Enter> | |||
### Last cylinder(1-..., default): <Enter> | |||
### Command (m for help): <tt>'''t'''</tt> | |||
### Hex code (type L to list codes): <tt>'''8e'''</tt> | |||
### Command (m for help): <tt>'''w'''</tt> | |||
# Initialize disk for use by the LVM | |||
#: <tt>'''# pvcreate /dev/<physical_volume#>'''</tt> | |||
# If creating a new volume group | |||
#: <tt>'''# vgcreate <volume_group> /dev/<physical_volume#>'''</tt> | |||
# If adding to an existing volume group | |||
#: <tt>'''# vgextend <volume_group> /dev/<physical_volume#>'''</tt> | |||
== Further Reading == | == Further Reading == | ||
# [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp IBM pSeries and AIX Information Center] | # [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp IBM pSeries and AIX Information Center] | ||
[[Category:AIX]] | |||
[[Category:Linux]] |
Latest revision as of 14:58, 9 March 2022
AIX
Installation of a New Physical Volume
- # diag
- Select: Task Selection
- Select: Hot Plug Task
- Select: SCSI and SCSI Raid Hot Plug Manager
- Select: Attach a Device Attached to an SCSI Hot Swap Enclosure Device
- Select: Slot # of the physical volume you wish to remove
- Follow the on-screen instructions to install the new physical volume
Linux
Installation of a New Physical Volume
- Partitioning the physical volume
- # fdisk /dev/XXX
- Command (m for help): n
- p
- Partition Number (1-4): 1
- First cylinder(1-..., default 1): <Enter>
- Last cylinder(1-..., default): <Enter>
- Command (m for help): t
- Hex code (type L to list codes): 8e
- Command (m for help): w
- # fdisk /dev/XXX
- Initialize disk for use by the LVM
- # pvcreate /dev/<physical_volume#>
- If creating a new volume group
- # vgcreate <volume_group> /dev/<physical_volume#>
- If adding to an existing volume group
- # vgextend <volume_group> /dev/<physical_volume#>