- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disk Structure In LVM
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 07:35 AM
08-26-2008 07:35 AM
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GMAP3147NC
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GMAP3147NC
[rx260-09]/stand
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t1d0s2
iam unable to the find the c#t#d# in ioscan output.
please tel me the commands to findout, in which disk lvm is cionfigured, what is the concept behind this.
explain me in detail
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 07:51 AM
08-26-2008 07:51 AM
Re: Disk Structure In LVM
insf -eC disk
ioscan -fnC disk
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 07:51 AM
08-26-2008 07:51 AM
Re: Disk Structure In LVM
# uname -a
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 08:04 AM
08-26-2008 08:04 AM
Re: Disk Structure In LVM
insf: Installing special files for sdisk instance 0 address 0/0/2/0.0.0.0
insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0
insf: Installing special files for sdisk instance 2 address 0/1/1/0.1.0
insf: Installing special files for sdisk instance 3 address 0/1/1/1.2.0
[rx260-09]/stand
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GMAP3147NC
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GMAP3147NC
[rx260-09]/stand
# uname -a
HP-UX rx260-09 B.11.23 U ia64 2666161903 unlimited-user license
[rx260-09]/stand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 08:13 AM
08-26-2008 08:13 AM
Re: Disk Structure In LVM
idisk /dev/rdsk/c2t1d0s2
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 08:15 AM
08-26-2008 08:15 AM
Re: Disk Structure In LVM
Please run below command
idisk /dev/rdsk/c2t1d0
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 08:23 AM
08-26-2008 08:23 AM
Re: Disk Structure In LVM
for vg00?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 08:28 AM
08-26-2008 08:28 AM
Re: Disk Structure In LVM
# ioscan -fn
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 08:40 AM
08-26-2008 08:40 AM
Re: Disk Structure In LVM
idisk version: 1.32
EFI Primary Header:
Signature = EFI PART
Revision = 0x10000
HeaderSize = 0x5c
HeaderCRC32 = 0x96ff86ee
MyLbaLo = 0x1
MyLbaHi = 0x0
AlternateLbaLo = 0x1117732f
AlternateLbaHi = 0x0
FirstUsableLbaLo = 0x22
FirstUsableLbaHi = 0x0
LastUsableLbaLo = 0x1117730c
LastUsableLbaHi = 0x0
Disk GUID = 0a348b54-731c-11dd-8001-d6217b60e588
PartitionEntryLbaLo = 0x2
PartitionEntryLbaHi = 0x0
NumberOfPartitionEntries = 0xc
SizeOfPartitionEntry = 0x80
PartitionEntryArrayCRC32 = 0xcbf15180
Primary Partition Table (in 512 byte blocks):
Partition 1 (EFI):
Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Unique Partition GUID = 0a348d0c-731c-11dd-8002-d6217b60e588
Starting Lba Lo = 0x22
Starting Lba Hi = 0x0
Ending Lba Lo = 0xfa021
Ending Lba Hi = 0x0
Partition 2 (HP-UX):
Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
Unique Partition GUID = 0a348d2a-731c-11dd-8003-d6217b60e588
Starting Lba Lo = 0xfa022
Starting Lba Hi = 0x0
Ending Lba Lo = 0x110af021
Ending Lba Hi = 0x0
Partition 3 (HPSP):
Partition Type GUID = e2a1e728-32e3-11d6-a682-7b03a0000000
Unique Partition GUID = 0a348d48-731c-11dd-8004-d6217b60e588
Starting Lba Lo = 0x110af022
Starting Lba Hi = 0x0
Ending Lba Lo = 0x11177021
Ending Lba Hi = 0x0
EFI Alternate Header:
Signature = EFI PART
Revision = 0x10000
HeaderSize = 0x5c
HeaderCRC32 = 0xdf65ccdc
MyLbaLo = 0x1117732f
MyLbaHi = 0x0
AlternateLbaLo = 0x1
AlternateLbaHi = 0x0
FirstUsableLbaLo = 0x22
FirstUsableLbaHi = 0x0
LastUsableLbaLo = 0x1117730c
LastUsableLbaHi = 0x0
Disk GUID = 0a348b54-731c-11dd-8001-d6217b60e588
PartitionEntryLbaLo = 0x1117730e
PartitionEntryLbaHi = 0x0
NumberOfPartitionEntries = 0xc
SizeOfPartitionEntry = 0x80
PartitionEntryArrayCRC32 = 0xcbf15180
Alternate Partition Table (in 512 byte blocks):
Partition 1 (EFI):
Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Unique Partition GUID = 0a348d0c-731c-11dd-8002-d6217b60e588
Starting Lba Lo = 0x22
Starting Lba Hi = 0x0
Ending Lba Lo = 0xfa021
Ending Lba Hi = 0x0
Partition 2 (HP-UX):
Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
Unique Partition GUID = 0a348d2a-731c-11dd-8003-d6217b60e588
Starting Lba Lo = 0xfa022
Starting Lba Hi = 0x0
Ending Lba Lo = 0x110af021
Ending Lba Hi = 0x0
Partition 3 (HPSP):
Partition Type GUID = e2a1e728-32e3-11d6-a682-7b03a0000000
Unique Partition GUID = 0a348d48-731c-11dd-8004-d6217b60e588
Starting Lba Lo = 0x110af022
Starting Lba Hi = 0x0
Ending Lba Lo = 0x11177021
Ending Lba Hi = 0x0
Legacy MBR (MBR Signatures in little endian):
MBR Signature = 0xe68a340a
Protective MBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 08:42 AM
08-26-2008 08:42 AM
Re: Disk Structure In LVM
so iam i need of disk path to create the VG's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 09:06 AM
08-26-2008 09:06 AM
SolutionHow to mirror vg00 using LVM on IA with 11.23
DocId: KBRC00014526 Updated: 1/12/06
NOTE: There are differences in procedure between 11.22 and 11.23.
Please refer to KBRC00011156 for B.11.22.
Create the system, OS, and service partitions.
# cat <
> 3
> EFI 500MB
> HPUX 100%
> HPSP 400MB
> EOF
idisk -wf /partitionfile /dev/rdsk/c3t2d0
idisk version: 1.31
********************** WARNING ***********************
If you continue you may destroy all data on this disk.
Do you wish to continue(yes/no)? yes <-- Answer "yes" and not "y"
3. Create device files needed for the new partitions.
# insf -eC disk
4. Verify the partition table.
# idisk /dev/rdsk/c3t2d0
5. Verify that the device files were created properly.
# ioscan -efnC disk --> c3t2d0 is 0/1/1/1.2.0
6. Initialize the efi partition for use.
# efi_fsinit -d /dev/rdsk/c3t2d0s1
7. Populate the /efi/hpux/ directory in the new EFI system partition.
# mkboot -e -l /dev/rdsk/c3t2d0
8. Change the auto file for the mirror to boot without quorum.
NOTE: Using "s1"
# echo "boot vmunix -lq" > /tmp/AUTO.lq
# efi_cp -d /dev/rdsk/c3t2d0s1 /tmp/AUTO.lq /EFI/HPUX/AUTO
Verify the contents of the auto file on the primary and the mirror.
NOTE: Using "s1"
# efi_cp -d /dev/rdsk/c2t1d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.pri
# efi_cp -d /dev/rdsk/c3t2d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.alt
# cat /tmp/AUTO.pri
# cat /tmp/AUTO.alt
10. Add the new partition to vg00.
NOTE: Using "s2"
# pvcreate -fB /dev/rdsk/c3t2d0s2
# vgextend vg00 /dev/dsk/c3t2d0s2
11. Mirror all logical volumes in vg00.
NOTE: Using "s2"
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t2d0s2
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t2d0s2
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t2d0s2
.
.
.
# lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t2d0s2
12. Add the new disk to /stand/bootconf.
NOTE: Using "s2"
# echo "l /dev/dsk/c3t2d0s2" >> /stand/bootconf
13. Verify that the new disk was added to vg00, and the lv's are in sync.
# vgdisplay -v vg00
14. Verify that the BDRA was updated properly. Take note of the HW paths for
step 15.
# lvlnboot -v
15. Add EFI primary and high availability boot path menu entries.
# setboot -p 0/1/1/0.1.0 <-- Set primary disk
# setboot -h 0/1/1/1.2.0 <-- Set mirror disk
# setboot -b on <-- Set autoboot on
16. Verify that the primary and mirror boot paths are configured properly.
# setboot
17. Test the new mirror by booting off of it.
# shutdown -r -y 0
18. Select "HP-UX HA Alternate Boot" to test the mirror.
EFI Boot Manager ver 1.10 [14.61] Firmware ver 2.21 [4334]
Please select a boot option
HP-UX Primary Boot: 0/1/1/0.1.0
HP-UX HA Alternate Boot: 0/1/1/1.2.0
EFI Shell [Built-in]
20. Verify which disk/kernel you booted from.
# grep "Boot device" /var/adm/syslog/syslog.log
vmunix: Boot device's HP-UX HW path is: 0.1.1.1.2.0
21. Remove temporary files.
# rm /tmp/partitionfile /tmp/AUTO*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 09:14 AM
08-26-2008 09:14 AM
Re: Disk Structure In LVM
how to find the disk path steve..
also can i have ur gmail id...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 09:22 AM
08-26-2008 09:22 AM
Re: Disk Structure In LVM
It does not correspond to your environment.
You have to pick the disk you want to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 09:22 AM
08-26-2008 09:22 AM
Re: Disk Structure In LVM
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 09:44 AM
08-26-2008 09:44 AM
Re: Disk Structure In LVM
From when u r facing this device files problem. Have you tried to take an reboot of the server to resolve this problem?
Main problem is that you are not able to see device files. Also for mirroring purpose you can refer the attached docs
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 09:50 AM
08-26-2008 09:50 AM
Re: Disk Structure In LVM
1. ioscan -fnC disk
2. insf -C disk
3. ioscan -fnC disk
Should be able to create device files and would show in ioscan output as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 10:13 AM
08-26-2008 10:13 AM
Re: Disk Structure In LVM
or take an reboot of the server if not tried yet.
Thanks
SKR